lean4-htt/src/Init/Grind/Ring
Leonardo de Moura 8b1d2fc2d5
feat: OfSemiring.toQ unexpander (#9076)
This PR adds an unexpander for `OfSemiring.toQ`. This an auxiliary
function used by the `ring` module in `grind`, but we want to reduce the
clutter in the diagnostic information produced by `grind`. Example:
```
example [CommSemiring α] [AddRightCancel α] [IsCharP α 0] (x y : α)
    : x^2*y = 1 → x*y^2 = y → x + y = 2 → False := by
  grind
```
produces
```
  [ring] Ring `Ring.OfSemiring.Q α` ▼
    [basis] Basis ▼
      [_] ↑x + ↑y + -2 = 0
      [_] ↑y + -1 = 0
```
2025-06-29 11:22:24 +00:00
..
Basic.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Envelope.lean feat: OfSemiring.toQ unexpander (#9076) 2025-06-29 11:22:24 +00:00
Field.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
OfSemiring.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00
Poly.lean feat: use comm ring module to normalize nonlinear polynomials in grind cutsat (#9074) 2025-06-29 11:09:29 +00:00
ToInt.lean feat: make private the default in module (#9044) 2025-06-28 16:30:53 +00:00