Skip to content

Conversation

@kim-em
Copy link
Collaborator

@kim-em kim-em commented Dec 11, 2025

This PR fixes grind? to include term parameters (like [show P by tac]) in its suggestions. Previously, these were being dropped because term arguments are stored in extraFacts and not tracked via E-matching like named lemmas.

For example, grind? [show False by exact h] now correctly suggests grind only [show False by exact h] instead of just grind only.

🤖 Prepared with Claude Code

This PR fixes `grind?` to include term parameters (like `[show P by tac]`)
in its suggestions. Previously, these were being dropped because term
arguments are stored in `extraFacts` and not tracked via E-matching like
named lemmas.

For example, `grind? [show False by exact h]` now correctly suggests
`grind only [show False by exact h]` instead of just `grind only`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@kim-em kim-em requested a review from leodemoura as a code owner December 11, 2025 00:55
@kim-em kim-em added the changelog-tactics User facing tactics label Dec 11, 2025
@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 Dec 11, 2025
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 124e34ef5abdeb29ca20ba9ee602568f7c789ff8 --onto 19e1fe55f33a8aadc4243da32828b70a4b4677cc. You can force Mathlib CI using the force-mathlib-ci label. (2025-12-11 01:46:19)

@leanprover-bot
Copy link
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 124e34ef5abdeb29ca20ba9ee602568f7c789ff8 --onto 19e1fe55f33a8aadc4243da32828b70a4b4677cc. You can force reference manual CI using the force-manual-ci label. (2025-12-11 01:46:20)

@kim-em kim-em added this pull request to the merge queue Dec 11, 2025
Merged via the queue into master with commit eee58f4 Dec 11, 2025
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 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.

4 participants