Skip to content

Commit e7f3efd

Browse files
committed
test: non-chrono
1 parent d0d8709 commit e7f3efd

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

tests/lean/run/grind_nochrono.lean

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
set_option grind.warning false
2+
3+
-- In the following test, the first 8 case-splits are irrelevant,
4+
-- and non-choronological backtracking is used to avoid searching
5+
-- (2^8 - 1) irrelevant branches
6+
/--
7+
trace: [grind.split] p8 ∨ q8, generation: 0
8+
[grind.split] p7 ∨ q7, generation: 0
9+
[grind.split] p6 ∨ q6, generation: 0
10+
[grind.split] p5 ∨ q5, generation: 0
11+
[grind.split] p4 ∨ q4, generation: 0
12+
[grind.split] p3 ∨ q3, generation: 0
13+
[grind.split] p2 ∨ q2, generation: 0
14+
[grind.split] p1 ∨ q1, generation: 0
15+
[grind.split] ¬p ∨ ¬q, generation: 0
16+
-/
17+
#guard_msgs (trace) in
18+
set_option trace.grind.split true in
19+
theorem ex
20+
: p ∨ q →
21+
¬ p ∨ q →
22+
p ∨ ¬ q →
23+
¬ p ∨ ¬ q →
24+
p1 ∨ q1 →
25+
p2 ∨ q2 →
26+
p3 ∨ q3 →
27+
p4 ∨ q4 →
28+
p5 ∨ q5 →
29+
p6 ∨ q6 →
30+
p7 ∨ q7 →
31+
p8 ∨ q8 →
32+
False := by
33+
grind (splits := 10)

0 commit comments

Comments
 (0)