lean4-htt/tests/lean/grind/algebra
Leonardo de Moura a31eb94e5a
feat: normalize NatModule equations (#10281)
This PR implements `NatModule` normalization when the `AddRightCancel`
instance is not available. Note that in this case, the embedding into
`IntModule` is not injective. Therefore, we use a custom normalizer,
similar to the `CommSemiring` normalizer used in the `grind ring`
module. Example:

```lean
open Lean Grind
example [NatModule α] (a b c : α)
    : 2•a + 2•(b + 2•c) + 3•a = 4•a + c + 2•b + 3•c + a := by
  grind
```
2025-09-07 00:20:10 +00:00
..
exponents.lean chore: review of failing grind tests (#10166) 2025-08-28 05:24:31 +00:00
linarith_field.lean chore: review of failing grind tests (#10166) 2025-08-28 05:24:31 +00:00
nat_mod.lean fix: refactor grind's module/ring design to avoid a diamond (#9168) 2025-07-03 06:50:46 +00:00
nat_semiring.lean chore: review of failing grind tests (#10166) 2025-08-28 05:24:31 +00:00
nlinarith.lean chore: review of failing grind tests (#10166) 2025-08-28 05:24:31 +00:00
products.lean chore: failing test cases for grind regressions vs omega (#9656) 2025-08-01 02:19:16 +00:00
ring_normalization.lean