Lune

LICS2020Top-tier venue

The Integers as a Higher Inductive Type

Thorsten Altenkirch, Luis Scoccola

Abstract

We consider the problem of defining the integers in Homotopy Type Theory (HoTT). We can define the type of integers as signed natural numbers (i.e., using a coproduct), but its induction principle is very inconvenient to work with, since it leads to an explosion of cases. An alternative is to use set-quotients, but here we need to use set-truncation to avoid non-trivial higher equalities. This results in a recursion principle that only allows us to define function into sets (types satisfying UIP). In this paper we consider higher inductive types using either a small universe or bi-invertible maps. These types represent integers without explicit set-truncation that are equivalent to the usual coproduct representation. This is an interesting example since it shows how some coherence problems can be handled in HoTT. We discuss some open questions triggered by this work. The proofs have been formally verified using cubical Agda.

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Constructing Higher Inductive Types as Groupoid QuotientsNiels van der WeideLICS 2020 · 1 citation

Related papers

  1. Coherence via Well-Foundedness: Taming Set-Quotients in Homotopy Type TheoryNicolai Kraus, Jakob von RaumerLICS 2020 · 8 citations
  2. Set-Theoretic and Type-Theoretic Ordinals CoincideTom de Jong, Nicolai Kraus, Fredrik Nordvall Forsberg, Chuangjie XuLICS 2023 · 4 citations
  3. Natural numbers from integersChristian Sattler, David WärnLICS 2024
  4. Partial Univalence in n-truncated Type TheoryChristian Sattler, Andrea VezzosiLICS 2020 · 2 citations
  5. Large and Infinitary Quotient Inductive-Inductive TypesAndrás Kovács, Ambrus KaposiLICS 2020 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines