Reference. Formalizing category theory in Agda
Cite
Cited by (13)
Univalent Enriched Categories and the Enriched Rezk Completion vanderweide-2026-univalent
Mechanizing Synthetic Tait Computability in Istari li_etal_2025
Frex: Dependently Typed Algebraic Simplification allais-2025-frex
The Formal Theory of Monads, Univalently vanderweide-2025-thex
Formal P-Category Theory and Normalization by Evaluation in Rocq berry_fiore_2025
Insights from Univalent Foundations: A Case Study Using Double Categories rasekh-2025-insights
Solving Guarded Domain Equations in Presheaves over Ordinals and Mechanizing It stepanenko-2025-solving
Displayed Monoidal Categories for the Semantics of Linear Logic ahrens-2024-displayed
With a Few Square Roots, Quantum Computing Is as Easy as Pi carette-2024-with
Univalent Double Categories vanderweide-2024-univalent
Formal metatheory of second-order abstract syntax fiore-2022-formal
A Machine-Checked Proof of Birkhoff’s Variety Theorem in Martin-Löf Type Theory demeo-2022-a
Bicategories in univalent foundations ahrens-2021-bicategories
Cites 38 works (5 here)
With notes (5)
Cubical Agda: A Dependently Typed Programming Language with Univalence and Higher Inductive Types VezzosiMortbergAbel2019
Category Theory in Coq 8.5 timany-2016-category
We report on our experience implementing category theory in Coq 8.5. Our work formalizes most of basic category theory, including concepts not covered by existing formalizations, in a library that is fit to be used as a general-purpose category-theoretical foundation.
Our development particularly takes advantage of two features new to Coq 8.5: primitive projections for records and universe polymorphism. Primitive projections allow for well-behaved dualities while universe polymorphism provides a relative notion of largeness and smallness. The latter is one of the main contributions of this paper. It pushes the limits of the new universe polymorphism and constraint inference algorithm of Coq 8.5.
In this paper we present in detail smallness and largeness in categories and the foundation they are built on top of. We furthermore explain how we have used the universe polymorphism of Coq 8.5 to represent smallness and largeness arguments by simply ignoring them and entrusting them to the universe inference algorithm of Coq 8.5. We also briefly discuss our experience throughout this implementation, discuss concepts formalized in this development and give a comparison with a few other developments of similar extent.
Univalent categories and the Rezk completion ahrens_etal_2015
Categories for the Working Mathematician maclane_1971
External (33)
- The Agda standard library (2020)
- The lean mathematical library (2020)
- Bicategories (Archive of Formal Proofs) (2020)
- Univalent Foundations and the Equivalence Principle (2019)
- Agda 2.6.0.1 (2019)
- A language feature to unbundle data at will (short paper) (2019)
- category-theory: Category Theory in Coq (2019)
- categories: Categories parametrized by morphism equality in Agda (2018)
- Towards a Categorical Foundation of Mathematics (2017)
- Monoidal Categories (Archive of Formal Proofs) (2017)
- Computing with Semirings and Weak Rig Groupoids (2016)
- Category Theory with Adjunctions and Limits (2016)
- The Lean Theorem Prover (System Description) (2015)
- Pattern matching without K (2014)
- Experience Implementing a Performant Category-Theory Library in Coq (2014)
- Combinatorial species and labelled structures (PhD thesis) (2014)
- Idris, a general-purpose dependently typed programming language: Design and implementation (2013)
- On Irrelevance and Algorithmic Equality in Predicative Type Theory (2012)
- Type classes for mathematics in type theory (2011)
- Category Theory (2nd ed.) (2010)
- Packaging Mathematical Structures (2009)
- Homotopy theoretic aspects of constructive type theory (PhD thesis) (2008)
- A Constructive Algebraic Hierarchy in Coq (2002)
- Isabelle/HOL - A Proof Assistant for Higher-Order Logic (2002)
- Constructive category theory (2000)
- The Groupoid Interpretation of Type Theory (1996)
- Galois: a theory development project (manuscript) (1993)
- Investigations into intensional type theory (Habilitation thesis) (1993)
- Implementing Mathematics with the Nuprl Proof Development System (1986)
- Intuitionistic type theory (1984)
- On MacLane's conditions for coherence of natural associativities, commutativities, etc. (1964)
- An Elementary Theory of the Category of Sets (1964)
- UniMath — a computer-checked library of univalent mathematics