Skip to content

fix: auto-introduce in sym => mode when goal closes during preprocessing#13472

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

fix: auto-introduce in sym => mode when goal closes during preprocessing#13472
leodemoura merged 1 commit into
masterfrom
sym_interact_issue

Conversation

@leodemoura
Copy link
Copy Markdown
Member

This PR fixes a bug in sym => interactive mode where satellite solvers (lia, ring, linarith) would throw an internal error if their automatic intros + assertAll preprocessing step already closed the goal. Previously, evalCheck used liftAction which discarded the closure result, so the subsequent liftGoalM call failed due to the absence of a main goal. liftAction is now split so the caller can distinguish the closed and subgoals cases and skip the solver body when preprocessing already finished the job.

…ssing

This PR fixes a bug in `sym =>` interactive mode where satellite solvers
(`lia`, `ring`, `linarith`) would throw an internal error if their automatic
`intros + assertAll` preprocessing step already closed the goal. Previously,
`evalCheck` used `liftAction` which discarded the closure result, so the
subsequent `liftGoalM` call failed due to the absence of a main goal.
`liftAction` is now split so the caller can distinguish the closed and
subgoals cases and skip the solver body when preprocessing already finished
the job.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@leodemoura leodemoura added the changelog-tactics User facing tactics label Apr 19, 2026
@leodemoura leodemoura requested a review from kim-em as a code owner April 19, 2026 08:21
@leodemoura leodemoura enabled auto-merge April 19, 2026 08:22
@leodemoura leodemoura added this pull request to the merge queue Apr 19, 2026
Merged via the queue into master with commit 2d38a70 Apr 19, 2026
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