This PR fixes support for `SMul.smul` in `grind ring`. `SMul.smul` applications are now normalized. Example: ```lean example (x : BitVec 2) : x - 2 • x + x = 0 := by grind ```
14 lines
295 B
Text
14 lines
295 B
Text
example (x : BitVec 2) : x - 2 • x + x = 0 := by
|
|
grind
|
|
|
|
example (x : BitVec 2) : x + (-2) • x + x = 0 := by
|
|
grind
|
|
|
|
example (x : Fin 7) : x + (-2) • x + x = 0 := by
|
|
grind
|
|
|
|
example (x : Int) : x + (-2) • x + x = 0 := by
|
|
grind
|
|
|
|
example (x : Int) : x - 2 • x + x = 0 := by
|
|
grind
|