Natural numbers from integers
Christian Sattler, David Wärn
Abstract
In homotopy type theory, a natural number type is freely generated by an element and an endomorphism. Similarly, an integer type is freely generated by an element and an automorphism. Using only dependent sums, identity types, extensional dependent products, and a type of two elements with large elimination, we construct a natural number type from an integer type. As a corollary, homotopy type theory with only Σ, Id, Π, and finite colimits with descent (and no universes) admits a natural number type. This improves and simplifies a result by Rose.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Related papers
- The Integers as a Higher Inductive TypeThorsten Altenkirch, Luis ScoccolaLICS 2020 · 11 citations
- Set-Theoretic and Type-Theoretic Ordinals CoincideTom de Jong, Nicolai Kraus, Fredrik Nordvall Forsberg, Chuangjie XuLICS 2023 · 4 citations
- Primitive Recursive Dependent Type TheoryUlrik Torben Buchholtz, Johannes Schipp von BranitzLICS 2024
- Constructing Higher Inductive Types as Groupoid QuotientsNiels van der WeideLICS 2020 · 1 citation
- Ordinal Exponentiation in Homotopy Type TheoryTom de Jong, Nicolai Kraus, Fredrik Nordvall Forsberg, Chuangjie XuLICS 2025 · 1 citation
