lean2/tests/lean/rw_set2.lean
2015-06-01 17:58:24 -07:00

12 lines
209 B
Text

open nat
constant f : nat → nat
constant g : nat → nat
axiom foo : ∀ x, x > 0 → f x = 0 ∧ g x = 1
axiom bla : ∀ x, g x = f x + 1
attribute foo [rewrite]
attribute bla [rewrite]
print [rewrite]