Skip to content

Commit c0333ea

Browse files
committed
test:
1 parent 8502cbe commit c0333ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/lean/run/grind_finish_trace.lean

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,9 @@ info: Try this:
156156
example (f : Int → Int → Int) (x y : Int)
157157
: 0 ≤ x → x ≠ 0 → x ≤ 1 → f x y = 2 → f 1 y = 2 := by
158158
grind => finish?
159+
160+
example (f : Int → Int → Int) (x y : Int)
161+
: 0 ≤ x → x ≠ 0 → x ≤ 1 → f x y = 2 → f 1 y = 2 := by
162+
grind =>
163+
-- We can use `have` to golf proofs using `mbtc` and `cases`
164+
have : x = 1

0 commit comments

Comments
 (0)