Dr NICOLAI KRAUS NICOLAI.KRAUS@NOTTINGHAM.AC.UK
PROFESSOR OF THEORETICAL COMPUTER SCIENCE
Type-theoretic approaches to ordinals
Kraus, Nicolai; Nordvall Forsberg, Fredrik; Xu, Chuangjie
Authors
Fredrik Nordvall Forsberg
Chuangjie Xu
Contributors
Dr NICOLAI KRAUS NICOLAI.KRAUS@NOTTINGHAM.AC.UK
Project Leader
Abstract
In a constructive setting, no concrete formulation of ordinal numbers can simultaneously have all the properties one might be interested in; for example, being able to calculate limits of sequences is constructively incompatible with deciding extensional equality. Using homotopy type theory as the foundational setting, we develop an abstract framework for ordinal theory and establish a collection of desirable properties and constructions. We then study and compare three concrete implementations of ordinals in homotopy type theory: first, a notation system based on Cantor normal forms (binary trees); second, a refined version of Brouwer trees (infinitely-branching trees); and third, extensional well-founded orders. Each of our three formulations has the central properties expected of ordinals, such as being equipped with an extensional and well-founded ordering as well as allowing basic arithmetic operations, but they differ with respect to what they make possible in addition. For example, for finite collections of ordinals, Cantor normal forms have decidable properties, but suprema of infinite collections cannot be computed. In contrast, extensional well-founded orders work well with infinite collections, but the price to pay is that almost all properties are undecidable. Brouwer trees, implemented as a quotient inductive-inductive type to ensure well-foundedness and extensionality, take the sweet spot in the middle by combining a restricted form of decidability with the ability to work with infinite increasing sequences. Our three approaches are connected by canonical order-preserving functions from the “more decidable” to the “less decidable” notions, i.e. from Cantor normal forms to Brouwer trees, and from there to extensional well-founded orders. We have formalised the results on Cantor normal forms and Brouwer trees in cubical Agda, while extensional well-founded orders have been studied and formalised thoroughly by Escardó and his collaborators. Finally, we compare the computational efficiency of our implementations with the results reported by Berger.
Citation
Kraus, N., Nordvall Forsberg, F., & Xu, C. (2023). Type-theoretic approaches to ordinals. Theoretical Computer Science, 957, Article 113843. https://doi.org/10.1016/j.tcs.2023.113843
Journal Article Type | Article |
---|---|
Acceptance Date | Mar 21, 2023 |
Online Publication Date | Mar 26, 2023 |
Publication Date | May 12, 2023 |
Deposit Date | Apr 3, 2023 |
Publicly Available Date | Mar 27, 2024 |
Journal | Theoretical Computer Science |
Print ISSN | 0304-3975 |
Electronic ISSN | 0304-3975 |
Publisher | Elsevier |
Peer Reviewed | Peer Reviewed |
Volume | 957 |
Article Number | 113843 |
DOI | https://doi.org/10.1016/j.tcs.2023.113843 |
Keywords | Ordinal numbers; Constructive mathematics; Homotopy type theory; Cantor normal forms; Brouwer trees; Extensional well-founded orders |
Public URL | https://nottingham-repository.worktribe.com/output/19219142 |
Files
Tcs Ordinals
(1.1 Mb)
PDF
You might also like
On symmetries of spheres in univalent foundations
(2024)
Presentation / Conference Contribution
Set-Theoretic and Type-Theoretic Ordinals Coincide
(2023)
Presentation / Conference Contribution
Two-Level Type Theory and Applications
(2023)
Journal Article
Two-level type theory and applications
(2023)
Journal Article
A Rewriting Coherence Theorem with Applications in Homotopy Type Theory
(2023)
Journal Article
Downloadable Citations
About Repository@Nottingham
Administrator e-mail: discovery-access-systems@nottingham.ac.uk
This application uses the following open-source libraries:
SheetJS Community Edition
Apache License Version 2.0 (http://www.apache.org/licenses/)
PDF.js
Apache License Version 2.0 (http://www.apache.org/licenses/)
Font Awesome
SIL OFL 1.1 (http://scripts.sil.org/OFL)
MIT License (http://opensource.org/licenses/mit-license.html)
CC BY 3.0 ( http://creativecommons.org/licenses/by/3.0/)
Powered by Worktribe © 2025
Advanced Search