9f08156a73
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
20 lines
477 B
Text
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)
|