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