phanerozoic commited on
Commit
251606c
·
verified ·
1 Parent(s): ce396ee

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +57 -25
README.md CHANGED
@@ -1,27 +1,59 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: fact
5
- dtype: string
6
- - name: type
7
- dtype: string
8
- - name: library
9
- dtype: string
10
- - name: imports
11
- list: string
12
- - name: filename
13
- dtype: string
14
- - name: symbolic_name
15
- dtype: string
16
- splits:
17
- - name: train
18
- num_bytes: 1791182
19
- num_examples: 9572
20
- download_size: 256231
21
- dataset_size: 1791182
22
- configs:
23
- - config_name: default
24
- data_files:
25
- - split: train
26
- path: data/train-*
27
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ tags:
4
+ - theorem-proving
5
+ - formal-methods
6
+ - dafny
7
+ - verification
8
+ - imperative-programming
9
+ task_categories:
10
+ - text-generation
11
+ - feature-extraction
12
+ language:
13
+ - en
14
+ size_categories:
15
+ - 1K<n<10K
 
 
 
 
 
 
 
 
 
 
 
16
  ---
17
+
18
+ # Dafny
19
+
20
+ A structured dataset of functions, lemmas, and predicates from **Dafny**, a verification-aware programming language.
21
+
22
+ ## Source
23
+
24
+ - **Repository:** https://github.com/dafny-lang/dafny
25
+ - **Website:** https://dafny.org
26
+ - **License:** MIT
27
+
28
+ ## Statistics
29
+
30
+ | Property | Value |
31
+ |----------|-------|
32
+ | **Total Entries** | 9,572 |
33
+ | **Functions** | 4,849 |
34
+ | **Predicates** | 2,468 |
35
+ | **Lemmas** | 2,255 |
36
+ | **Source Files** | 2,155 |
37
+
38
+ ## Schema
39
+
40
+ | Column | Type | Description |
41
+ |--------|------|-------------|
42
+ | `fact` | string | Declaration signature with specs |
43
+ | `type` | string | "function", "predicate", or "lemma" |
44
+ | `library` | string | Dafny module/directory |
45
+ | `imports` | list[string] | Import statements |
46
+ | `filename` | string | Source .dfy file |
47
+ | `symbolic_name` | string | Declaration name |
48
+
49
+ ## About Dafny
50
+
51
+ Dafny combines:
52
+ - Imperative programming (methods, loops)
53
+ - Functional programming (functions)
54
+ - Built-in verification (preconditions, postconditions, loop invariants)
55
+ - SMT-based automated proving (Z3)
56
+
57
+ ## Creator
58
+
59
+ Charles Norton ([phanerozoic](https://huggingface.co/phanerozoic))