Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PANIC at Lean.MVarId.falseOrByContra Lean.Elab.Tactic.FalseOrByContra:58:44: expected one sugoal [sic] #4985

Closed
3 tasks done
eric-wieser opened this issue Aug 11, 2024 · 0 comments · Fixed by #5157
Closed
3 tasks done
Labels
bug Something isn't working P-high We will work on this issue

Comments

@eric-wieser
Copy link
Contributor

eric-wieser commented Aug 11, 2024

Prerequisites

Please put an X between the brackets as you perform the following steps:

Description

The false_or_by_contra tactic panics on some inputs

Steps to Reproduce

  1. 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.

@eric-wieser eric-wieser added the bug Something isn't working label Aug 11, 2024
@eric-wieser 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
@leanprover-bot leanprover-bot added the P-high We will work on this issue label Aug 16, 2024
leodemoura added a commit that referenced this issue Aug 26, 2024
github-merge-queue bot pushed a commit that referenced this issue Aug 26, 2024
tobiasgrosser pushed a commit to opencompl/lean4 that referenced this issue Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P-high We will work on this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants