This PR fixes a bug where `lia` was incorrectly solving goals involving ordered types like `Rat` that it shouldn't handle. The `lia` tactic is intended for linear integer arithmetic only. The fix adds `order := false` and `funCC := false` to `NoopConfig`, which is the base configuration for `CutsatConfig` (used by `lia`). Closes https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/releases.20of.20new.20Lean.20versions/near/564688881 🤖 Prepared with Claude Code --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
418 B
Text
16 lines
418 B
Text
module
|
||
|
||
example {p q r : String.Pos.Raw} : p < q → q ≤ r → p < r := by
|
||
grind_order
|
||
|
||
example {p q r : String.Pos.Raw} : p < q → q ≤ r → p < r := by
|
||
lia +order
|
||
|
||
example {s : String} {p q r : s.Pos} : p < q → q ≤ r → p < r := by
|
||
lia
|
||
|
||
example {s : String.Slice} {p q r : s.Pos} : p < q → q ≤ r → p < r := by
|
||
lia
|
||
|
||
example {s : String} {p q : s.Pos} : p ≤ q ↔ p = q ∨ p < q := by
|
||
lia
|