lean2/tests/lean/tst15.lean
Leonardo de Moura 9f08156a73 feat(frontends/lean/parser): combine Echo and Show commands into the 'print' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 11:03:35 -08:00

20 lines
477 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)
print (Type U+3)
Check (Type U+3)
Check (Type U ⊔ M)
Check (Type U ⊔ M ⊔ 3)
print (Type U+1 ⊔ M ⊔ 3)
Check (Type U+1 ⊔ M ⊔ 3)
print (Type U) -> (Type 5)
Check (Type U) -> (Type 5)
Check (Type M ⊔ 3) -> (Type U+5)
print (Type M ⊔ 3) -> (Type U) -> (Type 5)
Check (Type M ⊔ 3) -> (Type U) -> (Type 5)
print (Type U)