phanerozoic commited on
Commit
bbeab67
·
verified ·
1 Parent(s): 06e384f

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +85 -25
README.md CHANGED
@@ -1,27 +1,87 @@
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: 10138967
19
- num_examples: 19924
20
- download_size: 1831496
21
- dataset_size: 10138967
22
- configs:
23
- - config_name: default
24
- data_files:
25
- - split: train
26
- path: data/train-*
27
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ license_name: cecill-b
4
+ license_link: https://cecill.info/licences/Licence_CeCILL-B_V1-en.html
5
+ task_categories:
6
+ - text-generation
7
+ - feature-extraction
8
+ language:
9
+ - en
10
+ tags:
11
+ - theorem-proving
12
+ - formal-methods
13
+ - coq
14
+ - mathcomp
15
+ - algebra
16
+ - mathematics
17
+ size_categories:
18
+ - 10K<n<100K
 
 
 
 
 
 
 
 
19
  ---
20
+
21
+ # Coq-MathComp
22
+
23
+ Structured dataset from the Mathematical Components library (MathComp) for Coq.
24
+
25
+ ## Dataset Description
26
+
27
+ - **Source:** [math-comp/math-comp](https://github.com/math-comp/math-comp) (v2.5.0)
28
+ - **Entries:** 19,924
29
+ - **Files processed:** 115
30
+ - **License:** CeCILL-B
31
+
32
+ ## Schema
33
+
34
+ | Column | Type | Description |
35
+ |--------|------|-------------|
36
+ | fact | string | Declaration body |
37
+ | type | string | Lemma, Definition, HB.structure, HB.mixin, Canonical, etc. |
38
+ | library | string | Module (algebra, boot, fingroup, character, etc.) |
39
+ | imports | list | Require/Import statements |
40
+ | filename | string | Source file path |
41
+ | symbolic_name | string | Declaration identifier |
42
+
43
+ ## Statistics
44
+
45
+ ### By Type
46
+ | Type | Count |
47
+ |------|-------|
48
+ | Lemma | 14,917 |
49
+ | Definition | 2,850 |
50
+ | Notation | 808 |
51
+ | Canonical | 425 |
52
+ | HB.instance | 247 |
53
+ | Fixpoint | 138 |
54
+ | Coercion | 116 |
55
+ | Variant | 104 |
56
+ | Theorem | 63 |
57
+ | HB.structure | 51 |
58
+ | HB.mixin | 50 |
59
+
60
+ ### By Library
61
+ | Library | Count |
62
+ |---------|-------|
63
+ | algebra | 7,455 |
64
+ | boot | 4,591 |
65
+ | fingroup | 1,995 |
66
+ | character | 1,864 |
67
+ | solvable | 1,747 |
68
+ | order | 1,197 |
69
+ | field | 1,048 |
70
+
71
+ ## About MathComp
72
+
73
+ Mathematical Components is a library of formalized mathematics for Coq, including algebra, number theory, and finite group theory. It uses the SSReflect proof language and Hierarchy Builder (HB) for structure definitions.
74
+
75
+ ## Use Cases
76
+
77
+ - Retrieval/RAG for Coq/MathComp
78
+ - Learning SSReflect patterns
79
+ - Algebraic formalization research
80
+ - Training embeddings for formal proofs
81
+
82
+ ## Related Datasets
83
+
84
+ - [Coq-HoTT](https://huggingface.co/datasets/phanerozoic/Coq-HoTT)
85
+ - [Coq-UniMath](https://huggingface.co/datasets/phanerozoic/Coq-UniMath)
86
+ - [Coq-Stdlib](https://huggingface.co/datasets/phanerozoic/Coq-Stdlib)
87
+ - [Coq-Iris](https://huggingface.co/datasets/phanerozoic/Coq-Iris)