Add dataset HOLZero
Browse files- README.md +115 -0
- data/train-00000-of-00001.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
- feature-extraction
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- theorem-proving
|
| 10 |
+
- formal-methods
|
| 11 |
+
- hol-zero
|
| 12 |
+
- higher-order-logic
|
| 13 |
+
size_categories:
|
| 14 |
+
- 10K<n<100K
|
| 15 |
+
dataset_info:
|
| 16 |
+
features:
|
| 17 |
+
- {name: fact, dtype: string}
|
| 18 |
+
- {name: statement, dtype: string}
|
| 19 |
+
- {name: proof, dtype: string}
|
| 20 |
+
- {name: type, dtype: string}
|
| 21 |
+
- {name: kind, dtype: string}
|
| 22 |
+
- {name: symbolic_name, dtype: string}
|
| 23 |
+
- {name: library, dtype: string}
|
| 24 |
+
- {name: filename, dtype: string}
|
| 25 |
+
- {name: imports, list: string}
|
| 26 |
+
- {name: deps, list: string}
|
| 27 |
+
- {name: docstring, dtype: string}
|
| 28 |
+
- {name: line_start, dtype: int64}
|
| 29 |
+
- {name: line_end, dtype: int64}
|
| 30 |
+
- {name: has_proof, dtype: bool}
|
| 31 |
+
- {name: source_url, dtype: string}
|
| 32 |
+
- {name: commit, dtype: string}
|
| 33 |
+
- {name: content_level, dtype: string}
|
| 34 |
+
splits:
|
| 35 |
+
- {name: train, num_examples: 248}
|
| 36 |
+
config_name: default
|
| 37 |
+
configs:
|
| 38 |
+
- config_name: default
|
| 39 |
+
data_files:
|
| 40 |
+
- split: train
|
| 41 |
+
path: data/train-*
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
# HOLZero
|
| 45 |
+
|
| 46 |
+
Declarations from HOL Zero, a minimalist HOL theorem prover by Mark Adams.
|
| 47 |
+
|
| 48 |
+
## Source
|
| 49 |
+
|
| 50 |
+
- Repository: http://www.proof-technologies.com/holzero/
|
| 51 |
+
- Commit: `0.6.3`
|
| 52 |
+
- Files: 39
|
| 53 |
+
- License: other
|
| 54 |
+
|
| 55 |
+
## Schema
|
| 56 |
+
|
| 57 |
+
| Column | Type | Description |
|
| 58 |
+
|--------|------|-------------|
|
| 59 |
+
| fact | string | Verbatim declaration: statement followed by proof where present |
|
| 60 |
+
| statement | string | Verbatim statement (keyword through the closing period) |
|
| 61 |
+
| proof | string | Verbatim proof block (`Proof. ... Qed.`/`Defined.`), empty if none |
|
| 62 |
+
| type | string | Raw declaration keyword |
|
| 63 |
+
| kind | string | Normalized kind |
|
| 64 |
+
| symbolic_name | string | Declaration identifier |
|
| 65 |
+
| library | string | Sub-library |
|
| 66 |
+
| filename | string | Repository-relative source path |
|
| 67 |
+
| imports | list[string] | File-level `Require`/`Import` modules |
|
| 68 |
+
| deps | list[string] | Intra-corpus identifiers referenced |
|
| 69 |
+
| docstring | string | Preceding documentation comment, null if absent |
|
| 70 |
+
| line_start | int | First source line |
|
| 71 |
+
| line_end | int | Last source line |
|
| 72 |
+
| has_proof | bool | Whether a proof block was captured |
|
| 73 |
+
| source_url | string | Upstream repository |
|
| 74 |
+
| commit | string | Upstream commit extracted |
|
| 75 |
+
| content_level | string | `statement+proof` |
|
| 76 |
+
|
| 77 |
+
## Statistics
|
| 78 |
+
|
| 79 |
+
- Entries: 248
|
| 80 |
+
- With proof: 0 (0.0%)
|
| 81 |
+
- With docstring: 0 (0.0%)
|
| 82 |
+
- Libraries: 1
|
| 83 |
+
|
| 84 |
+
### By type
|
| 85 |
+
|
| 86 |
+
| Type | Count |
|
| 87 |
+
|---|---|
|
| 88 |
+
| theorem | 218 |
|
| 89 |
+
| definition | 29 |
|
| 90 |
+
| axiom | 1 |
|
| 91 |
+
|
| 92 |
+
## Example
|
| 93 |
+
|
| 94 |
+
```coq
|
| 95 |
+
false = (!(p:bool). p)
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
- kind: definition | symbolic_name: `false_def` | src/bool.ml:48
|
| 99 |
+
|
| 100 |
+
## Use
|
| 101 |
+
|
| 102 |
+
Statement and proof are available both joined (`fact`) and split (`statement`, `proof`) for
|
| 103 |
+
proof-term modeling, autoformalization, retrieval, and dependency analysis via `deps`.
|
| 104 |
+
|
| 105 |
+
## Citation
|
| 106 |
+
|
| 107 |
+
```bibtex
|
| 108 |
+
@misc{holzero_dataset,
|
| 109 |
+
title = {HOLZero},
|
| 110 |
+
author = {Norton, Charles},
|
| 111 |
+
year = {2026},
|
| 112 |
+
note = {Extracted from http://www.proof-technologies.com/holzero/, commit 0.6.3},
|
| 113 |
+
url = {https://huggingface.co/datasets/phanerozoic/HOLZero}
|
| 114 |
+
}
|
| 115 |
+
```
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa1851a3716b160f49656c0cd82cb4986f038bf6f8a798b625144a57ef3fde0b
|
| 3 |
+
size 17702
|