lean4-htt/tests/lean/run/renameSelf.lean
jrr6 62f14514da
refactor: update built-in tactic error messages (#9633)
This PR updates various error messages produced by or associated with
built-in tactics and adapts their formatting to current conventions.
2025-07-31 14:16:57 +00:00

11 lines
207 B
Text

variable {P Q : Prop}
/--
error: Failed to find a hypothesis with type
P ↔ Q
-/
#guard_msgs in
example : P ↔ Q := by
rename P ↔ Q => goal
obtain ⟨hpq, hqp⟩ := goal
constructor <;> trivial