Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Twelf

Twelf declarations, each row carrying the statement and, where present, the proof.

Source

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: 21,193
  • With proof: 380 (1.8%)
  • With docstring: 0 (0.0%)
  • Libraries: 66

By type

Type Count
constant 21,193

Example

_ : nd (A imp A)
= (impe
    (impe
        (impi
        ([u:nd (A imp (B imp A) imp A)]
            impi
               ([v:nd (A imp B imp A)]
               impi ([w:nd A] impe (impe u w) (impe v w)))))
        (impi ([u:nd A] impi ([v:nd (B imp A)] u))))
    (impi ([u:nd A] impi ([v:nd B] u)))).
  • type: constant | symbolic_name: _ | examples/handbook/fol.elf

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

@misc{twelf_dataset,
  title  = {Twelf},
  author = {Norton, Charles},
  year   = {2026},
  note   = {Extracted from https://github.com/standardml/twelf, commit b72cc28cd61c},
  url    = {https://huggingface.co/datasets/phanerozoic/Twelf}
}
Downloads last month
9

Collection including phanerozoic/Twelf