lean2/examples/ex7.lean
Leonardo de Moura ce43c1cbae Fix cup symbol. In Emacs, the unicode characters cup and cap are assigned incorrectly.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-08-18 18:43:31 -07:00

20 lines
426 B
Text

Variable x : Type max u+1+2 m+1 m+2 3
Check x
Variable f : Type u+10 -> Type
Check f
Check f x
Check Type 4
Check x
Check Type max u m
Show Type u+3
Check Type u+3
Check Type u ⊔ m
Check Type u ⊔ m ⊔ 3
Show Type u+1 ⊔ m ⊔ 3
Check Type u+1 ⊔ m ⊔ 3
Show Type u -> Type 5
Check Type u -> Type 5
Check Type m ⊔ 3 -> Type u+5
Show Type m ⊔ 3 -> Type u -> Type 5
Check Type m ⊔ 3 -> Type u -> Type 5
Show Type u