Skip to content

Commit 313f3cd

Browse files
committed
chore: move test
1 parent 6e5290c commit 313f3cd

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
-- These are test cases extracted from Mathlib, where `omega` works but `grind` does not (yet!)
22

33
example (n : Int) (n0 : ¬0 ≤ n) (a : Nat) : n ≠ (a : Int) := by grind
4-
5-
-- TODO: add to the library?
6-
attribute [grind] Int.negSucc_eq
7-
8-
example (p : Int) (n : Nat) (hmp : Int.negSucc (n + 1) + 1 = p)
9-
(hnm : Int.negSucc (n + 1 + 1) + 1 = Int.negSucc (n + 1)) : p = Int.negSucc n := by grind

tests/lean/run/grind_cutsat_eq_1.lean

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,7 @@ example (a b : Int) : a = 0 → b = 1 → a + b > 2 → False := by
6969

7070
example (a b c : Int) : a = 0 → a + b > 2 → b = c → 1 = c → False := by
7171
grind
72+
73+
example (p : Int) (n : Nat) (hmp : Int.negSucc (n + 1) + 1 = p)
74+
(hnm : Int.negSucc (n + 1 + 1) + 1 = Int.negSucc (n + 1)) : p = Int.negSucc n := by
75+
grind

0 commit comments

Comments
 (0)