| ---
|
| license: other
|
| task_categories:
|
| - text-generation
|
| - feature-extraction
|
| language:
|
| - en
|
| tags:
|
| - formal-methods
|
| - verification
|
| - boogie
|
| size_categories:
|
| - 10K<n<100K
|
| dataset_info:
|
| features:
|
| - {name: statement, dtype: string}
|
| - {name: proof, dtype: string}
|
| - {name: type, dtype: string}
|
| - {name: symbolic_name, dtype: string}
|
| - {name: library, dtype: string}
|
| - {name: filename, dtype: string}
|
| - {name: imports, list: string}
|
| - {name: deps, list: string}
|
| - {name: docstring, dtype: string}
|
| - {name: source_url, dtype: string}
|
| - {name: commit, dtype: string}
|
| splits:
|
| - {name: train, num_examples: 16204}
|
| config_name: default
|
| configs:
|
| - config_name: default
|
| data_files:
|
| - split: train
|
| path: data/train-*
|
| ---
|
|
|
| # Boogie
|
|
|
| Declarations from Boogie.
|
|
|
| ## Source
|
|
|
| - Repository: https://github.com/boogie-org/boogie
|
| - Commit: `24a23f9041646167445f8871e59e27d633f8642b`
|
| - Files: 757
|
| - License: other
|
|
|
| ## Schema
|
|
|
| | Column | Type | Description |
|
| |--------|------|-------------|
|
| | statement | string | Declaration signature/claim with the leading keyword removed (verbatim slice); the full declaration minus its proof |
|
| | proof | string | Verbatim proof/body, empty if the declaration has none |
|
| | type | string | Declaration keyword |
|
| | symbolic_name | string | Declaration identifier |
|
| | library | string | Sub-library |
|
| | filename | string | Repository-relative source path |
|
| | imports | list[string] | File-level `Require`/`Import` modules |
|
| | deps | list[string] | Intra-corpus identifiers referenced |
|
| | docstring | string | Preceding documentation comment, empty if absent |
|
| | source_url | string | Upstream repository |
|
| | commit | string | Upstream commit extracted |
|
|
|
| ## Statistics
|
|
|
| - Entries: 16,204
|
| - With proof: 4,011 (24.8%)
|
| - With docstring: 0 (0.0%)
|
| - Libraries: 58
|
|
|
| ### By type
|
|
|
| | Type | Count |
|
| |---|---|
|
| | function | 5,608 |
|
| | axiom | 5,270 |
|
| | const | 2,766 |
|
| | procedure | 1,860 |
|
| | implementation | 341 |
|
| | type | 268 |
|
| | datatype | 91 |
|
|
|
| ## Example
|
|
|
| ```
|
| Loop ()
|
| {
|
| var c, i: int;
|
|
|
| start:
|
| c := 0; i := 0;
|
| goto test;
|
|
|
| test:
|
| // if (i < 10);
|
| goto Then, Else;
|
|
|
| Then:
|
| assume (i < 10);
|
| i := i + 1;
|
| goto test;
|
|
|
| Else:
|
| return;
|
| }
|
| ```
|
|
|
| - type: procedure | symbolic_name: `Loop` | Test/aitest0/constants.bpl
|
|
|
| ## Use
|
|
|
| Each declaration is split into a `statement` (signature/claim) and a `proof` (body) that are disjoint
|
| and together form the complete declaration, for proof modeling, autoformalization, retrieval, and
|
| dependency analysis via `deps`.
|
|
|
| ## Citation
|
|
|
| ```bibtex
|
| @misc{boogie_dataset,
|
| title = {Boogie},
|
| author = {Norton, Charles},
|
| year = {2026},
|
| note = {Extracted from https://github.com/boogie-org/boogie, commit 24a23f904164},
|
| url = {https://huggingface.co/datasets/phanerozoic/Boogie}
|
| }
|
| ```
|
| |