You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The false_or_by_contra tactic panics on some inputs
Steps to Reproduce
example : id (False → Nat) := by false_or_by_contra
Expected behavior: Either the tactic succeeds or it fails
Actual behavior:PANIC at Lean.MVarId.falseOrByContra Lean.Elab.Tactic.FalseOrByContra:58:44: expected one sugoal. Additionally, the infoview shows [error when printing message: unknown goal [anonymous]].
Versions
4.11.0-rc1
Additional Information
Note the web editor does not show panics.
The typo in the PR description is in the error message itself; and so this is not quite the same bug as #4984
eric-wieser
changed the title
PANIC at Lean.MVarId.falseOrByContra Lean.Elab.Tactic.FalseOrByContra:58:44: expected one sugoal
PANIC at Lean.MVarId.falseOrByContra Lean.Elab.Tactic.FalseOrByContra:58:44: expected one sugoal [sic]
Aug 11, 2024
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
The
false_or_by_contra
tactic panics on some inputsSteps to Reproduce
example : id (False → Nat) := by false_or_by_contra
Expected behavior: Either the tactic succeeds or it fails
Actual behavior:
PANIC at Lean.MVarId.falseOrByContra Lean.Elab.Tactic.FalseOrByContra:58:44: expected one sugoal
. Additionally, the infoview shows[error when printing message: unknown goal [anonymous]]
.Versions
4.11.0-rc1
Additional Information
Note the web editor does not show panics.
The typo in the PR description is in the error message itself; and so this is not quite the same bug as #4984
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: