File size: 11,301 Bytes
4cfed34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a81ff5a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
---
license: apache-2.0
pretty_name: ProofWriter (The Cut)
tags:
- logical-reasoning
- proof-generation
configs:
- config_name: owa-att-noneg-d1
  data_files:
  - split: train
    path: owa-att-noneg-d1/train.parquet
  - split: val
    path: owa-att-noneg-d1/val.parquet
  - split: test
    path: owa-att-noneg-d1/test.parquet
- config_name: owa-att-noneg-d2
  data_files:
  - split: train
    path: owa-att-noneg-d2/train.parquet
  - split: val
    path: owa-att-noneg-d2/val.parquet
  - split: test
    path: owa-att-noneg-d2/test.parquet
- config_name: owa-att-noneg-d3
  data_files:
  - split: train
    path: owa-att-noneg-d3/train.parquet
  - split: val
    path: owa-att-noneg-d3/val.parquet
  - split: test
    path: owa-att-noneg-d3/test.parquet
- config_name: owa-att-noneg-d5
  data_files:
  - split: train
    path: owa-att-noneg-d5/train.parquet
  - split: val
    path: owa-att-noneg-d5/val.parquet
  - split: test
    path: owa-att-noneg-d5/test.parquet
- config_name: owa-att-neg-d1
  data_files:
  - split: train
    path: owa-att-neg-d1/train.parquet
  - split: val
    path: owa-att-neg-d1/val.parquet
  - split: test
    path: owa-att-neg-d1/test.parquet
- config_name: owa-att-neg-d2
  data_files:
  - split: train
    path: owa-att-neg-d2/train.parquet
  - split: val
    path: owa-att-neg-d2/val.parquet
  - split: test
    path: owa-att-neg-d2/test.parquet
- config_name: owa-att-neg-d3
  data_files:
  - split: train
    path: owa-att-neg-d3/train.parquet
  - split: val
    path: owa-att-neg-d3/val.parquet
  - split: test
    path: owa-att-neg-d3/test.parquet
- config_name: owa-att-neg-d5
  data_files:
  - split: train
    path: owa-att-neg-d5/train.parquet
  - split: val
    path: owa-att-neg-d5/val.parquet
  - split: test
    path: owa-att-neg-d5/test.parquet
- config_name: owa-rel-noneg-d1
  data_files:
  - split: train
    path: owa-rel-noneg-d1/train.parquet
  - split: val
    path: owa-rel-noneg-d1/val.parquet
  - split: test
    path: owa-rel-noneg-d1/test.parquet
- config_name: owa-rel-noneg-d2
  data_files:
  - split: train
    path: owa-rel-noneg-d2/train.parquet
  - split: val
    path: owa-rel-noneg-d2/val.parquet
  - split: test
    path: owa-rel-noneg-d2/test.parquet
- config_name: owa-rel-noneg-d3
  data_files:
  - split: train
    path: owa-rel-noneg-d3/train.parquet
  - split: val
    path: owa-rel-noneg-d3/val.parquet
  - split: test
    path: owa-rel-noneg-d3/test.parquet
- config_name: owa-rel-noneg-d5
  data_files:
  - split: train
    path: owa-rel-noneg-d5/train.parquet
  - split: val
    path: owa-rel-noneg-d5/val.parquet
  - split: test
    path: owa-rel-noneg-d5/test.parquet
- config_name: owa-rel-neg-d1
  data_files:
  - split: train
    path: owa-rel-neg-d1/train.parquet
  - split: val
    path: owa-rel-neg-d1/val.parquet
  - split: test
    path: owa-rel-neg-d1/test.parquet
- config_name: owa-rel-neg-d2
  data_files:
  - split: train
    path: owa-rel-neg-d2/train.parquet
  - split: val
    path: owa-rel-neg-d2/val.parquet
  - split: test
    path: owa-rel-neg-d2/test.parquet
- config_name: owa-rel-neg-d3
  data_files:
  - split: train
    path: owa-rel-neg-d3/train.parquet
  - split: val
    path: owa-rel-neg-d3/val.parquet
  - split: test
    path: owa-rel-neg-d3/test.parquet
- config_name: owa-rel-neg-d5
  data_files:
  - split: train
    path: owa-rel-neg-d5/train.parquet
  - split: val
    path: owa-rel-neg-d5/val.parquet
  - split: test
    path: owa-rel-neg-d5/test.parquet
- config_name: cwa-att-noneg-d1
  data_files:
  - split: train
    path: cwa-att-noneg-d1/train.parquet
  - split: val
    path: cwa-att-noneg-d1/val.parquet
  - split: test
    path: cwa-att-noneg-d1/test.parquet
- config_name: cwa-att-noneg-d2
  data_files:
  - split: train
    path: cwa-att-noneg-d2/train.parquet
  - split: val
    path: cwa-att-noneg-d2/val.parquet
  - split: test
    path: cwa-att-noneg-d2/test.parquet
- config_name: cwa-att-noneg-d3
  data_files:
  - split: train
    path: cwa-att-noneg-d3/train.parquet
  - split: val
    path: cwa-att-noneg-d3/val.parquet
  - split: test
    path: cwa-att-noneg-d3/test.parquet
- config_name: cwa-att-noneg-d5
  data_files:
  - split: train
    path: cwa-att-noneg-d5/train.parquet
  - split: val
    path: cwa-att-noneg-d5/val.parquet
  - split: test
    path: cwa-att-noneg-d5/test.parquet
- config_name: cwa-att-neg-d1
  data_files:
  - split: train
    path: cwa-att-neg-d1/train.parquet
  - split: val
    path: cwa-att-neg-d1/val.parquet
  - split: test
    path: cwa-att-neg-d1/test.parquet
- config_name: cwa-att-neg-d2
  data_files:
  - split: train
    path: cwa-att-neg-d2/train.parquet
  - split: val
    path: cwa-att-neg-d2/val.parquet
  - split: test
    path: cwa-att-neg-d2/test.parquet
- config_name: cwa-att-neg-d3
  data_files:
  - split: train
    path: cwa-att-neg-d3/train.parquet
  - split: val
    path: cwa-att-neg-d3/val.parquet
  - split: test
    path: cwa-att-neg-d3/test.parquet
- config_name: cwa-att-neg-d5
  data_files:
  - split: train
    path: cwa-att-neg-d5/train.parquet
  - split: val
    path: cwa-att-neg-d5/val.parquet
  - split: test
    path: cwa-att-neg-d5/test.parquet
- config_name: cwa-rel-noneg-d1
  data_files:
  - split: train
    path: cwa-rel-noneg-d1/train.parquet
  - split: val
    path: cwa-rel-noneg-d1/val.parquet
  - split: test
    path: cwa-rel-noneg-d1/test.parquet
- config_name: cwa-rel-noneg-d2
  data_files:
  - split: train
    path: cwa-rel-noneg-d2/train.parquet
  - split: val
    path: cwa-rel-noneg-d2/val.parquet
  - split: test
    path: cwa-rel-noneg-d2/test.parquet
- config_name: cwa-rel-noneg-d3
  data_files:
  - split: train
    path: cwa-rel-noneg-d3/train.parquet
  - split: val
    path: cwa-rel-noneg-d3/val.parquet
  - split: test
    path: cwa-rel-noneg-d3/test.parquet
- config_name: cwa-rel-noneg-d5
  data_files:
  - split: train
    path: cwa-rel-noneg-d5/train.parquet
  - split: val
    path: cwa-rel-noneg-d5/val.parquet
  - split: test
    path: cwa-rel-noneg-d5/test.parquet
- config_name: cwa-rel-neg-d1
  data_files:
  - split: train
    path: cwa-rel-neg-d1/train.parquet
  - split: val
    path: cwa-rel-neg-d1/val.parquet
  - split: test
    path: cwa-rel-neg-d1/test.parquet
- config_name: cwa-rel-neg-d2
  data_files:
  - split: train
    path: cwa-rel-neg-d2/train.parquet
  - split: val
    path: cwa-rel-neg-d2/val.parquet
  - split: test
    path: cwa-rel-neg-d2/test.parquet
- config_name: cwa-rel-neg-d3
  data_files:
  - split: train
    path: cwa-rel-neg-d3/train.parquet
  - split: val
    path: cwa-rel-neg-d3/val.parquet
  - split: test
    path: cwa-rel-neg-d3/test.parquet
- config_name: cwa-rel-neg-d5
  data_files:
  - split: train
    path: cwa-rel-neg-d5/train.parquet
  - split: val
    path: cwa-rel-neg-d5/val.parquet
  - split: test
    path: cwa-rel-neg-d5/test.parquet
---

# ProofWriter (The Cut)

A **selection** of `proofwriter-mirror`, not a transform of it: every row is a mirror row
restricted to one question, with the same schema and every value verbatim. What this dataset adds
is *which* rows and *in what order*, so a number measured on it can be read.

## What was kept

Of ProofWriter's six question strategies, two — **`proof` and `rconc`** — the only two the whole task ladder
can score, since a `proof` question has a derivation to recover and an `rconc` question's answer
is that none exists.

The other four are dropped, and the reason is measurable. In an open-world, negation-free theory
no negated atom is derivable, so **every** negative-polarity question is unentailed: audited
across all 40 mirror configs, the entailed rate on those rows is `0.000` in all ten `owa-noneg`
ones. Since the three `inv-*` strategies are exactly the negated half of the question set, half of
any raw split is answerable by *"if the statement says «not», answer False"*, with no reasoning at
all. It cannot be balanced away — there is no entailed negative-polarity row to balance against —
so it is trimmed.

`random` goes too: its failure chain is the bare `(FAIL)` at depth 0, a lookup refusal rather than
a search. Dropping it drops depth 0 with it, and with that the corpus's heaviest skew.

## How much, at which depth

Classes are **matched per depth**, so each split is 50 / 50 entailed / unentailed and chance is
exactly 0.5. Depth is first-class on both sides: for an unprovable question ProofWriter's `QDep`
is the depth the *failed* search reached — it equals the `failure.depth` witness on every
unprovable row of all 40 configs — so an `rconc` row at depth *k* demands the same traversal as a
`proof` row at depth *k*.

The corpus thins geometrically with depth, so an untapered split would be three-quarters shallow
and its aggregate would nearly restate depth 1. Allocation walks depths deepest-first: the deepest
cell is taken **whole**, and each shallower one gets **1.5x** its deeper neighbour's realized
count, floored and capped by availability.

The deep end is therefore bounded by the shelf, not by the recipe — on `owa-att-noneg-d5`, `val`
holds 8 pairs at depth 5 against 40 at depth 1. **Read a per-depth result with its n**, and do not
weigh the deepest point like the shallowest.

## Splits, and the order

| split | drawn from | meant for |
|---|---|---|
| `train` | mirror `train` | training |
| `val` | mirror `dev` | the curve during a run |
| `test` | mirror `test` | the reported number, read once |

All three share one allocation: a validation curve measures the training distribution only if both
are drawn from the same one.

**The row order is part of the dataset.** Rows are round-robined over (depth, class), so every
cell contributes once before any contributes twice and the classes stay within one row of each
other at every prefix — which means taking the first N rows is a fair sample at any N. Consumers
that truncate without shuffling (a training run's `num_examples`, say) are why it is published
this way rather than left to chance.

Which rows fill a cell depends on nothing but the corpus's own ids: the least-used theory first,
ties broken by `(theory_id, question_id)`. No seed, and no dependence on row order upstream.

- **Derived from:** `proofwriter-mirror` (itself a typed mirror of AI2's ProofWriter `V2020.12.3`).
- **License:** `apache-2.0`, inherited.
- Not affiliated with or endorsed by AI2; bundled here with attribution.

## Citation

ProofWriter — and the RuleTaker corpora it builds on — are AI2's work. Please cite them:

```bibtex
@inproceedings{tafjord-etal-2021-proofwriter,
    title = "{P}roof{W}riter: Generating Implications, Proofs, and Abductive
             Statements over Natural Language",
    author = "Tafjord, Oyvind and Dalvi, Bhavana and Clark, Peter",
    booktitle = "Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021",
    year = "2021",
    eprint = "2012.13048",
    archivePrefix = "arXiv",
}
```

```bibtex
@inproceedings{clark-etal-2020-transformers,
    title = "Transformers as Soft Reasoners over Language",
    author = "Clark, Peter and Tafjord, Oyvind and Richardson, Kyle",
    booktitle = "Proceedings of the 29th International Joint Conference on
                 Artificial Intelligence (IJCAI-20)",
    year = "2020",
    eprint = "2002.05867",
    archivePrefix = "arXiv",
}
```