We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
IntModule
1 parent f2501be commit b9a0df7Copy full SHA for b9a0df7
tests/lean/run/grind_linarith_2.lean
@@ -76,3 +76,15 @@ set_option trace.grind.linarith.model true in
76
example [CommRing α] [LinearOrder α] [Ring.IsOrdered α] (a b c d : α)
77
: b ≥ 0 → c > b → d > b → a ≠ b + c → a > b + c → a < b + d → False := by
78
grind
79
+
80
+/--
81
+trace: [grind.linarith.model] a := 0
82
+[grind.linarith.model] b := 1
83
+[grind.linarith.model] c := 1
84
+[grind.linarith.model] d := -1
85
+-/
86
+#guard_msgs (drop error, trace) in
87
+set_option trace.grind.linarith.model true in
88
+example [IntModule α] [LinearOrder α] [IntModule.IsOrdered α] (a b c d : α)
89
+ : a ≤ b → a - c ≥ 0 + d → d ≤ 0 → b = c → a ≠ b → False := by
90
+ grind
0 commit comments