lean4-htt/tests/lean/runTacticMustCatchExceptions.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

45 lines
1.1 KiB
Text

runTacticMustCatchExceptions.lean:2:25-2:28: error: Tactic `rfl` failed: the left-hand side
1
is not definitionally equal to the right-hand side
a + b
a b : Nat
⊢ 1 ≤ a + b
runTacticMustCatchExceptions.lean:3:25-3:28: error: Tactic `rfl` failed: the left-hand side
a + b
is not definitionally equal to the right-hand side
b
a b : Nat
this : 1 ≤ a + b
⊢ a + b ≤ b
runTacticMustCatchExceptions.lean:4:25-4:28: error: Tactic `rfl` failed: the left-hand side
b
is not definitionally equal to the right-hand side
2
a b : Nat
this✝ : 1 ≤ a + b
this : a + b ≤ b
⊢ b ≤ 2
runTacticMustCatchExceptions.lean:9:18-9:21: error: Tactic `rfl` failed: the left-hand side
1
is not definitionally equal to the right-hand side
a + b
a b : Nat
⊢ 1 ≤ a + b
runTacticMustCatchExceptions.lean:10:14-10:17: error: Tactic `rfl` failed: the left-hand side
a + b
is not definitionally equal to the right-hand side
b
a b : Nat
⊢ a + b ≤ b
runTacticMustCatchExceptions.lean:11:14-11:17: error: Tactic `rfl` failed: the left-hand side
b
is not definitionally equal to the right-hand side
2
a b : Nat
⊢ b ≤ 2