Initial commit
Browse filesSigned-off-by: Andreas Florath <[email protected]>
- LICENSE +0 -0
- README.md +219 -1
- data/facts.parquet +3 -0
- data/info.parquet +3 -0
- data/props-proofs.parquet +3 -0
LICENSE
DELETED
File without changes
|
README.md
CHANGED
@@ -1,5 +1,223 @@
|
|
1 |
---
|
2 |
license: other
|
3 |
license_name: multiple
|
4 |
-
license_link:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: other
|
3 |
license_name: multiple
|
4 |
+
license_link: data/info.parquet
|
5 |
+
language:
|
6 |
+
- code
|
7 |
+
- coq
|
8 |
+
task_categories:
|
9 |
+
- text-generation
|
10 |
+
tags:
|
11 |
+
- mathematics
|
12 |
+
- formal-proof
|
13 |
+
pretty_name: Coq Facts, Propositions and Proofs
|
14 |
+
size_categories:
|
15 |
+
- 100K<n<1M
|
16 |
+
source_datasets:
|
17 |
+
- https://github.com/coq-community/autosubst.git
|
18 |
+
- https://gitlab.inria.fr/fbesson/itauto.git
|
19 |
+
- https://github.com/coq-community/apery.git
|
20 |
+
- https://github.com/coq-contribs/dep-map.git
|
21 |
+
- https://github.com/coq-community/math-classes.git
|
22 |
+
- https://github.com/coq-contribs/amm11262.git
|
23 |
+
- https://gitlab.inria.fr/flocq/flocq.git
|
24 |
+
- https://github.com/uds-psl/coq-library-undecidability.git
|
25 |
+
- https://github.com/vafeiadis/hahn.git
|
26 |
+
- https://github.com/coq-community/trocq.git
|
27 |
+
- https://github.com/coq-community/tarjan.git
|
28 |
+
- https://github.com/coq-community/generic-environments.git
|
29 |
+
- https://github.com/imdea-software/htt.git
|
30 |
+
- https://gitlab.mpi-sws.org/iris/stdpp.git
|
31 |
+
- https://github.com/coq-contribs/coinductive-reals.git
|
32 |
+
- https://github.com/coq-community/bertrand.git
|
33 |
+
- https://github.com/coq-contribs/hoare-tut.git
|
34 |
+
- https://github.com/coq-contribs/cfgv.git
|
35 |
+
- https://github.com/artagnon/bonak.git
|
36 |
+
- https://github.com/coq-community/coq-ext-lib.git
|
37 |
+
- https://github.com/coq-contribs/checker.git
|
38 |
+
- https://gitlab.inria.fr/coqinterval/interval.git
|
39 |
+
- https://gitlab.inria.fr/gappa/coq.git
|
40 |
+
- https://github.com/imdea-software/fcsl-pcm.git
|
41 |
+
- https://github.com/coq-community/proviola.git
|
42 |
+
- https://gitlab.com/umb-svl/turing.git
|
43 |
+
- https://github.com/damien-pous/relation-algebra.git
|
44 |
+
- https://github.com/coq-community/HighSchoolGeometry.git
|
45 |
+
- https://github.com/coq-community/coqeal.git
|
46 |
+
- https://github.com/coq-community/semantics.git
|
47 |
+
- https://github.com/coq-contribs/algebra.git
|
48 |
+
- https://github.com/coq-contribs/abp.git
|
49 |
+
- https://github.com/coq/coq.git
|
50 |
+
- https://github.com/coq-contribs/demos.git
|
51 |
+
- https://github.com/coq-community/pocklington.git
|
52 |
+
- https://github.com/coq-contribs/cantor.git
|
53 |
+
- https://github.com/coq-community/notation-gallery.git
|
54 |
+
- https://github.com/coq-contribs/ctltctl.git
|
55 |
+
- https://github.com/HoTT/Coq-HoTT.git
|
56 |
+
- https://github.com/coq-community/corn.git
|
57 |
+
- https://github.com/affeldt-aist/monae.git
|
58 |
+
- https://github.com/coq-community/stalmarck.git
|
59 |
+
- https://github.com/coq-community/qarith-stern-brocot.git
|
60 |
+
- https://github.com/coq-contribs/bdds.git
|
61 |
+
- https://github.com/DeepSpec/InteractionTrees.git
|
62 |
+
- https://github.com/coq-community/lemma-overloading.git
|
63 |
+
- https://github.com/coq-community/coq-art.git
|
64 |
+
- https://github.com/coq-community/coq-performance-tests.git
|
65 |
+
- https://github.com/impermeable/coq-waterproof.git
|
66 |
+
- https://github.com/coq-contribs/dblib.git
|
67 |
+
- https://github.com/math-comp/algebra-tactics.git
|
68 |
+
- https://github.com/coq-community/zorns-lemma.git
|
69 |
+
- https://github.com/smtcoq/smtcoq.git
|
70 |
+
- https://gitlab.inria.fr/coquelicot/coquelicot.git
|
71 |
+
- https://github.com/coq-community/sudoku.git
|
72 |
+
- https://github.com/QuickChick/QuickChick.git
|
73 |
+
- https://github.com/coq-contribs/ails.git
|
74 |
+
- https://github.com/math-comp/math-comp.git
|
75 |
+
- https://github.com/plclub/metalib.git
|
76 |
+
- https://github.com/xavierleroy/cdf-mech-sem.git
|
77 |
+
- https://github.com/CertiGraph/CertiGraph.git
|
78 |
+
- https://github.com/math-comp/Coq-Combi.git
|
79 |
+
- https://github.com/coq-contribs/additions.git
|
80 |
+
- https://github.com/coq-community/regexp-Brzozowski.git
|
81 |
+
- https://github.com/math-comp/finmap.git
|
82 |
+
- https://github.com/coq-community/huffman.git
|
83 |
+
- https://github.com/mattam82/Coq-Equations.git
|
84 |
+
- https://github.com/math-comp/multinomials.git
|
85 |
+
- https://github.com/roglo/puiseuxth.git
|
86 |
+
- https://github.com/thery/FlocqLecture.git
|
87 |
+
- https://github.com/math-comp/odd-order.git
|
88 |
+
- https://github.com/uwplse/verdi.git
|
89 |
+
- https://github.com/mit-plv/fiat.git
|
90 |
+
- https://github.com/adampetcher/fcf.git
|
91 |
+
- https://github.com/uncomputable/natural-number-game.git
|
92 |
+
- https://github.com/mit-plv/bbv.git
|
93 |
+
- https://github.com/coq-community/fourcolor.git
|
94 |
+
- https://github.com/coq-community/coqtail-math.git
|
95 |
+
- https://github.com/coq-community/almost-full.git
|
96 |
+
- https://github.com/coq-contribs/dictionaries.git
|
97 |
+
- https://github.com/clarksmr/sf-lectures.git
|
98 |
+
- https://github.com/affeldt-aist/infotheo.git
|
99 |
+
- https://github.com/coq-community/gaia.git
|
100 |
+
- https://github.com/coq-contribs/circuits.git
|
101 |
+
- https://github.com/coq-contribs/coq-in-coq.git
|
102 |
+
- https://github.com/coq-community/hoare-tut.git
|
103 |
+
- https://github.com/thery/minirubik.git
|
104 |
+
- https://github.com/coq-contribs/coinductive-examples.git
|
105 |
+
- https://github.com/coq-community/bits.git
|
106 |
+
- https://github.com/coq-community/graph-theory.git
|
107 |
+
- https://github.com/coq-community/hydra-battles.git
|
108 |
+
- https://github.com/coq-community/coq-100-theorems.git
|
109 |
+
- https://github.com/coq-community/metaprogramming-rosetta-stone.git
|
110 |
+
- https://github.com/coq-community/buchberger.git
|
111 |
+
- https://github.com/math-comp/Abel.git
|
112 |
+
- https://github.com/thery/mathcomp-extra.git
|
113 |
+
- https://github.com/coq-contribs/coalgebras.git
|
114 |
+
- https://github.com/thery/coqprime.git
|
115 |
+
- https://github.com/coq-community/atbr.git
|
116 |
+
- https://github.com/coq-community/bignums.git
|
117 |
+
- https://github.com/coq-community/aac-tactics.git
|
118 |
+
- https://github.com/codyroux/name-the-biggest-number.git
|
119 |
+
- https://github.com/math-comp/trajectories.git
|
120 |
+
- https://github.com/coq-contribs/concat.git
|
121 |
+
- https://github.com/math-comp/real-closed.git
|
122 |
+
- https://github.com/lukaszcz/coqhammer.git
|
123 |
+
- https://github.com/jwiegley/category-theory.git
|
124 |
+
- https://github.com/math-comp/dioid.git
|
125 |
+
- https://github.com/jwiegley/coq-haskell.git
|
126 |
+
- https://github.com/math-comp/analysis.git
|
127 |
+
- https://github.com/coq-community/dblib.git
|
128 |
+
- https://github.com/coq-community/topology.git
|
129 |
+
- https://github.com/coq-contribs/automata.git
|
130 |
+
- https://github.com/coq-community/reglang.git
|
131 |
+
- https://github.com/thery/T2048.git
|
132 |
+
- https://github.com/lthms/FreeSpec.git
|
133 |
+
- https://github.com/charguer/tlc.git
|
134 |
+
- https://github.com/tchajed/coq-record-update.git
|
135 |
+
- https://github.com/coq-contribs/classical-realizability.git
|
136 |
+
- https://github.com/coq-community/comp-dec-modal.git
|
137 |
+
- https://github.com/coq-community/coqoban.git
|
138 |
+
- https://github.com/coq-community/parseque.git
|
139 |
+
- https://github.com/UniMath/UniMath.git
|
140 |
+
- https://github.com/coq-contribs/distributed-reference-counting.git
|
141 |
+
- https://github.com/coq-community/jmlcoq.git
|
142 |
+
- https://github.com/SSProve/ssprove.git
|
143 |
+
- https://github.com/coq-community/chapar.git
|
144 |
+
- https://github.com/coq-community/alea.git
|
145 |
+
- https://github.com/coq-community/paramcoq.git
|
146 |
+
- https://github.com/snu-sf/paco.git
|
147 |
+
- https://github.com/math-comp/mczify.git
|
148 |
+
- https://github.com/ilyasergey/pnp.git
|
149 |
+
- https://github.com/Mtac2/Mtac2.git
|
150 |
+
- https://github.com/Deducteam/coq-hol-light.git
|
151 |
+
- https://github.com/coq-community/coqffi.git
|
152 |
+
- https://github.com/math-comp/tutorial_material.git
|
153 |
+
- https://github.com/GeoCoq/GeoCoq.git
|
154 |
+
- https://github.com/math-comp/bigenough.git
|
155 |
+
- https://github.com/thery/hanoi.git
|
156 |
+
- https://github.com/coq-community/coq-mmaps.git
|
157 |
+
- https://github.com/fblanqui/color.git
|
158 |
+
- https://github.com/Matafou/LibHyps.git
|
159 |
---
|
160 |
+
|
161 |
+
# Dataset Name: Coq Facts, Propositions and Proofs
|
162 |
+
|
163 |
+
## Dataset Description
|
164 |
+
|
165 |
+
The CoqFactsPropsProofs dataset aims to enhance Large Language Models'
|
166 |
+
(LLMs) proficiency in interpreting and generating Coq code by
|
167 |
+
providing a comprehensive collection of over 10,000 Coq source
|
168 |
+
files. It encompasses a wide array of propositions, proofs, and
|
169 |
+
definitions, enriched with metadata including source references and
|
170 |
+
licensing information. This dataset is designed to facilitate the
|
171 |
+
development of models capable of generating syntactically correct and
|
172 |
+
semantically meaningful Coq constructs, thereby advancing automated
|
173 |
+
theorem proving.
|
174 |
+
|
175 |
+
## Composition
|
176 |
+
|
177 |
+
* Files: Over 10,000 Coq source files (`.v` files).
|
178 |
+
* Tables: Three distinct tables: facts (definitions or notations),
|
179 |
+
propositions (theorems and lemmas alongside proofs), and
|
180 |
+
licensing/repository information.
|
181 |
+
* Entries: 103,351 facts and 166,007 propositions with proofs.
|
182 |
+
* Size: Character length ranging from as short as 11 to as long as
|
183 |
+
177,585 characters.
|
184 |
+
* Source and Collection Method: The Coq source files were collected
|
185 |
+
from various internet sources, focusing on repositories pivotal
|
186 |
+
within the Coq community. These sources range from foundational
|
187 |
+
libraries and formalized mathematical theorems to computer science
|
188 |
+
theories and algorithm implementations. The collection process
|
189 |
+
prioritized quality, relevance, and the contribution of each source
|
190 |
+
to the Coq ecosystem.
|
191 |
+
|
192 |
+
## Licenses
|
193 |
+
|
194 |
+
The dataset includes a diverse range of open-source licenses,
|
195 |
+
reflecting the variety in the Coq community and the broader
|
196 |
+
open-source ecosystem. Some of the licenses included are MIT, GPL
|
197 |
+
(versions 2.0 and 3.0), LGPL (versions 2.1 and 3.0), Apache 2.0, BSD
|
198 |
+
(2-Clause and 3-Clause), CECILL (versions 1.0, 2.1, B, C), MPL-2.0,
|
199 |
+
and the UniMath License. Each entry in the dataset links to detailed
|
200 |
+
license information, ensuring compliance and redistribution legality.
|
201 |
+
|
202 |
+
## Usage
|
203 |
+
|
204 |
+
This dataset is provided in three parquet files and can be employed in
|
205 |
+
a variety of ways depending on the use case. An example usage case
|
206 |
+
includes training or fine-tuning models to focus on proofs rather than
|
207 |
+
definitions and notations. The dataset also allows for filtering based
|
208 |
+
on specific licenses using the `info.parquet` file.
|
209 |
+
|
210 |
+
## Experiments and Findings
|
211 |
+
|
212 |
+
Initial experiments with the dataset have demonstrated its potential
|
213 |
+
in improving the accuracy of LLMs in generating Coq code. Fine-tuning
|
214 |
+
an existing base model with this dataset resulted in outputs
|
215 |
+
predominantly in Coq syntax, highlighting the dataset's efficacy in
|
216 |
+
specialized model training for formal theorem proving.
|
217 |
+
|
218 |
+
## Challenges and Limitations
|
219 |
+
|
220 |
+
* High standard deviations in fact, proposition, and proof lengths
|
221 |
+
indicate the presence of outliers with significantly long content.
|
222 |
+
* The complexity of licensing and the manual process of license
|
223 |
+
identification for each repository.
|
data/facts.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a735a66aa39c20f4b6dd1014df97a1f42aa8d560ee5692119cd208e949a73f7a
|
3 |
+
size 3571180
|
data/info.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b543a8c29d6cc328096e73f2b58260c25000deca11c39db07a57f11974b0441e
|
3 |
+
size 305620
|
data/props-proofs.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:722c7c4a0067338c3b6db0823495702e104727744a288e724a22a28c2e343904
|
3 |
+
size 16144619
|