2014-01-08 08:38:39 +00:00
|
|
|
variable myeq : forall (A : Type), A -> A -> Bool
|
2014-01-05 19:03:35 +00:00
|
|
|
print myeq _ true false
|
2014-01-05 20:05:08 +00:00
|
|
|
variable T : Type
|
|
|
|
variable a : T
|
|
|
|
check myeq _ true a
|
|
|
|
variable myeq2 {A:Type} (a b : A) : Bool
|
|
|
|
infix 50 === : myeq2
|
2014-01-06 05:45:31 +00:00
|
|
|
set::option lean::pp::implicit true
|
2014-01-05 20:05:08 +00:00
|
|
|
check true === a
|