lean2/tests/lean/ex3.lean

9 lines
228 B
Text
Raw Normal View History

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