Skip to content

Conversation

@leodemoura
Copy link
Member

This PR adds the attribute [grind?]. It is like [grind] but displays inferred E-matching patterns. It is a more convinient than writing. Thanks @kim-em for suggesting this feature.

set_option trace.grind.ematch.pattern true

This PR also improves some tests, and adds helper function ENode.isRoot.

@leodemoura leodemoura added the changelog-language Language features and metaprograms label May 21, 2025
@leodemoura leodemoura enabled auto-merge May 21, 2025 00:06
@leodemoura leodemoura added this pull request to the merge queue May 21, 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 May 21, 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 a9a069a0efb9cedce192ed50fcd9158e778232e9 --onto efe2ab4c04e81fe2a3edcc0d861449490b4431b2. You can force Mathlib CI using the force-mathlib-ci label. (2025-05-21 00:40:01)

Merged via the queue into master with commit c28b052 May 21, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-language Language features and metaprograms 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.

3 participants