Skip to content

Commit 2bf9130

Browse files
authored
chore: tests for #9206 (#9237)
Add examples in issue #9206 and Zulip thread as tests for `grind`.
1 parent 67d9d9d commit 2bf9130

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/lean/run/grind_cutsat_nat_eq.lean

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,21 @@ set_option trace.grind.cutsat.model true in
121121
example (x y : Nat) : x = y + 3 → y > 0 → False := by
122122
fail_if_success grind
123123
sorry
124+
125+
example (a b : Nat) : a = a + b - b := by
126+
grind
127+
128+
example (a b : Int) : a = a + b - b := by
129+
grind
130+
131+
example (a b : Nat) : a = a + 2^b - 2^b := by
132+
grind
133+
134+
example (a b : Nat) : 2^a = 2^a + b - b := by
135+
grind
136+
137+
example (a b c : Nat) : c^a = c^a + b - b := by
138+
grind
139+
140+
example (n : Nat) : 02 ^ n := by
141+
grind

0 commit comments

Comments
 (0)