Dafny / README.md
phanerozoic's picture
Add placeholder docstring column for schema consistency
e508522 verified
---
license: mit
tags:
- theorem-proving
- formal-methods
- dafny
- verification
- imperative-programming
task_categories:
- text-generation
- feature-extraction
language:
- en
size_categories:
- 1K<n<10K
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
dataset_info:
features:
- name: fact
dtype: string
- name: type
dtype: string
- name: library
dtype: string
- name: imports
list: string
- name: filename
dtype: string
- name: symbolic_name
dtype: string
- name: docstring
dtype: string
splits:
- name: train
num_bytes: 1829470
num_examples: 9572
download_size: 256624
dataset_size: 1829470
---
# Dafny
A structured dataset of functions, lemmas, and predicates from **Dafny**, a verification-aware programming language.
## Source
- **Repository:** https://github.com/dafny-lang/dafny
- **Website:** https://dafny.org
- **License:** MIT
## Statistics
| Property | Value |
|----------|-------|
| **Total Entries** | 9,572 |
| **Functions** | 4,849 |
| **Predicates** | 2,468 |
| **Lemmas** | 2,255 |
| **Source Files** | 2,155 |
## Schema
| Column | Type | Description |
|--------|------|-------------|
| `fact` | string | Declaration signature with specs |
| `type` | string | "function", "predicate", or "lemma" |
| `library` | string | Dafny module/directory |
| `imports` | list[string] | Import statements |
| `filename` | string | Source .dfy file |
| `symbolic_name` | string | Declaration name |
## About Dafny
Dafny combines:
- Imperative programming (methods, loops)
- Functional programming (functions)
- Built-in verification (preconditions, postconditions, loop invariants)
- SMT-based automated proving (Z3)
## Creator
Charles Norton ([phanerozoic](https://huggingface.co/phanerozoic))