Skip to content
OpenTrain AIFor AI Companies

A Machine-checked proof of Birkhoff's Variety Theorem in Martin-Löf Type Theory

William DeMeo, Jacques CarettePublished Jan 25, 2021
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few days
Plan setup time
Risk flags
1
Review before use

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

Freshness tier: hot
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.

Implementation

Best maintained implementation now

Recommended
Confidence: High
Reproducibility: Moderate

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

Why this implementation
Confidence: high

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
Reproduction risks
  • 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.

ualib/agda-algebras
best maintained
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
ualib/ualib.github.io
historical official
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

Time to first repro: days
Last checked: Aug 24, 2026

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.
Open ualib/agda-algebras

Hardware requirements

  • Expect multi-day setup/compute for meaningful reproduction based on current guidance.

Repositories and ecosystem

No additional verified repositories beyond the primary recommendation.

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 Face

Datasets

Curated Related

Research context

Tasks

Instruction tuning

Methods

None detected

Domains

None detected

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.

Data includes links from Papers with Code ( CC-BY-SA-4.0 ).