lean4-htt/tests/lean/grind/algebra/nat_module.lean
Leonardo de Moura 2713c846f1
chore: update tests/lean/grind todo folder (#9683)
Remove examples that we have already moved to `tests/lean/run`, and add
notes for possible fixes.
2025-08-02 13:10:34 +00:00

15 lines
370 B
Text

open Lean.Grind
-- We could solve these problems by embedding the NatModule in its Grothendieck completion.
section NatModule
variable (M : Type) [NatModule M] [AddRightCancel M]
example (x y : M) : 2 * x + 3 * y + x = 3 * (x + y) := by grind
variable [LinearOrder M] [OrderedAdd M]
example {x y : M} (h : x ≤ y) : 2 * x + y ≤ 3 * y := by grind
end NatModule