-
Notifications
You must be signed in to change notification settings - Fork 0
[Merged by Bors] - feat: register mathlib tactics with try? #136
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
Conversation
9d26e23 to
2fbf413
Compare
Register a selection of mathlib finishing tactics with the `try?` tactic: - Common finishing tactics: tauto, aesop, fun_prop - Domain-specific finishing tactics: norm_num, noncomm_ring, field, bound, finiteness, compute_degree, positivity, field_simp These tactics are registered alongside the existing `hint` registrations to make them available to the built-in `try?` tactic in Lean 4.27.0+. 🤖 Prepared with Claude Code
2fbf413 to
3d04a0d
Compare
…ty/mathlib4-nightly-testing into add-try-registrations
|
This PR is now blocked on leanprover/lean4#11547, which fixes the linter errors by marking the auto-generated Once that PR merges and appears in nightly-2025-12-08 (or later), this PR should pass without any changes. |
|
Waiting on #137 to be merged first. Edit: done now. |
|
I'm going to take LGTM from Johan on Zulip as a bors merge |
This PR adds `register_try?_tactic` calls for all finishing tactics currently registered with `register_hint`, which are not already covered by `grind` modules (i.e. I have not registered `linarith` or `ring`), using identical priority values: **Common tactics** (Common.lean): - tauto (priority 500) - aesop (priority 80) - fun_prop (priority 200) **Domain-specific tactics**: - norm_num (1000), noncomm_ring (1000) - field (850), bound (70) - finiteness (1000), compute_degree (1000), positivity (1000), field_simp (1000) 🤖 Prepared with Claude Code
|
This PR was included in a batch that successfully built, but then failed to merge into bump/v4.27.0 (it was a non-fast-forward update). It will be automatically retried. |
This PR adds `register_try?_tactic` calls for all finishing tactics currently registered with `register_hint`, which are not already covered by `grind` modules (i.e. I have not registered `linarith` or `ring`), using identical priority values: **Common tactics** (Common.lean): - tauto (priority 500) - aesop (priority 80) - fun_prop (priority 200) **Domain-specific tactics**: - norm_num (1000), noncomm_ring (1000) - field (850), bound (70) - finiteness (1000), compute_degree (1000), positivity (1000), field_simp (1000) 🤖 Prepared with Claude Code
|
Build failed: |
|
bors merge |
This PR adds `register_try?_tactic` calls for all finishing tactics currently registered with `register_hint`, which are not already covered by `grind` modules (i.e. I have not registered `linarith` or `ring`), using identical priority values: **Common tactics** (Common.lean): - tauto (priority 500) - aesop (priority 80) - fun_prop (priority 200) **Domain-specific tactics**: - norm_num (1000), noncomm_ring (1000) - field (850), bound (70) - finiteness (1000), compute_degree (1000), positivity (1000), field_simp (1000) 🤖 Prepared with Claude Code
|
Pull request successfully merged into bump/v4.27.0. Build succeeded: |
This PR adds
register_try?_tacticcalls for all finishing tactics currently registered withregister_hint, which are not already covered bygrindmodules (i.e. I have not registeredlinarithorring), using identical priority values:Common tactics (Common.lean):
Domain-specific tactics:
🤖 Prepared with Claude Code