lean4-htt/tests/lean/run/grind_proof_perf_issue.lean
Leonardo de Moura 2c45d55683
fix: deep recursion type checking grind proof (#11061)
This PR fixes a deep recursion issue in the kernel when type-checking a
proof term produced by `grind`.

Closes #11059
2025-11-02 19:43:48 +00:00

6 lines
219 B
Text

example {n : Nat} (hn : 500000 ≤ n) (hn' : n ≤ 2000000) : n - 500000 ≥ 1500001 → False := by
grind
example {n : Nat} (hn : 57343 < n) (hn' : n < 1114112) :
n - (57343 + 1) < 1114111 - 57343 := by
grind