lean2/tests/lean/ex3.lean
Leonardo de Moura 8c956280d9 chore(frontends/lean): rename setoption and setopaque commands to set::option and set::opaque
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-06 11:41:03 -08:00

9 lines
No EOL
237 B
Text

variable myeq : Pi (A : Type), A -> A -> Bool
print 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::option lean::pp::implicit true
check true === a