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

No goals after finishing subgoal #6594

Open
3 tasks done
fpvandoorn opened this issue Jan 9, 2025 · 0 comments
Open
3 tasks done

No goals after finishing subgoal #6594

fpvandoorn opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working P-high We will work on this issue

Comments

@fpvandoorn
Copy link
Contributor

fpvandoorn commented Jan 9, 2025

Prerequisites

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

Description

The following examples shows No Goals on the line after finishing the first subgoal.

example : True ∧ True := by
  constructor
  · trivial

--^ the tactic state shows "No goals" anywhere on this line and the previous line
  trivial

example : True ∧ True := by
  apply id
-- correct goal state at the start of this line (unindented)
  constructor
  · trivial
-- "No goals" at the start of this line (unindented)
  trivial

It should show the same goal state as the following examples

example : True ∧ True := by
  constructor
  · trivial

--^ correct goal state

example : True ∧ True := by
  constructor
  · trivial
  trivial
--^ correct goal state

Note: this seems to only affect subgoals that were proven in one line:

example : True ∧ True := by
  constructor
  · apply id
    trivial
  
--^ correct goal-state
  trivial

Related: #2881

Impact

Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.

@fpvandoorn fpvandoorn added the bug Something isn't working label Jan 9, 2025
@leanprover-bot leanprover-bot added the P-high We will work on this issue label Jan 10, 2025
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

No branches or pull requests

2 participants