phanerozoic commited on
Commit
0a381a3
·
verified ·
1 Parent(s): 2711343

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +79 -27
README.md CHANGED
@@ -1,29 +1,81 @@
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
- - name: docstring
17
- dtype: string
18
- splits:
19
- - name: train
20
- num_bytes: 182191388
21
- num_examples: 313299
22
- download_size: 45733000
23
- dataset_size: 182191388
24
- configs:
25
- - config_name: default
26
- data_files:
27
- - split: train
28
- path: data/train-*
29
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: bsd-3-clause
3
+ task_categories:
4
+ - text-generation
5
+ - feature-extraction
6
+ language:
7
+ - en
8
+ tags:
9
+ - theorem-proving
10
+ - formal-methods
11
+ - isabelle
12
+ - archive-of-formal-proofs
13
+ - hol
14
+ size_categories:
15
+ - 100K<n<1M
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  ---
17
+
18
+ # Isabelle-AFP
19
+
20
+ Structured dataset from the Isabelle Archive of Formal Proofs (AFP) - the largest repository of formal proofs in Isabelle/HOL.
21
+
22
+ ## Dataset Description
23
+
24
+ - **Source:** [isabelle-prover/mirror-afp-2024](https://github.com/isabelle-prover/mirror-afp-2024)
25
+ - **Entries:** 313,299
26
+ - **Files processed:** 9,105
27
+ - **AFP entries (projects):** 888
28
+ - **License:** BSD-3-Clause
29
+
30
+ ## Schema
31
+
32
+ | Column | Type | Description |
33
+ |--------|------|-------------|
34
+ | fact | string | Declaration body |
35
+ | type | string | lemma, definition, theorem, fun, locale, datatype, etc. |
36
+ | library | string | AFP entry name (project) |
37
+ | imports | list | Theory imports |
38
+ | filename | string | Source file path |
39
+ | symbolic_name | string | Declaration identifier |
40
+ | docstring | string | Documentation (20% coverage) |
41
+
42
+ ## Statistics
43
+
44
+ ### By Type (Top 15)
45
+ | Type | Count |
46
+ |------|-------|
47
+ | lemma | 228,980 |
48
+ | definition | 35,811 |
49
+ | fun | 10,758 |
50
+ | abbreviation | 6,005 |
51
+ | theorem | 5,892 |
52
+ | locale | 5,773 |
53
+ | corollary | 3,185 |
54
+ | type_synonym | 2,369 |
55
+ | primrec | 2,111 |
56
+ | instance | 2,087 |
57
+ | instantiation | 1,743 |
58
+ | datatype | 1,527 |
59
+ | class | 1,491 |
60
+ | inductive | 1,317 |
61
+ | proposition | 922 |
62
+
63
+ ### Top AFP Entries
64
+ | Entry | Count |
65
+ |-------|-------|
66
+ | Crypto_Standards | 10,367 |
67
+ | AutoCorres2 | 8,760 |
68
+ | JinjaThreads | 4,937 |
69
+ | Cook_Levin | 3,008 |
70
+ | ConcurrentHOL | 2,989 |
71
+
72
+ ## About AFP
73
+
74
+ The Archive of Formal Proofs is a collection of proof libraries for Isabelle/HOL, maintained by the Isabelle community. It contains formalized mathematics, verified algorithms, and program verification.
75
+
76
+ ## Use Cases
77
+
78
+ - Retrieval/RAG for Isabelle/HOL
79
+ - Training embeddings for formal proofs
80
+ - Cross-prover research (compare with Coq, Lean, Agda)
81
+ - Verified software research