Skip to content

fix: use cbv in max-step diagnostics#13836

Open
raphael-solace wants to merge 1 commit into
leanprover:masterfrom
raphael-solace:rc/cbv-maxsteps-diagnostic
Open

fix: use cbv in max-step diagnostics#13836
raphael-solace wants to merge 1 commit into
leanprover:masterfrom
raphael-solace:rc/cbv-maxsteps-diagnostic

Conversation

@raphael-solace
Copy link
Copy Markdown

@raphael-solace raphael-solace commented May 25, 2026

This PR reports cbv instead of simp when the cbv evaluator exceeds its maximum step budget.

The symbolic simplifier now has a user-facing diagnostic name in Sym.Simp.Config, defaulting to simp. The cbv and decide_cbv entry points set this name before running the shared simplifier.

The existing cbv_max_steps regression test now expects the cbv diagnostic.

Fixes #13719.

Tests: git diff --check locally. I did not run the Lean test suite locally because this workspace is a shallow sparse checkout without a local Lean toolchain.

@raphael-solace
Copy link
Copy Markdown
Author

I do not have permission to add labels on this repo. This should get \ (or another maintainer-preferred changelog label) to satisfy the PR body check.

@raphael-solace
Copy link
Copy Markdown
Author

Correction: the needed label is changelog-tactics (or another maintainer-preferred changelog label).

@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 25, 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-25 12:38:08)

@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 25, 2026
@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added the builds-mathlib CI has verified that Mathlib builds against this PR label May 25, 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

builds-mathlib CI has verified that Mathlib builds against this PR 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.

Misleading simp mention in cbv error message

2 participants