lean4-htt/tests/lean/run/simpInv.lean
Leonardo de Moura 3b259afaf0 chore: fix tests
2022-06-14 16:43:22 -07:00

15 lines
383 B
Text

opaque g (x y : Nat) : Nat
opaque f (x y : Nat) : Nat
axiom f_def (x y : Nat) : f x y = g x y
axiom f_ax (x : Nat) : f x x = x
theorem ex1 (x : Nat) : g x x = x := by
simp [← f_def, f_ax]
opaque p (x y : Nat) : Prop
opaque q (x y : Nat) : Prop
axiom p_def (x y : Nat) : p x y ↔ q x y
axiom p_ax (x : Nat) : p x x
theorem ex2 (x : Nat) : q x x := by
simp [← p_def, p_ax]