Skip to content

fix: prune goals assigned by isDefEq in sym => mode#13474

Merged
leodemoura merged 1 commit into
masterfrom
sym_interact_issue_2
Apr 19, 2026
Merged

fix: prune goals assigned by isDefEq in sym => mode#13474
leodemoura merged 1 commit into
masterfrom
sym_interact_issue_2

Conversation

@leodemoura
Copy link
Copy Markdown
Member

This PR fixes a bug in sym => interactive mode where goals whose metavariable was assigned by isDefEq (e.g. via apply Eq.refl) were not pruned. pruneSolvedGoals previously only filtered out goals flagged as inconsistent, so an already-assigned goal would linger as an unsolved goal. It now also removes goals whose metavariable is already assigned.

This PR fixes a bug in `sym =>` interactive mode where goals whose
metavariable was assigned by `isDefEq` (e.g. via `apply Eq.refl`) were
not pruned. `pruneSolvedGoals` previously only filtered out goals
flagged as inconsistent, so an already-assigned goal would linger as an
unsolved goal. It now also removes goals whose metavariable is already
assigned.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@leodemoura leodemoura requested a review from kim-em as a code owner April 19, 2026 11:43
@leodemoura leodemoura added the changelog-tactics User facing tactics label Apr 19, 2026
@leodemoura leodemoura enabled auto-merge April 19, 2026 11:44
@leodemoura leodemoura added this pull request to the merge queue Apr 19, 2026
Merged via the queue into master with commit 439e6a8 Apr 19, 2026
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-tactics User facing tactics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant