lean2/tests/lean/abst.lean
Leonardo de Moura 1ec8f9d536 feat(kernel): add abstraction (aka function extensionality) axiom
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-01 13:57:14 -08:00

5 lines
173 B
Text

Axiom PlusComm(a b : Int) : a + b == b + a.
Variable a : Int.
Check (Abst (fun x : Int, (PlusComm a x))).
Set pp::implicit true.
Check (Abst (fun x : Int, (PlusComm a x))).