Skip to content

Conversation

@leodemoura
Copy link
Member

This PR implements equality propagation for Nat in grind order. grind order supports offset equalities for rings, but it has an adapter for Nat. Example:

example (a b : Nat) (f : Nat → Int) : a ≤ b + 1 → b + 1 ≤ a → f (1 + a) = f (1 + b + 1) := by
  grind -offset -mbtc -lia -linarith (splits := 0)

@leodemoura leodemoura added the changelog-tactics User facing tactics label Nov 1, 2025
@leodemoura leodemoura enabled auto-merge November 1, 2025 15:31
@leodemoura leodemoura added this pull request to the merge queue Nov 1, 2025
Merged via the queue into master with commit e5a6901 Nov 1, 2025
18 of 19 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants