lean2/tests/lean/ex3.lean
Leonardo de Moura a5adddaf14 Add more tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-08-31 18:46:18 -07:00

9 lines
No EOL
228 B
Text

Variable myeq : Pi (A : Type), A -> A -> Bool
Show myeq _ true false
Variable T : Type
Variable a : T
Check myeq _ true a
Variable myeq2 {A:Type} (a b : A) : Bool
Infix 50 === : myeq2
Set lean::pp::implicit true
Check true === a