Sequences of Rewrites: A Categorical Interpretation
Arthur Ramos, Ruy J. G. B. de Queiroz, Anjolina G. de Oliveira
备注:
13 pages, submitted to a scientific conference (WoLLIC 2015); corrected typos; Moved part of Section 2.4 to the appendix; corrected small issues in Section 3 (typos and some compositions order), results unchanged
在马丁-洛夫的内涵类型论中,同一性类型是一个被大量使用和研究的概念。原因是,它是最近发现的,类型论和同伦论之间的联系。身份类型最初的主要问题是,它们很难理解和使用。利用这一事实作为动机,Queiroz & Gabbay(1994)提出了一个更简单的身份类型公式,并由de Queiroz & de Oliveira(2013)进一步发展。在这个公式中,标识类型的元素被视为重写序列(或计算路径)。与该新实体的逻辑规则一起,存在称为LND_{EQS} -RWS的重写序列之间的归约规则系统。该系统使用标记的自然演绎(即Prawitz的自然演绎加上派生项)构建,并负责确定如何重写重写序列,从而产生新的重写序列。在这种情况下,我们提出了一个范畴的解释,这个新的实体,使用的对象和重写的规则作为态射的类型。此外,我们表明,我们的解释是根据一些已知的结果,如类型有一个群胚结构。我们也解释更复杂的结构,比如由一系列重写的重写所形成的结构。
英文摘要:
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.
本文利用一种新的范畴语义学--基变语义学来研究模态类型论。基变语义是一种新颖的语义,它是基于(可能是无限的)迭代丰富和解释的模态作为homobject。在我们的语义中,多阶段计算中的Meta和对象级别之间的关系正好对应于丰富和丰富类别之间的关系。其结果是,我们获得了Meta和对象逻辑可能完全不同的情况下的分类解释。我们的分类模型包括模态类型论的传统模型(例如,Carnival闭范畴与monoidal endofunctor)作为特殊情况,因此可以看作是一个自然的改进以前的结果。在类型理论方面,它表明,菲奇风格的模态类型论可以直接解释在迭代丰富的类别。有趣的是,这种解释表明,Fitch风格的模态类型论是双上下文演算的右伴随。此外,我们提出了如何线性时间,S4和线性指数形式的变化的基础语义方面的描述。最后,我们表明,基的变化语义可以自然地扩展到多阶段的有效计算和广义上下文模态一la Nanevski et al.我们强调,本文回答了在2011年的调查报告中提出的问题,由德派瓦和Ritter,什么是一个分类模型的Fitch风格的类型论是什么样的。