Skip to main content
arXiv is now an independent nonprofit! Learn more
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Logic in Computer Science

arXiv:2007.00167 (cs)
[Submitted on 1 Jul 2020]

Title:The Integers as a Higher Inductive Type

Authors:Thorsten Altenkirch, Luis Scoccola
View a PDF of the paper titled The Integers as a Higher Inductive Type, by Thorsten Altenkirch and Luis Scoccola
View PDF
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.
Comments: 11 pages
Subjects: Logic in Computer Science (cs.LO); Logic (math.LO)
Cite as: arXiv:2007.00167 [cs.LO]
  (or arXiv:2007.00167v1 [cs.LO] for this version)
  https://doi.org/10.48550/arXiv.2007.00167
arXiv-issued DOI via DataCite
Journal reference: Proceedings of the 35th Annual ACM/IEEE Symposium on Logic in Computer Science (pp. 67-73), 2020

Submission history

From: Luis Scoccola [view email]
[v1] Wed, 1 Jul 2020 00:58:06 UTC (16 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled The Integers as a Higher Inductive Type, by Thorsten Altenkirch and Luis Scoccola
  • View PDF
  • TeX Source
view license

Current browse context:

cs.LO
< prev   |   next >
new | recent | 2020-07
Change to browse by:
cs
math
math.LO

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Thorsten Altenkirch
Luis Scoccola
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences