Skip to content

Conversation

@leodemoura
Copy link
Member

This PR adds the grind option reducible (default: true). When enabled, definitional equality tests expand only declarations marked as @[reducible].
Use grind -reducible to allow expansion of non-reducible declarations during definitional equality tests.
This option affects only definitional equality; the canonicalizer and theorem pattern internalization always unfold reducible declarations regardless of this setting.

This PR adds the `grind` option `reducible` (default: `true`). When
enabled, definitional equality tests expand only declarations marked
as `@[reducible]`.
Use `grind -reducible` to allow expansion of non-reducible
declarations during definitional equality tests.
This option affects only definitional equality; the canonicalizer and
theorem pattern internalization always unfold reducible declarations
regardless of this setting.
@leodemoura leodemoura added the changelog-tactics User facing tactics label Dec 2, 2025
@leodemoura leodemoura requested a review from kim-em as a code owner December 2, 2025 17:57
@leodemoura leodemoura enabled auto-merge December 2, 2025 17:58
@leodemoura leodemoura added this pull request to the merge queue Dec 2, 2025
Merged via the queue into master with commit 9263a6c Dec 2, 2025
19 checks passed
algebraic-dev pushed a commit that referenced this pull request Dec 8, 2025
This PR adds the `grind` option `reducible` (default: `true`). When
enabled, definitional equality tests expand only declarations marked as
`@[reducible]`.
Use `grind -reducible` to allow expansion of non-reducible declarations
during definitional equality tests.
This option affects only definitional equality; the canonicalizer and
theorem pattern internalization always unfold reducible declarations
regardless of this setting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-tactics User facing tactics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants