# agda-unimath: 11,582 Univalent Foundations Definitions and Proofs in Agda (agda-unimath, phanerozoic extraction)

## Facts

- Provider: agda-unimath contributors (Rijke et al.); extraction by phanerozoic
- License: MIT (https://github.com/UniMath/agda-unimath/blob/master/LICENSE)
- Size: 3 files
- Format: Parquet (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/phanerozoic/Agda-UniMath
- Access: public, readable without an account
- Category: Mathematics
- Source: https://unimath.github.io/agda-unimath/
- Page: https://scigantic.com/archive/339ada49-1cd2-5483-bb72-61e258a56900
- Keywords: Mathematics, Parquet, Hugging Face

## About

The agda-unimath library of formalized mathematics in univalent foundations and homotopy type theory (HoTT), written in the Agda proof assistant and split into one row per declaration. There are 11,582 entries across 39 libraries, and 9,595 of them carry proofs. The extraction is from upstream commit c85d7fb8 (3,035 source files). Each row gives the statement (signature), the verbatim proof body, the declaration kind, the identifier, the library, the file path, its imports, and the intra-corpus identifiers it uses. Uses include proof modeling and premise selection beyond Lean, comparing formal libraries across proof assistants, and studying how constructive and univalent mathematics is organized. It is one Parquet file; load it with pandas or Hugging Face datasets. The upstream agda-unimath repository is MIT licensed. Credit the agda-unimath contributors (Egbert Rijke et al.).

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("phanerozoic/Agda-UniMath")
print(ds)
```

## Data structure

File types in sampled files: Parquet

Example file: `data/train-00000-of-00001.parquet`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/339ada49-1cd2-5483-bb72-61e258a56900
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/339ada49-1cd2-5483-bb72-61e258a56900
- Over MCP: `get_schema_card` with id `339ada49-1cd2-5483-bb72-61e258a56900` at https://api.scigantic.com/mcp

## Related topics

- [Parquet datasets](https://scigantic.com/topics/parquet)
- [Mathematics datasets](https://scigantic.com/topics/mathematics)
