Published June 11, 2026 | Version 0.1.0

A Formalization of Higher-Order Categories in Lean 4

Authors/Creators

  • 1. EDMO icon University of Valencia

Contributors

Related person:

  • 1. ROR icon Universitat de València
  • 2. EDMO icon University of Valencia

Description

Higher-order categories are a generalization of ordinary category theory in which morphisms can exist at multiple levels. They play a central role in modern mathematics, particularly in algebraic topology and homotopy theory. 

This work focuses on the single-sorted and many-sorted presentations of higher-order categories, both finite-dimensional ($n$-categories) and infinite-dimensional ($omega$-categories). We study the relations between categories of different dimensions, as well as the relations between these presentations.

On the formal side, we develop a formalization in Lean~4 of these definitions and of some of the relations between them. Along the way, we discuss implementation aspects of the formalization, including design choices and considerations specific to its underlying dependent type theory.

Notes

Two variations of the same document are provided: a digital version (`...-digital.pdf`), with continuous pagination, and a print version `...-print.pdf`, with chapters opening on recto pages (blank versos inserted) and wider inner margins to allow for binding, for double-sided printing.

Notes

This work is licensed under the Creative Commons Attribution 4.0 International License. The source code of the document, as well as the accompanying Lean 4
code, is released under the Apache 2.0 License.

Files

higher-category-theory-lean4-en-digital.pdf

Files (6.3 MB)

Name Size Download all
md5:753f87adbb0a277239a6952b8316b53a
3.1 MB Preview Download
md5:4562cd5574d9760a5c145bfaf5ff915c
3.1 MB Preview Download

Additional details

Related works

Cites
Preprint: arXiv:2402.12051 (arXiv)

Dates

Submitted
2026-06-11

Software

Repository URL
https://github.com/mariovagomarzal/higher_category_theory
Programming language
Lean
Development Status
Active