A Machine-checked proof of Birkhoff's Variety Theorem in Martin-Löf Type Theory
Abstract
Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.
The Agda Universal Algebra Library (agda-algebras) is a library of types and programs (theorems and proofs) we developed to formalize the foundations of universal algebra in dependent type theory using the Agda programming language and proof assistant. In this paper we draw on and explain many components of the agda-algebras library, which we extract into a single Agda module in order to present a self-contained formal and constructive proof of Birkhoff's HSP theorem in Martin-Löf dependent type theory. In the course of our presentation, we highlight some of the more challenging aspects of formalizing the basic definitions and theorems of universal algebra in type theory. Nonetheless, we hope this paper and the agda-algebras library serve as further evidence in support of the claim that dependent type theory and the Agda language, despite the technical demands they place on the user, are accessible to working mathematicians (such as ourselves) who possess sufficient patience and resolve to formally verify their results with a proof assistant. Indeed, the agda-algebras library now includes a substantial collection of definitions, theorems, and proofs from universal algebra, illustrating the expressive power of inductive and dependent types for representing and reasoning about general algebraic and relational structures.
Results and benchmarks
The Agda Universal Algebra Library (agda-algebras) is a library of types and programs (theorems and proofs) we developed to formalize the foundations of universal algebra in dependent type theory using the Agda programming language and proof assistant.
Benchmark evidence is limited
Evidence graph: 3 refs, 3 links.
Utility signals: depth 60/100, grounding 75/100, status medium.
Implementation
Best maintained implementation now
The Agda Universal Algebra Library (html docs available at the url below)
49 stars · 8 forks · Last push Aug 24, 2026 · Apache-2.0 license
- License
- CI
- Dependencies
- Docker
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata · Matched via arXiv identifier search
ualib/agda-algebras is the strongest maintained implementation based on ranking signals. CI workflows are present. License is declared (Apache-2.0).
Open ualib/agda-algebras- Dependency manifest is missing
- Selected ualib/agda-algebras as the strongest maintained implementation for new work.
- Includes CI workflow signals.
- Repository activity is within the last 24 months.
- Official repository is preserved separately as historical context.
Compare implementation paths
Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.
- Maintenance
- Active
- Confidence
- High
- Reproducibility
- Moderate
- Stars
- 49
- Last push
- Aug 24, 2026 (2d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No Docker setup
- Dependency manifest missing
- Maintenance
- Stale
- Confidence
- High
- Reproducibility
- Limited
- Stars
- 20
- Last push
- Dec 8, 2021 (1722d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No push in 12+ months
- No CI pipeline detected
- No Docker setup
- Maintenance
- Active
- Confidence
- Low
- Reproducibility
- Moderate
- Stars
- 49
- Last push
- Aug 24, 2026 (2d)
Community adoption signal (49 stars)
- No Docker setup
- Dependency manifest missing
- Low confidence match
Reproduction readiness
Major work
No dependency manifest, manual reconstruction required
- ualib/agda-algebras has no requirements.txt, environment.yml, pyproject.toml, or Dockerfile.
- You will need to reverse-engineer dependencies from import statements in the source code.
Hardware requirements
- Expect multi-day setup/compute for meaningful reproduction based on current guidance.
Validation caveat
Repositories and ecosystem
No additional verified repositories beyond the primary recommendation.
These repositories had low-confidence matching signals and are hidden by default.
- ualib/agda-universal-algebra
Confidence: Low · 49 stars
- Lexxos/arxiv-2021-no-duplicate
Confidence: Low · 1 stars
Hugging Face artifacts
No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.
Models
No trustworthy models matches right now.
Search models on Hugging FaceDatasets
- Birkhoff-Archive/test
54 downloads · 0 likes · Updated Mar 13, 2026
Broaden dataset search
Research context
Tasks
Instruction tuning
Methods
None detected
Domains
None detected
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.
Data includes links from Papers with Code ( CC-BY-SA-4.0 ).