Terminal Coalgebras and Non-wellfounded Sets in Homotopy Type Theory

Håkon Robbestad Gylterud,Elisabeth Stenholm,Niccolò Veltri
2024-08-22
Abstract:Non-wellfounded material sets have previously been modeled in Martin-Löf type theory by Lindström using setoids. In this paper we construct models of non-wellfounded material sets in Homotopy Type Theory (HoTT) where equality is interpreted as the identity type. The first model satisfies Scott's Anti-Foundation Axiom (SAFA) and dualises the construction of iterative sets. The second model satisfies Aczel's Anti-Foundation Axiom (AFA), and is constructed by adaption of Aczel--Mendler's terminal coalgebra theorem to type theory, which requires propositional resizing. In an bid to extend coalgebraic theory and anti-foundation axioms to higher type levels, we formulate generalisations of AFA and SAFA, and construct a hierarchy of models which satisfies the SAFA generalisations. These generalisations build on the framework of Univalent Material Set Theory, previously developed by two of the authors. Since the model constructions are based on M-types, the paper also includes a characterisation of the identity type of M-types as indexed M-types. Our results are formalised in the proof-assistant Agda.
Logic
What problem does this paper attempt to address?
The paper is primarily dedicated to constructing models of non-well-founded sets within the framework of Homotopy Type Theory (HoTT) and exploring the connections between non-well-founded set theory and universal coalgebra theory. Specifically, the authors address the following key issues: 1. **Construction of Non-Well-Founded Set Models**: - The authors construct two models of non-well-founded sets in HoTT, which satisfy different non-well-founded axioms (Scott’s Anti-Foundation Axiom (SAFA) and Aczel’s Anti-Foundation Axiom (AFA)). - The first model satisfies SAFA and dualizes the concept of iterative sets. - The second model satisfies AFA and is constructed by adapting the Aczel–Mendler terminal coalgebra theorem, which requires the assumption of propositional resizing. 2. **Extending Coalgebra Theory to Higher Types**: - The authors propose generalized versions of SAFA and AFA and construct a hierarchy of models that satisfy the generalized versions of SAFA. - These generalizations are built on the framework of Univalent Material Set Theory, which was previously developed by two of the authors. 3. **Characterization of Identity Types of M-Types**: - The paper also investigates the identity types of M-types, a coinductive type that is dual to the inductive W-types. - A complete characterization of the identity types of M-types is provided, describing them as indexed M-types. 4. **Summary of Contributions**: - Constructed fixed points for the non-polynomial functor \(X \mapsto \sum_{A:U \rightarrow nX}\), which are neither initial algebras nor terminal coalgebras. - Adapted the Aczel–Mendler construction to type theory, assuming propositional resizing. - Used the HoTT version of the Aczel–Mendler construction to build the terminal coalgebra of the power set functor restricted to U. - Demonstrated that this terminal coalgebra provides a set-theoretic model containing Aczel’s anti-foundation axiom, with identity types as equivalences. - Proved that Scott’s anti-foundation axiom has a constructive model in HoTT, with identity types as equivalences. - Provided a characterization of the identity types of M-types, describing them as indexed M-types. In summary, this paper advances the development of non-well-founded set theory and universal coalgebra theory by constructing new models of non-well-founded sets within the HoTT framework and studying M-types.