lean4-htt/tests
Leonardo de Moura d4b17b9fd2
feat: counterexamples for grind linarith module (#8756)
This PR implements counterexamples for grind linarith. Example:
```lean
example [CommRing α] [LinearOrder α] [Ring.IsOrdered α] (a b c d : α)
    : b ≥ 0 → c > b → d > b → a ≠ b + c → a > b + c → a < b + d →  False := by
  grind
```
produces the counterexample
```
a := 7/2
b := 1
c := 2
d := 3
```

```lean
example [IntModule α] [LinearOrder α] [IntModule.IsOrdered α] (a b c d : α)
    : a ≤ b → a - c ≥ 0 + d → d ≤ 0 → b = c → a ≠ b → False := by
  grind
```
generates the counterexample
```
a := 0
b := 1
c := 1
d := -1
```
2025-06-13 00:21:35 +00:00
..
bench chore: lean --stats gives number of imported bytes (#8725) 2025-06-12 08:29:42 +00:00
compiler fix: remove incorrect strictOr/strictAnd optimizations (#8594) 2025-06-02 16:14:56 +00:00
elabissues
ir
lean feat: counterexamples for grind linarith module (#8756) 2025-06-13 00:21:35 +00:00
pkg feat: explicit defeq attribute (#8419) 2025-06-06 18:40:06 +00:00
playground
plugin
simpperf
.gitignore
common.sh
lean-toolchain