lean2/tests/lean/simp33.lean
Leonardo de Moura 0bb8fe75b3 test(tests/lean): new simplifier test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-29 14:21:18 -08:00

9 lines
219 B
Text

import tactic
variable f {A : TypeU} : A → A
axiom Ax1 (a : Bool) : f a = not a
axiom Ax2 (a : Nat) : f a = 0
rewrite_set S
add_rewrite Ax1 Ax2 : S
theorem T1 (a : Nat) : f (f a > 0)
:= by simp S
print environment 1