lean4-htt/tests/lean/run/rw_set3.lean
2017-03-09 18:41:19 -08:00

14 lines
218 B
Text

open tactic nat
constant f : nat → nat
constant g : nat → nat
axiom foo : ∀ x, f x = 1
axiom bla : ∀ x, f x = 2
attribute [simp] foo
attribute [simp] bla
#print [simp] default
example : f 5 = 2 := by simp