This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- PTS-style First-order dependent types | |
-- usage examples | |
-------------------------------------------------------------------------------- | |
-- λ→ | |
def plus_1_of_nat : Π _ : ℕ, ℕ := λ x : ℕ, x + 1 | |
#check plus_1_of_nat | |
#reduce Π _ : ℕ, ℕ |