arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2011.03660cs.PL
收藏

成本意识类型论

Cost-Aware Type Theory

Yue Niu, Robert Harper

摘要:

虽然计算复杂性是程序行为的一个基本方面,但它通常与常见的类型理论原则(如函数可拓性)不一致,函数可拓性将所有函数标识为具有相同的$\textit{input-output}$行为。我们提出了一个计算类型论称为$\mathbf{CATT}$,有一个原始的概念的成本(评估步骤的数量)。我们引入了一个新的依赖函数类型“funtime”,其语义可以被视为函数扩展性的成本感知版本。我们证明了$\mathbf{CATT}$的引理集合,包括一个新的引入规则的新的funtime类型。$\mathbf{CATT}$可以同时被看作是一个框架,用于分析程序的计算复杂性,并作为一个语义基础的开端,用于表征可行的数学证明。

英文摘要:

Although computational complexity is a fundamental aspect of program behavior, it is often at odds with common type theoretic principles such as function extensionality, which identifies all functions with the same $\textit{input-output}$ behavior. We present a computational type theory called $\mathbf{CATT}$ that has a primitive notion of cost (the number of evaluation steps). We introduce a new dependent function type "funtime" whose semantics can be viewed as a cost-aware version of function extensionality. We prove a collection of lemmas for $\mathbf{CATT}$, including a novel introduction rule for the new funtime type. $\mathbf{CATT}$ can be simultaneously viewed as a framework for analyzing computational complexity of programs and as the beginnings of a semantic foundation for characterizing feasible mathematical proofs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑