lean4-htt/tests/lean/run/blast_ematch_heq4.lean
2016-06-10 18:29:41 -07:00

10 lines
272 B
Text

exit
universe l
constants (A : Type.{l}) (P : A → Prop) (h : Π (a : A), P a → A) (f g : A → A)
constants (p : ∀ a, P a)
axiom h_simp {a : A} : h (f a) (p (f a)) = a
attribute h_simp [simp]
example {a b : A} : g b = f a → h (g b) (p (g b)) = a :=
by inst_simp