Skip to content

fix: isolate postponed in withSynthesize#13876

Draft
Rob23oba wants to merge 4 commits into
leanprover:masterfrom
Rob23oba:with-synthesize-fix
Draft

fix: isolate postponed in withSynthesize#13876
Rob23oba wants to merge 4 commits into
leanprover:masterfrom
Rob23oba:with-synthesize-fix

Conversation

@Rob23oba
Copy link
Copy Markdown
Contributor

This PR fixes withSynthesize to reset the list of postponed universe constraints before running the action k and synthesizeSyntheticMVars. Previously, withSynthesize just ran synthesizeSyntheticMVars with all existing universe constraints, causing failures even when using withSynthesize with a no-op.

Closes #13875.

@github-actions github-actions Bot added the changelog-language Language features and metaprograms label May 28, 2026
@Rob23oba Rob23oba marked this pull request as ready for review May 28, 2026 23:45
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label May 29, 2026
@leanprover-bot
Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2026-05-25 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-manual, reference manual CI should run now. You can force reference manual CI using the force-manual-ci label. (2026-05-29 00:43:38)

@github-actions github-actions Bot added the mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN label May 29, 2026
@Rob23oba Rob23oba marked this pull request as draft May 29, 2026 01:04
@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added the breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan label May 29, 2026
@mathlib-lean-pr-testing
Copy link
Copy Markdown

Mathlib CI status (docs):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan changelog-language Language features and metaprograms mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

withSynthesize tries to solve unrelated universe constraints

2 participants