lean4-htt/tests/lean/delta.lean.expected.out
jrr6 34bd6e8bfd
feat: improve split error messages (#9424)
This PR improves the error messages produced by the `split` tactic,
including suggesting syntax fixes and related tactics with which it
might be confused.

Note that, to avoid clashing with the new error message styling
conventions used in these messages, this PR also updates the formatting
of the message produced by `throwTacticEx`.

Closes #6224
2025-07-18 22:36:10 +00:00

29 lines
558 B
Text

x y : Nat
h : x + 1 = 0
⊢ False
delta.lean:9:2-9:9: error: Tactic `delta` failed: did not delta reduce [f]
x y : Nat
h : f x = 0
⊢ False
delta.lean:12:2-12:15: error: Tactic `delta` failed: did not delta reduce [f] at h2
x y : Nat
h1 : f x = 0
h2 : 0 = 0
⊢ False
delta.lean:15:2-15:18: error: Tactic `delta` failed: did not delta reduce [f] at h2
x y : Nat
h1 : x + 1 = 0
h2 : 0 = 0
⊢ False
x y : Nat
h1 : x + 1 = 0
h2 : 0 = 0
⊢ False
delta.lean:23:2-23:14: error: Tactic `delta` failed: did not delta reduce [f]
x y : Nat
h2 : 0 = 0
⊢ False