lean2/tests/lean/tst15.lean
Leonardo de Moura 51640ecff8 Move files in examples directory to tests directory. They are not real examples
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-08-31 19:16:30 -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