lean4-htt/tests/lean/973b.lean
2023-08-16 10:14:23 -07:00

11 lines
305 B
Text

opaque f : Nat → Nat
opaque q : Nat → (Nat → Prop) → Nat
@[simp]
theorem ex {x : Nat} {p : Nat → Prop} (h₁ : p x) (h₂ : q x p = x) : f x = x :=
sorry
set_option trace.Meta.Tactic.simp.discharge true
theorem foo : f (f x) = x := by
simp (config := { failIfUnchanged := false })
sorry