phanerozoic commited on
Commit
eaad322
·
verified ·
1 Parent(s): c204be4

Re-extract: full statement+proof, normalized schema, provenance

Browse files
Files changed (2) hide show
  1. README.md +5 -5
  2. data/train-00000-of-00001.parquet +2 -2
README.md CHANGED
@@ -55,16 +55,16 @@ Declarations from RedPRL, a cubical/computational type theory system.
55
 
56
  | Column | Type | Description |
57
  |--------|------|-------------|
58
- | fact | string | Complete verbatim declaration (keyword, signature, and body/proof) |
59
  | statement | string | Signature with the leading keyword removed (verbatim slice) |
60
- | proof | string | `theorem`/`data`: the `by { .. }.` tactic block; `define`/`tactic`: the `= ..` body |
61
- | type | string | `theorem`, `define`, `tactic`, or `data` |
62
  | symbolic_name | string | Declaration identifier |
63
  | library | string | Sub-library |
64
  | filename | string | Repository-relative source path |
65
  | imports | list[string] | Unused (RedPRL has no import statements); always empty |
66
  | deps | list[string] | Intra-corpus identifiers referenced |
67
- | docstring | string | Unused; always null |
68
  | line_start | int | First source line |
69
  | line_end | int | Last source line |
70
  | has_proof | bool | Whether a proof block was captured |
@@ -90,7 +90,7 @@ Declarations from RedPRL, a cubical/computational type theory system.
90
  ## Example
91
 
92
  ```coq
93
- theorem Test(#l:lvl) : (Category (++#l)) by {
94
  { ob = `(U #l)
95
  , hom = lam ty/a ty/b => `(-> ty/a ty/b)
96
  , idn = lam ty/a x => `x
 
55
 
56
  | Column | Type | Description |
57
  |--------|------|-------------|
58
+ | fact | string | Verbatim declaration with the leading keyword removed: signature and body/proof joined |
59
  | statement | string | Signature with the leading keyword removed (verbatim slice) |
60
+ | proof | string | Verbatim proof/body, empty if none |
61
+ | type | string | Declaration keyword |
62
  | symbolic_name | string | Declaration identifier |
63
  | library | string | Sub-library |
64
  | filename | string | Repository-relative source path |
65
  | imports | list[string] | Unused (RedPRL has no import statements); always empty |
66
  | deps | list[string] | Intra-corpus identifiers referenced |
67
+ | docstring | string | Preceding documentation comment, null if absent |
68
  | line_start | int | First source line |
69
  | line_end | int | Last source line |
70
  | has_proof | bool | Whether a proof block was captured |
 
90
  ## Example
91
 
92
  ```coq
93
+ Test(#l:lvl) : (Category (++#l)) by {
94
  { ob = `(U #l)
95
  , hom = lam ty/a ty/b => `(-> ty/a ty/b)
96
  , idn = lam ty/a x => `x
data/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d5a315aa7079b688ae39de8db9d9f8ec55e92c067ac3105210c75b0ad6155ee7
3
- size 62292
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70556c8aa7e3528b70960a427cd4ce6712f668176c9dc397c55573b3b4db4f6b
3
+ size 62120