This PR adds support to `grind` for detecting unsatisfiable commutative ring equations when the ring characteristic is known. Examples: ```lean example (x : Int) : (x + 1)*(x - 1) = x^2 → False := by grind +ring example (x y : Int) : (x + 1)*(x - 1)*y + y = y*x^2 + 1 → False := by grind +ring example (x : UInt8) : (x + 1)*(x - 1) = x^2 → False := by grind +ring example (x y : BitVec 8) : (x + 1)*(x - 1)*y + y = y*x^2 + 1 → False := by grind +ring ``` |
||
|---|---|---|
| .. | ||
| bench | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lean | ||
| pkg | ||
| playground | ||
| plugin | ||
| simpperf | ||
| .gitignore | ||
| common.sh | ||
| lean-toolchain | ||