Sequences of Rewrites: A Categorical Interpretation

Arthur Ramos,Ruy J. G. B. de Queiroz,Anjolina G. de Oliveira
DOI: https://doi.org/10.48550/arXiv.1412.2105
2015-02-15
Abstract:In Martin-Löf's Intensional Type Theory, identity type is a heavily used and studied concept. The reason for that is the fact that it's responsible for the recently discovered connection between Type Theory and Homotopy Theory. The main problem with identity types, as originally formulated, is that they are complex to understand and use. Using that fact as motivation, a much simpler formulation for the identity type was proposed by Queiroz & Gabbay (1994) and further developed by de Queiroz & de Oliveira (2013). In this formulation, an element of an identity type is seen as a sequence of rewrites (or computational paths). Together with the logical rules of this new entity, there exists a system of reduction rules between sequence of rewrites called LND_{EQS}-RWS. This system is constructed using the labelled natural deduction (i.e. Prawitz' Natural Deduction plus derivations-as-terms) and is responsible for establishing how a sequence of rewrites can be rewritten, resulting in a new sequence of rewrites. In this context, we propose a categorical interpretation for this new entity, using the types as objects and the rules of rewrites as morphisms. Moreover, we show that our interpretation is in accordance with some known results, like that types have a groupoidal structure. We also interpret more complicated structures, like the one formed by a rewrite of a sequence of rewrites.
Logic in Computer Science,Category Theory
What problem does this paper attempt to address?
The core problem that this paper attempts to solve is the complexity and obscurity of the identity type in Martin - Löf's Intensional Type Theory. Specifically, the original definitions and rules of the identity type (especially the Idint - Elimination rule) are too complex to be easily understood and used. Therefore, the author proposes a new entity - a sequence of rewrites - to simplify the definition of the identity type and provide a more intuitive and easy - to - operate way. ### Specific Problem Description 1. **Complexity of the Identity Type**: - The identity type is a key concept connecting type theory and homotopy theory. - Although it has a clear homotopy interpretation, its original definition (especially the Idint - Elimination rule) is very complex and difficult to understand and apply. 2. **Motivation for Simplifying the Identity Type**: - In order to simplify the definition of the identity type, de Queiroz and Gabbay proposed the idea of regarding the elements of the identity type as rewrite sequences in 1994. - This idea was further developed so that the identity type can be defined by rewrite sequences, thus simplifying the rules and maintaining its intensional characteristics. 3. **Introduction of Rewrite Sequences**: - A rewrite sequence is defined as a series of computational paths from one element to another. - In this way, the identity type can be re - defined, and a new elimination rule can be proposed, which is simpler and less information - intensive than the original Idint - Elimination rule. ### Solution The main contributions of the paper are: 1. **Formalizing Rewrite Sequences**: - A formal definition of rewrite sequences is proposed, and it is shown how to use the labelled natural deduction system to construct reduction rules between rewrite sequences. 2. **Categorical Interpretation**: - A mathematical interpretation of rewrite sequences based on category theory is given, taking types as objects and rewrite rules as morphisms. - It is proved that this interpretation is consistent with known results, such as the groupoidal structure of types. 3. **Higher - Order Structures**: - More complex structures, such as the rewrite of a sequence of rewrites, are explored and generalized to higher - dimensional structures (Anrw). - Eventually, the connection between these structures and weak ω - groupoids is established, laying the foundation for further research. ### Summary This paper aims to simplify the definition and rules of the identity type by introducing the concept of rewrite sequences, while providing its mathematical interpretation in category theory. This not only makes the identity type easier to understand and use, but also provides new perspectives and tools for future research.