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
{{ message }}
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
Reduced the issue to a self-contained, reproducible test case.
Description
Lean lacks a tactic, the analog of Abort in Coq, that gives up on the current proof script and leaves the goal unproved.
Steps to Reproduce
NA
Expected behavior: [What you expect to happen]
NA
Actual behavior: [What actually happens]
NA
Reproduces how often: [What percentage of the time does it reproduce?]
NA
Versions
All
Additional Information
Having an abort tactic would be beneficial for pedagogy using Lean. One could then present attempts at proofs that don't work out. Students could see the evolving tactic state until a dead end is hit, at which point the attempt could be aborted. I'm not sure if there's a technical reason not to include such a tactic in Lean.
The text was updated successfully, but these errors were encountered:
sorry creates a warning and in trust level 0, it creates an error. Additionally, when you use sorry, you can use the definition / lemma after but with abort, the definition / lemma is not available after it is aborted and doesn't produce a warning or error.
Prerequisites
or feature requests.
Description
Lean lacks a tactic, the analog of Abort in Coq, that gives up on the current proof script and leaves the goal unproved.
Steps to Reproduce
NA
Expected behavior: [What you expect to happen]
NA
Actual behavior: [What actually happens]
NA
Reproduces how often: [What percentage of the time does it reproduce?]
NA
Versions
All
Additional Information
Having an abort tactic would be beneficial for pedagogy using Lean. One could then present attempts at proofs that don't work out. Students could see the evolving tactic state until a dead end is hit, at which point the attempt could be aborted. I'm not sure if there's a technical reason not to include such a tactic in Lean.
The text was updated successfully, but these errors were encountered: