类型论
同伦
共振动
类型(生物学)
数学
扩展(谓词逻辑)
口译(哲学)
域代数上的
函子
计算机科学
背景(考古学)
纯数学
n-连接
同伦提升性质
程序设计语言
生物
古生物学
生态学
作者
Carlo Angiuli,Edward Morehouse,Daniel R. Licata,Robert Harper
标识
DOI:10.1145/2628136.2628158
摘要
Homotopy type theory is an extension of Martin-Löf type theory, based on a correspondence with homotopy theory and higher category theory. In homotopy type theory, the propositional equality type becomes proof-relevant, and corresponds to paths in a space. This allows for a new class of datatypes, called higher inductive types, which are specified by constructors not only for points but also for paths. In this paper, we consider a programming application of higher inductive types. Version control systems such as Darcs are based on the notion of patches - syntactic representations of edits to a repository. We show how patch theory can be developed in homotopy type theory. Our formulation separates formal theories of patches from their interpretation as edits to repositories. A patch theory is presented as a higher inductive type. Models of a patch theory are given by maps out of that type, which, being functors, automatically preserve the structure of patches. Several standard tools of homotopy theory come into play, demonstrating the use of these methods in a practical programming context.
科研通智能强力驱动
Strongly Powered by AbleSci AI