Datasets:
sample_id int64 1 400k | sequent stringlengths 6 99 | is_provable bool 2
classes | rule stringclasses 12
values | rule_idx int64 -100 10 | pivot int64 -100 9 | target_value float64 0 1 | root_sequent stringlengths 6 99 | trace_step int64 1 1 | total_trace_steps int64 1 1 | input_ids listlengths 5 93 | token_length int64 5 93 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1 | V, A |- (A & V) | true | R_AND | 3 | 0 | 1 | V, A |- (A & V) | 1 | 1 | [
72,
88,
24,
51,
24,
5,
24,
86,
51,
24,
9,
24,
72,
87
] | 14 |
2 | (U | E), (~U & ~E) |- 0 | true | L_OR | 7 | 0 | 1 | (U | E), (~U & ~E) |- 0 | 1 | 1 | [
86,
71,
24,
10,
24,
55,
87,
88,
24,
86,
11,
71,
24,
9,
24,
11,
55,
87,
24,
5,
24,
12
] | 22 |
3 | 0 |- (S | V) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- (S | V) | 1 | 1 | [
12,
24,
5,
24,
86,
69,
24,
10,
24,
72,
87
] | 11 |
4 | Y, R |- (R & Y) | true | R_AND | 3 | 0 | 1 | Y, R |- (R & Y) | 1 | 1 | [
75,
88,
24,
68,
24,
5,
24,
86,
68,
24,
9,
24,
75,
87
] | 14 |
5 | 0 |- (B => C) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- (B => C) | 1 | 1 | [
12,
24,
5,
24,
86,
52,
24,
8,
24,
53,
87
] | 11 |
6 | Y |- Y | true | AXIOM | 0 | 0 | 1 | Y |- Y | 1 | 1 | [
75,
24,
5,
24,
75
] | 5 |
7 | B, S, ((S & B) => Q) |- Q | true | L_IMP | 2 | 2 | 1 | B, S, ((S & B) => Q) |- Q | 1 | 1 | [
52,
88,
24,
69,
88,
24,
86,
86,
69,
24,
9,
24,
52,
87,
24,
8,
24,
67,
87,
24,
5,
24,
67
] | 23 |
8 | W, C |- C | true | AXIOM | 0 | 0 | 1 | W, C |- C | 1 | 1 | [
73,
88,
24,
53,
24,
5,
24,
53
] | 8 |
9 | 0 |- (P | ~P) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- (P | ~P) | 1 | 1 | [
12,
24,
5,
24,
86,
66,
24,
10,
24,
11,
66,
87
] | 12 |
10 | B |- ((B => T) => ~B) | false | UNPROVABLE | -100 | -100 | 0 | B |- ((B => T) => ~B) | 1 | 1 | [
52,
24,
5,
24,
86,
86,
52,
24,
8,
24,
70,
87,
24,
8,
24,
11,
52,
87
] | 18 |
11 | (W => E), (E => U) |- (W => U) | true | R_IMP | 1 | 0 | 1 | (W => E), (E => U) |- (W => U) | 1 | 1 | [
86,
73,
24,
8,
24,
55,
87,
88,
24,
86,
55,
24,
8,
24,
71,
87,
24,
5,
24,
86,
73,
24,
8,
24,
71,
87
] | 26 |
12 | P, Q |- R | false | UNPROVABLE | -100 | -100 | 0 | P, Q |- R | 1 | 1 | [
66,
88,
24,
67,
24,
5,
24,
68
] | 8 |
13 | D, (E | X) |- ~(Q & S) | false | UNPROVABLE | -100 | -100 | 0 | D, (E | X) |- ~(Q & S) | 1 | 1 | [
54,
88,
24,
86,
55,
24,
10,
24,
74,
87,
24,
5,
24,
11,
86,
67,
24,
9,
24,
69,
87
] | 21 |
14 | P, Q |- R | false | UNPROVABLE | -100 | -100 | 0 | P, Q |- R | 1 | 1 | [
66,
88,
24,
67,
24,
5,
24,
68
] | 8 |
15 | A, Y, X |- A | true | AXIOM | 0 | 0 | 1 | A, Y, X |- A | 1 | 1 | [
51,
88,
24,
75,
88,
24,
74,
24,
5,
24,
51
] | 11 |
16 | (P => Q), Q |- P | false | UNPROVABLE | -100 | -100 | 0 | (P => Q), Q |- P | 1 | 1 | [
86,
66,
24,
8,
24,
67,
87,
88,
24,
67,
24,
5,
24,
66
] | 14 |
17 | ~(P | A) |- ~P | true | R_NOT | 8 | 0 | 1 | ~(P | A) |- ~P | 1 | 1 | [
11,
86,
66,
24,
10,
24,
51,
87,
24,
5,
24,
11,
66
] | 13 |
18 | W, W |- ((T | Q) | D) | false | UNPROVABLE | -100 | -100 | 0 | W, W |- ((T | Q) | D) | 1 | 1 | [
73,
88,
24,
73,
24,
5,
24,
86,
86,
70,
24,
10,
24,
67,
87,
24,
10,
24,
54,
87
] | 20 |
19 | ~(~~R => R), ~(~~R => R) |- 0 | true | L_NOT | 9 | 0 | 1 | ~(~~R => R), ~(~~R => R) |- 0 | 1 | 1 | [
11,
86,
11,
11,
68,
24,
8,
24,
68,
87,
88,
24,
11,
86,
11,
11,
68,
24,
8,
24,
68,
87,
24,
5,
24,
12
] | 26 |
20 | Q, C, (Q => Y) |- Y | true | L_IMP | 2 | 2 | 1 | Q, C, (Q => Y) |- Y | 1 | 1 | [
67,
88,
24,
53,
88,
24,
86,
67,
24,
8,
24,
75,
87,
24,
5,
24,
75
] | 17 |
21 | 0 |- ((P => Y) & (S => W)) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- ((P => Y) & (S => W)) | 1 | 1 | [
12,
24,
5,
24,
86,
86,
66,
24,
8,
24,
75,
87,
24,
9,
24,
86,
69,
24,
8,
24,
73,
87,
87
] | 23 |
22 | ((V & S) => X) |- (V => (S => X)) | true | R_IMP | 1 | 0 | 1 | ((V & S) => X) |- (V => (S => X)) | 1 | 1 | [
86,
86,
72,
24,
9,
24,
69,
87,
24,
8,
24,
74,
87,
24,
5,
24,
86,
72,
24,
8,
24,
86,
69,
24,
8,
24,
74,
87,
87
] | 29 |
23 | X, R, T, A, S |- R | true | AXIOM | 0 | 0 | 1 | X, R, T, A, S |- R | 1 | 1 | [
74,
88,
24,
68,
88,
24,
70,
88,
24,
51,
88,
24,
69,
24,
5,
24,
68
] | 17 |
24 | E, ~~~E |- 0 | true | L_NOT | 9 | 1 | 1 | E, ~~~E |- 0 | 1 | 1 | [
55,
88,
24,
11,
11,
11,
55,
24,
5,
24,
12
] | 11 |
25 | (P => Q), Q |- P | false | UNPROVABLE | -100 | -100 | 0 | (P => Q), Q |- P | 1 | 1 | [
86,
66,
24,
8,
24,
67,
87,
88,
24,
67,
24,
5,
24,
66
] | 14 |
26 | S |- S | true | AXIOM | 0 | 0 | 1 | S |- S | 1 | 1 | [
69,
24,
5,
24,
69
] | 5 |
27 | (V => X), ((V & P) | (E | E)), ((D | C) | (Q | E)) |- (B & W) | false | UNPROVABLE | -100 | -100 | 0 | (V => X), ((V & P) | (E | E)), ((D | C) | (Q | E)) |- (B & W) | 1 | 1 | [
86,
72,
24,
8,
24,
74,
87,
88,
24,
86,
86,
72,
24,
9,
24,
66,
87,
24,
10,
24,
86,
55,
24,
10,
24,
55,
87,
87,
88,
24,
86,
86,
54,
24,
10,
24,
53,
87,
24,
10,
24,
86,
67,
24,
10,
24,
55,
87,
87,
24,
5,
24,
86,
5... | 59 |
28 | (Q | V), (~U => (Q => U)) |- R | false | UNPROVABLE | -100 | -100 | 0 | (Q | V), (~U => (Q => U)) |- R | 1 | 1 | [
86,
67,
24,
10,
24,
72,
87,
88,
24,
86,
11,
71,
24,
8,
24,
86,
67,
24,
8,
24,
71,
87,
87,
24,
5,
24,
68
] | 27 |
29 | 0 |- (((P => Q) => P) => P) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- (((P => Q) => P) => P) | 1 | 1 | [
12,
24,
5,
24,
86,
86,
86,
66,
24,
8,
24,
67,
87,
24,
8,
24,
66,
87,
24,
8,
24,
66,
87
] | 23 |
30 | (P => A) |- (~A => ~P) | true | R_IMP | 1 | 0 | 1 | (P => A) |- (~A => ~P) | 1 | 1 | [
86,
66,
24,
8,
24,
51,
87,
24,
5,
24,
86,
11,
51,
24,
8,
24,
11,
66,
87
] | 19 |
31 | P, Y, V |- P | true | AXIOM | 0 | 0 | 1 | P, Y, V |- P | 1 | 1 | [
66,
88,
24,
75,
88,
24,
72,
24,
5,
24,
66
] | 11 |
32 | C |- (~~C => C) | true | R_IMP | 1 | 0 | 1 | C |- (~~C => C) | 1 | 1 | [
53,
24,
5,
24,
86,
11,
11,
53,
24,
8,
24,
53,
87
] | 13 |
33 | B, ~S, S |- X | true | L_NOT | 9 | 1 | 1 | B, ~S, S |- X | 1 | 1 | [
52,
88,
24,
11,
69,
88,
24,
69,
24,
5,
24,
74
] | 12 |
34 | T, E, (~P | (W & R)) |- ~~D | false | UNPROVABLE | -100 | -100 | 0 | T, E, (~P | (W & R)) |- ~~D | 1 | 1 | [
70,
88,
24,
55,
88,
24,
86,
11,
66,
24,
10,
24,
86,
73,
24,
9,
24,
68,
87,
87,
24,
5,
24,
11,
11,
54
] | 26 |
35 | (T => Y), V, T |- Y | true | L_IMP | 2 | 0 | 1 | (T => Y), V, T |- Y | 1 | 1 | [
86,
70,
24,
8,
24,
75,
87,
88,
24,
72,
88,
24,
70,
24,
5,
24,
75
] | 17 |
36 | (P => U), (W | E), A, (W => D), (Q & X), (W & C), ~(E | Q) |- C | true | L_IMP | 2 | 0 | 1 | (P => U), (W | E), A, (W => D), (Q & X), (W & C), ~(E | Q) |- C | 1 | 1 | [
86,
66,
24,
8,
24,
71,
87,
88,
24,
86,
73,
24,
10,
24,
55,
87,
88,
24,
51,
88,
24,
86,
73,
24,
8,
24,
54,
87,
88,
24,
86,
67,
24,
9,
24,
74,
87,
88,
24,
86,
73,
24,
9,
24,
53,
87,
88,
24,
11,
86,
55,
24,
10,
24... | 60 |
37 | (E | D), Y, (~Q => Q) |- (P & T) | false | UNPROVABLE | -100 | -100 | 0 | (E | D), Y, (~Q => Q) |- (P & T) | 1 | 1 | [
86,
55,
24,
10,
24,
54,
87,
88,
24,
75,
88,
24,
86,
11,
67,
24,
8,
24,
67,
87,
24,
5,
24,
86,
66,
24,
9,
24,
70,
87
] | 30 |
38 | 0 |- (P | ~P) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- (P | ~P) | 1 | 1 | [
12,
24,
5,
24,
86,
66,
24,
10,
24,
11,
66,
87
] | 12 |
39 | E, ((P | B) => Y) |- X | false | UNPROVABLE | -100 | -100 | 0 | E, ((P | B) => Y) |- X | 1 | 1 | [
55,
88,
24,
86,
86,
66,
24,
10,
24,
52,
87,
24,
8,
24,
75,
87,
24,
5,
24,
74
] | 20 |
40 | V, P, B |- V | true | AXIOM | 0 | 0 | 1 | V, P, B |- V | 1 | 1 | [
72,
88,
24,
66,
88,
24,
52,
24,
5,
24,
72
] | 11 |
41 | ~R, R |- 0 | true | L_NOT | 9 | 0 | 1 | ~R, R |- 0 | 1 | 1 | [
11,
68,
88,
24,
68,
24,
5,
24,
12
] | 9 |
42 | 0 |- W | false | UNPROVABLE | -100 | -100 | 0 | 0 |- W | 1 | 1 | [
12,
24,
5,
24,
73
] | 5 |
43 | ~~P |- P | false | UNPROVABLE | -100 | -100 | 0 | ~~P |- P | 1 | 1 | [
11,
11,
66,
24,
5,
24,
66
] | 7 |
44 | X |- (C => U) | false | UNPROVABLE | -100 | -100 | 0 | X |- (C => U) | 1 | 1 | [
74,
24,
5,
24,
86,
53,
24,
8,
24,
71,
87
] | 11 |
45 | T, (T => S) |- S | true | L_IMP | 2 | 1 | 1 | T, (T => S) |- S | 1 | 1 | [
70,
88,
24,
86,
70,
24,
8,
24,
69,
87,
24,
5,
24,
69
] | 14 |
46 | ((S | A) & V) |- V | true | L_AND | 4 | 0 | 1 | ((S | A) & V) |- V | 1 | 1 | [
86,
86,
69,
24,
10,
24,
51,
87,
24,
9,
24,
72,
87,
24,
5,
24,
72
] | 17 |
47 | 0 |- ((E & Q) & (A | Q)) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- ((E & Q) & (A | Q)) | 1 | 1 | [
12,
24,
5,
24,
86,
86,
55,
24,
9,
24,
67,
87,
24,
9,
24,
86,
51,
24,
10,
24,
67,
87,
87
] | 23 |
48 | ~V |- (W => (B | U)) | false | UNPROVABLE | -100 | -100 | 0 | ~V |- (W => (B | U)) | 1 | 1 | [
11,
72,
24,
5,
24,
86,
73,
24,
8,
24,
86,
52,
24,
10,
24,
71,
87,
87
] | 18 |
49 | T |- (~A => (U | P)) | false | UNPROVABLE | -100 | -100 | 0 | T |- (~A => (U | P)) | 1 | 1 | [
70,
24,
5,
24,
86,
11,
51,
24,
8,
24,
86,
71,
24,
10,
24,
66,
87,
87
] | 18 |
50 | 0 |- ((E => D) & ~E) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- ((E => D) & ~E) | 1 | 1 | [
12,
24,
5,
24,
86,
86,
55,
24,
8,
24,
54,
87,
24,
9,
24,
11,
55,
87
] | 18 |
51 | ~X, ((D => R) => ~V), (~V & P), V |- 0 | true | L_NOT | 9 | 0 | 1 | ~X, ((D => R) => ~V), (~V & P), V |- 0 | 1 | 1 | [
11,
74,
88,
24,
86,
86,
54,
24,
8,
24,
68,
87,
24,
8,
24,
11,
72,
87,
88,
24,
86,
11,
72,
24,
9,
24,
66,
87,
88,
24,
72,
24,
5,
24,
12
] | 35 |
52 | ~~P |- P | false | UNPROVABLE | -100 | -100 | 0 | ~~P |- P | 1 | 1 | [
11,
11,
66,
24,
5,
24,
66
] | 7 |
53 | V, D |- (C => Y) | false | UNPROVABLE | -100 | -100 | 0 | V, D |- (C => Y) | 1 | 1 | [
72,
88,
24,
54,
24,
5,
24,
86,
53,
24,
8,
24,
75,
87
] | 14 |
54 | C, S |- S | true | AXIOM | 0 | 0 | 1 | C, S |- S | 1 | 1 | [
53,
88,
24,
69,
24,
5,
24,
69
] | 8 |
55 | (X | P), (R | T), T |- ~V | false | UNPROVABLE | -100 | -100 | 0 | (X | P), (R | T), T |- ~V | 1 | 1 | [
86,
74,
24,
10,
24,
66,
87,
88,
24,
86,
68,
24,
10,
24,
70,
87,
88,
24,
70,
24,
5,
24,
11,
72
] | 24 |
56 | ~(S | R) |- (~S & ~R) | true | R_AND | 3 | 0 | 1 | ~(S | R) |- (~S & ~R) | 1 | 1 | [
11,
86,
69,
24,
10,
24,
68,
87,
24,
5,
24,
86,
11,
69,
24,
9,
24,
11,
68,
87
] | 20 |
57 | B |- B | true | AXIOM | 0 | 0 | 1 | B |- B | 1 | 1 | [
52,
24,
5,
24,
52
] | 5 |
58 | W, A |- (T => P) | false | UNPROVABLE | -100 | -100 | 0 | W, A |- (T => P) | 1 | 1 | [
73,
88,
24,
51,
24,
5,
24,
86,
70,
24,
8,
24,
66,
87
] | 14 |
59 | (S => D), Q |- ~C | false | UNPROVABLE | -100 | -100 | 0 | (S => D), Q |- ~C | 1 | 1 | [
86,
69,
24,
8,
24,
54,
87,
88,
24,
67,
24,
5,
24,
11,
53
] | 15 |
60 | ~D, ~E, ((W => V) | (V => P)) |- Q | false | UNPROVABLE | -100 | -100 | 0 | ~D, ~E, ((W => V) | (V => P)) |- Q | 1 | 1 | [
11,
54,
88,
24,
11,
55,
88,
24,
86,
86,
73,
24,
8,
24,
72,
87,
24,
10,
24,
86,
72,
24,
8,
24,
66,
87,
87,
24,
5,
24,
67
] | 31 |
61 | ~U, U |- 0 | true | L_NOT | 9 | 0 | 1 | ~U, U |- 0 | 1 | 1 | [
11,
71,
88,
24,
71,
24,
5,
24,
12
] | 9 |
62 | 0 |- (((P => Q) => P) => P) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- (((P => Q) => P) => P) | 1 | 1 | [
12,
24,
5,
24,
86,
86,
86,
66,
24,
8,
24,
67,
87,
24,
8,
24,
66,
87,
24,
8,
24,
66,
87
] | 23 |
63 | P |- (P | T) | true | R_OR_1 | 5 | 0 | 1 | P |- (P | T) | 1 | 1 | [
66,
24,
5,
24,
86,
66,
24,
10,
24,
70,
87
] | 11 |
64 | U, (~Y & ~U) |- 0 | true | L_AND | 4 | 1 | 1 | U, (~Y & ~U) |- 0 | 1 | 1 | [
71,
88,
24,
86,
11,
75,
24,
9,
24,
11,
71,
87,
24,
5,
24,
12
] | 16 |
65 | (S | (E & U)) |- (S | E) | true | L_OR | 7 | 0 | 1 | (S | (E & U)) |- (S | E) | 1 | 1 | [
86,
69,
24,
10,
24,
86,
55,
24,
9,
24,
71,
87,
87,
24,
5,
24,
86,
69,
24,
10,
24,
55,
87
] | 23 |
66 | (P => Q), Q |- P | false | UNPROVABLE | -100 | -100 | 0 | (P => Q), Q |- P | 1 | 1 | [
86,
66,
24,
8,
24,
67,
87,
88,
24,
67,
24,
5,
24,
66
] | 14 |
67 | P, Q |- R | false | UNPROVABLE | -100 | -100 | 0 | P, Q |- R | 1 | 1 | [
66,
88,
24,
67,
24,
5,
24,
68
] | 8 |
68 | W, X, P, Y, ~Y |- V | true | L_NOT | 9 | 4 | 1 | W, X, P, Y, ~Y |- V | 1 | 1 | [
73,
88,
24,
74,
88,
24,
66,
88,
24,
75,
88,
24,
11,
75,
24,
5,
24,
72
] | 18 |
69 | R, C |- R | true | AXIOM | 0 | 0 | 1 | R, C |- R | 1 | 1 | [
68,
88,
24,
53,
24,
5,
24,
68
] | 8 |
70 | A |- (A | P) | true | R_OR_1 | 5 | 0 | 1 | A |- (A | P) | 1 | 1 | [
51,
24,
5,
24,
86,
51,
24,
10,
24,
66,
87
] | 11 |
71 | P, Q |- R | false | UNPROVABLE | -100 | -100 | 0 | P, Q |- R | 1 | 1 | [
66,
88,
24,
67,
24,
5,
24,
68
] | 8 |
72 | 0 |- P | false | UNPROVABLE | -100 | -100 | 0 | 0 |- P | 1 | 1 | [
12,
24,
5,
24,
66
] | 5 |
73 | (~W & ~A) |- ~(W | A) | true | R_NOT | 8 | 0 | 1 | (~W & ~A) |- ~(W | A) | 1 | 1 | [
86,
11,
73,
24,
9,
24,
11,
51,
87,
24,
5,
24,
11,
86,
73,
24,
10,
24,
51,
87
] | 20 |
74 | ~~C |- (C | U) | false | UNPROVABLE | -100 | -100 | 0 | ~~C |- (C | U) | 1 | 1 | [
11,
11,
53,
24,
5,
24,
86,
53,
24,
10,
24,
71,
87
] | 13 |
75 | W, (S => U), V |- (U & P) | false | UNPROVABLE | -100 | -100 | 0 | W, (S => U), V |- (U & P) | 1 | 1 | [
73,
88,
24,
86,
69,
24,
8,
24,
71,
87,
88,
24,
72,
24,
5,
24,
86,
71,
24,
9,
24,
66,
87
] | 23 |
76 | (A | (X & D)) |- (A | D) | true | L_OR | 7 | 0 | 1 | (A | (X & D)) |- (A | D) | 1 | 1 | [
86,
51,
24,
10,
24,
86,
74,
24,
9,
24,
54,
87,
87,
24,
5,
24,
86,
51,
24,
10,
24,
54,
87
] | 23 |
77 | 0 |- ((T | E) & E) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- ((T | E) & E) | 1 | 1 | [
12,
24,
5,
24,
86,
86,
70,
24,
10,
24,
55,
87,
24,
9,
24,
55,
87
] | 17 |
78 | (P => Q), ~P |- ~Q | false | UNPROVABLE | -100 | -100 | 0 | (P => Q), ~P |- ~Q | 1 | 1 | [
86,
66,
24,
8,
24,
67,
87,
88,
24,
11,
66,
24,
5,
24,
11,
67
] | 16 |
79 | C |- C | true | AXIOM | 0 | 0 | 1 | C |- C | 1 | 1 | [
53,
24,
5,
24,
53
] | 5 |
80 | ~~P |- P | false | UNPROVABLE | -100 | -100 | 0 | ~~P |- P | 1 | 1 | [
11,
11,
66,
24,
5,
24,
66
] | 7 |
81 | ~X |- (R & Q) | false | UNPROVABLE | -100 | -100 | 0 | ~X |- (R & Q) | 1 | 1 | [
11,
74,
24,
5,
24,
86,
68,
24,
9,
24,
67,
87
] | 12 |
82 | B |- B | true | AXIOM | 0 | 0 | 1 | B |- B | 1 | 1 | [
52,
24,
5,
24,
52
] | 5 |
83 | X, U, S, R |- R | true | AXIOM | 0 | 0 | 1 | X, U, S, R |- R | 1 | 1 | [
74,
88,
24,
71,
88,
24,
69,
88,
24,
68,
24,
5,
24,
68
] | 14 |
84 | R, P |- ((P & Q) | (P & R)) | true | R_OR_2 | 6 | 0 | 1 | R, P |- ((P & Q) | (P & R)) | 1 | 1 | [
68,
88,
24,
66,
24,
5,
24,
86,
86,
66,
24,
9,
24,
67,
87,
24,
10,
24,
86,
66,
24,
9,
24,
68,
87,
87
] | 26 |
85 | V, ~(B & B), ~(B & T) |- ((D => E) => ~R) | false | UNPROVABLE | -100 | -100 | 0 | V, ~(B & B), ~(B & T) |- ((D => E) => ~R) | 1 | 1 | [
72,
88,
24,
11,
86,
52,
24,
9,
24,
52,
87,
88,
24,
11,
86,
52,
24,
9,
24,
70,
87,
24,
5,
24,
86,
86,
54,
24,
8,
24,
55,
87,
24,
8,
24,
11,
68,
87
] | 38 |
86 | ~A |- C | false | UNPROVABLE | -100 | -100 | 0 | ~A |- C | 1 | 1 | [
11,
51,
24,
5,
24,
53
] | 6 |
87 | ~~A, (~T & P), ((R => E) => D) |- ((B => V) | (Y | D)) | false | UNPROVABLE | -100 | -100 | 0 | ~~A, (~T & P), ((R => E) => D) |- ((B => V) | (Y | D)) | 1 | 1 | [
11,
11,
51,
88,
24,
86,
11,
70,
24,
9,
24,
66,
87,
88,
24,
86,
86,
68,
24,
8,
24,
55,
87,
24,
8,
24,
54,
87,
24,
5,
24,
86,
86,
52,
24,
8,
24,
72,
87,
24,
10,
24,
86,
75,
24,
10,
24,
54,
87,
87
] | 50 |
88 | B, A, S |- ~W | false | UNPROVABLE | -100 | -100 | 0 | B, A, S |- ~W | 1 | 1 | [
52,
88,
24,
51,
88,
24,
69,
24,
5,
24,
11,
73
] | 12 |
89 | 0 |- ((D => E) | (S & R)) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- ((D => E) | (S & R)) | 1 | 1 | [
12,
24,
5,
24,
86,
86,
54,
24,
8,
24,
55,
87,
24,
10,
24,
86,
69,
24,
9,
24,
68,
87,
87
] | 23 |
90 | P |- P | true | AXIOM | 0 | 0 | 1 | P |- P | 1 | 1 | [
66,
24,
5,
24,
66
] | 5 |
91 | B, ((U => D) => (B & U)) |- ((W & T) | (X & D)) | false | UNPROVABLE | -100 | -100 | 0 | B, ((U => D) => (B & U)) |- ((W & T) | (X & D)) | 1 | 1 | [
52,
88,
24,
86,
86,
71,
24,
8,
24,
54,
87,
24,
8,
24,
86,
52,
24,
9,
24,
71,
87,
87,
24,
5,
24,
86,
86,
73,
24,
9,
24,
70,
87,
24,
10,
24,
86,
74,
24,
9,
24,
54,
87,
87
] | 44 |
92 | (Y | W), Q, ~P |- ~T | false | UNPROVABLE | -100 | -100 | 0 | (Y | W), Q, ~P |- ~T | 1 | 1 | [
86,
75,
24,
10,
24,
73,
87,
88,
24,
67,
88,
24,
11,
66,
24,
5,
24,
11,
70
] | 19 |
93 | (V | (T & S)) |- ((V | T) & (V | S)) | true | R_AND | 3 | 0 | 1 | (V | (T & S)) |- ((V | T) & (V | S)) | 1 | 1 | [
86,
72,
24,
10,
24,
86,
70,
24,
9,
24,
69,
87,
87,
24,
5,
24,
86,
86,
72,
24,
10,
24,
70,
87,
24,
9,
24,
86,
72,
24,
10,
24,
69,
87,
87
] | 35 |
94 | S, W, U |- S | true | AXIOM | 0 | 0 | 1 | S, W, U |- S | 1 | 1 | [
69,
88,
24,
73,
88,
24,
71,
24,
5,
24,
69
] | 11 |
95 | ~(~~Q => Q), ~(~~Q => Q) |- 0 | true | L_NOT | 9 | 0 | 1 | ~(~~Q => Q), ~(~~Q => Q) |- 0 | 1 | 1 | [
11,
86,
11,
11,
67,
24,
8,
24,
67,
87,
88,
24,
11,
86,
11,
11,
67,
24,
8,
24,
67,
87,
24,
5,
24,
12
] | 26 |
96 | (Q => S), T |- Y | false | UNPROVABLE | -100 | -100 | 0 | (Q => S), T |- Y | 1 | 1 | [
86,
67,
24,
8,
24,
69,
87,
88,
24,
70,
24,
5,
24,
75
] | 14 |
97 | P |- P | true | AXIOM | 0 | 0 | 1 | P |- P | 1 | 1 | [
66,
24,
5,
24,
66
] | 5 |
98 | 0 |- (((P => Q) => P) => P) | false | UNPROVABLE | -100 | -100 | 0 | 0 |- (((P => Q) => P) => P) | 1 | 1 | [
12,
24,
5,
24,
86,
86,
86,
66,
24,
8,
24,
67,
87,
24,
8,
24,
66,
87,
24,
8,
24,
66,
87
] | 23 |
99 | ((C => V) & (B => R)), (~D => ~R), (W & (R | T)) |- (Q & Q) | false | UNPROVABLE | -100 | -100 | 0 | ((C => V) & (B => R)), (~D => ~R), (W & (R | T)) |- (Q & Q) | 1 | 1 | [
86,
86,
53,
24,
8,
24,
72,
87,
24,
9,
24,
86,
52,
24,
8,
24,
68,
87,
87,
88,
24,
86,
11,
54,
24,
8,
24,
11,
68,
87,
88,
24,
86,
73,
24,
9,
24,
86,
68,
24,
10,
24,
70,
87,
87,
24,
5,
24,
86,
67,
24,
9,
24,
67,
... | 55 |
100 | (Q | (X & R)) |- (Q | R) | true | L_OR | 7 | 0 | 1 | (Q | (X & R)) |- (Q | R) | 1 | 1 | [
86,
67,
24,
10,
24,
86,
74,
24,
9,
24,
68,
87,
87,
24,
5,
24,
86,
67,
24,
10,
24,
68,
87
] | 23 |
nanoGentzen-v2 Synthetic Deduction Dataset (400k Transitions)
The nanoGentzen-v2 Dataset is a formal synthetic corpus designed to train Policy-Value Transformers for automated theorem proving in Intuitionistic Propositional Logic (LI) using Gentzen Sequent Calculus.
Scaled to 400,000 certified state-action derivation transitions, each record represents a discrete backward proof step along an AND-OR search tree. The dataset provides balanced multi-task supervision for inference rule selection, antecedent premise targeting, and branch provability value estimation.
Code & Generation Pipeline: GitHub - nanoGentzen
Model Checkpoint: Hugging Face - nanoGentzen-v2
Dataset Balance & Key Statistics
The dataset is constructed with a balanced 50/50 binary provability distribution to eliminate value-head bias during proof search:
Provability Target (target_value) |
Class Meaning | Transition Count | Percentage |
|---|---|---|---|
1.0 (True) |
Constructively Provable Subgoal in LI | 200,004 | 50.001% |
0.0 (False) |
Refuted / Unprovable Counter-Model | 199,996 | 49.999% |
| Total | Full Derivation Corpus | 400,000 | 100.0% |
File Formats & Artifacts
| File | Format | Scale / Size | Description |
|---|---|---|---|
gentzen_dataset.pt |
PyTorch Binary | 400,000 rows (~410 MB) | Tensorized training tensors (input_ids, target_rule, target_pivot, target_value). |
gentzen_dataset.jsonl |
JSON Lines | 400,000 transitions (~95 MB) | Complete derivation trace records with AST sequents and token sequences. |
Data Schema & Field Definitions
Each record in gentzen_dataset.jsonl contains structured metadata for backward Gentzen proof step supervision:
{
"sample_id": 10482,
"sequent": "(P => Q), (Q => R) ⟶ (P => R)",
"rule": "R_IMP",
"rule_idx": 1,
"pivot": 0,
"target_value": 1.0,
"root_sequent": "(P => Q), (Q => R) ⟶ (P => R)",
"trace_step": 1,
"total_trace_steps": 5,
"input_ids": [2, 64, 22, 6, 22, 65, 23, 24, 22, 65, 22, 6, 22, 66, 23, 22, 5, 22, 64, 22, 6, 22, 66, 23, 4],
"token_length": 25
}
Field Descriptions:
sample_id(int): Unique sequential index for the derivation transition.sequent(str): The active Gentzen sequent in string notation (Γ ⟶ ΔorGamma |- Delta).rule(str): Target deduction rule to apply (AXIOM,R_IMP,L_IMP,R_AND,L_AND,R_OR_1,R_OR_2,L_OR,R_NOT,L_NOT,L_CONTR).rule_idx(int): Discrete integer class label for the Rule Policy Head (0 to 10;-100for unprovable negative samples).pivot(int): Index of the targeted antecedent premise in Γ (0 to 15;-100if right-side rule or unprovable).target_value(float): Branch provability ground truth in[0.0, 1.0](1.0= provable in LI,0.0= unprovable counter-model or fallacy).root_sequent(str): The top-level goal theorem from which this sub-goal was derived.trace_step(int): Step index along the active backward derivation path.total_trace_steps(int): Total steps required to close the full proof tree.input_ids(List[int]): Tokenized integer sequence mapped viavocab.json(95-token vocabulary).token_length(int): Active sequence length before batch padding.
Action Space & Rule Classification (rule_idx)
rule_idx |
Rule Symbol | Name | Formal Sequent Reduction |
|---|---|---|---|
0 |
AXIOM |
Identity / Ex Falso Axiom | Γ, A ⊢ A or 0, Γ ⊢ Δ |
1 |
R_IMP |
Right Implication (⟶ ⇒) | Γ ⊢ (A ⇒ B) ⟹ A, Γ ⊢ B |
2 |
L_IMP |
Left Implication (⇒ ⟶) | (A ⇒ B), Γ ⊢ Δ ⟹ Γ ⊢ A and B, Γ ⊢ Δ |
3 |
R_AND |
Right Conjunction (⟶ &) | Γ ⊢ (A & B) ⟹ Γ ⊢ A and Γ ⊢ B |
4 |
L_AND |
Left Conjunction (& ⟶) | (A & B), Γ ⊢ Δ ⟹ A, B, Γ ⊢ Δ |
5 |
R_OR_1 |
Right Disjunction 1 (⟶ | ₁) |
6 |
R_OR_2 |
Right Disjunction 2 (⟶ | ₂) |
7 |
L_OR |
Left Disjunction ( | ⟶) |
8 |
R_NOT |
Right Negation (⟶ ~) | Γ ⊢ ~A ⟹ A, Γ ⊢ 0 |
9 |
L_NOT |
Left Negation (~ ⟶) | ~A, Γ ⊢ Δ ⟹ Γ ⊢ A |
10 |
L_CONTR |
Left Contraction (contr ⟶) | Duplicate premise Γ[i] for multi-use reductions |
Generation Methodology & Sampling Distribution
The 400,000 transitions were synthesized using parallel CPU worker pools across three generative distributions:
- Hard Theorem Schemas (35% Distribution Weight):
- Multi-step constructive schemas (Transitivity, Modus Tollens, Constructive De Morgan, Glivenko Double Negation theorems).
- Random Propositional Syntax Trees (50% Distribution Weight):
Recursively sampled propositional trees across depths 1 to 4 with 0 to 6 antecedent premises in Γ.
Solved and certified via deterministic backward Gentzen solver with depth budget ≤ 10.
- Adversarial & Unprovable Counter-Models (15% Distribution Weight):
- 1-token near-miss fallacies (Affirming the Consequent, Denying the Antecedent, broken implication chains) and classical non-theorems (LEM, Peirce's Law).
- Supervised with
target_value = 0.0and masked policy targets (-100) to train value-head pruning.
How to Load the Dataset
1. PyTorch Binary Tensor Loader (.pt)
Directly matches the DataLoader pipeline used during training:
import torch
data = torch.load("gentzen_dataset.pt", weights_only=False)
input_ids = data["input_ids"] # Shape: (400000, 256)
target_rule = data["target_rule"] # Shape: (400000,)
target_pivot = data["target_pivot"] # Shape: (400000,)
target_value = data["target_value"] # Shape: (400000,)
print(f"Loaded {input_ids.shape[0]:,} training steps.")
print("Sample Sequent Tensor:", input_ids[0][:12])
print("Target Rule Label :", target_rule[0].item())
print("Target Value Label :", target_value[0].item())
2. JSON Lines Loader (.jsonl)
import json
samples = []
with open("gentzen_dataset.jsonl", "r", encoding="utf-8") as f:
for line in f:
samples.append(json.loads(line))
print(f"Total parsed records: {len(samples):,}")
print("Transition 0:", samples[0]["sequent"], "⟶ Target Rule:", samples[0]["rule"])
3. Hugging Face Datasets Hub
from datasets import load_dataset
dataset = load_dataset("Sagicc/nanoGentzen-v2", split="train")
print(dataset[0])
License
This dataset is released under the MIT License.
- Downloads last month
- 30