File size: 2,937 Bytes
3dc4d37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
language: 
- "en"
pretty_name: "UniMath Dataset"
tags: 
- "theorem-proving"
- "formal-methods"
- "univalent-mathematics"
- "coq"
license: "bsd-2-clause"
task_categories:
- "text-generation"
- "feature-extraction"
- "other"
---

# UniMath Dataset

## Dataset Description
The UniMath Dataset is derived from the UniMath repository, focusing on the formalization of Univalent Mathematics in the Coq proof assistant. This dataset processes .v files from the core mathematical libraries to extract mathematical content in a structured format. This work builds upon the format established by Andreas Florath (@florath) in his Coq Facts, Propositions and Proofs dataset, providing a more focused and structured view of the UniMath library specifically.

### Dataset Structure
The dataset includes the following fields:
- fact: The mathematical statement body
- type: The statement type (Definition/Lemma/Theorem/etc.)
- library: The originating library (Algebra/CategoryTheory/etc.)
- imports: The Require Import statements from the source file
- filename: The source file path within UniMath
- symbolic_name: The identifier of the mathematical object
- __index_level_0__: Sequential index for the dataset

### Example Row
fact: "(X : abmonoid) {L : hrel X} (is : isbinophrel L) (isi : isinvbinophrel L) (isl : isdecrel L) : isdecrel (abgrdiffrel X is)"
type: "Definition"
library: "Algebra"
imports: "Require Import UniMath.MoreFoundations.Orders. Require Import UniMath.MoreFoundations.Subtypes."
filename: "Algebra/AbelianGroups.v"
symbolic_name: "isdecabgrdiffrel"
__index_level_0__: 55

### Source Code
The dataset was generated using a custom Python script that processes core UniMath libraries including Algebra, CategoryTheory, Foundations, and others. The extraction focuses on mathematical content while preserving the structure and relationships between definitions, lemmas, and their source files.

### Coverage
The dataset includes content from the following UniMath libraries:
- Algebra
- Bicategories
- CategoryTheory
- Combinatorics
- Foundations
- HomologicalAlgebra
- Ktheory
- MoreFoundations
- NumberSystems
- OrderTheory
- PAdics
- RealNumbers
- SubstitutionSystems
- Topology

### Usage
This dataset is designed for:
- Formal Methods Research: Analyzing formal proofs and definitions in Univalent Mathematics
- Machine Learning Applications: Training models on formal verification, code completion, and theorem proving tasks
- Educational Purposes: Providing structured examples of UniMath formalizations
- Mathematical Analysis: Studying the structure and patterns in formalized mathematical content

### License
This dataset is distributed under the BSD 2-clause license, aligning with the license of the original UniMath repository.

### Acknowledgments
- Original repository: UniMath (https://github.com/UniMath/UniMath)
- Inspiration: Hugging Face user Andreas Florath (@florath) and his comprehensive Coq dataset