计算机科学 > 程序设计语言
[提交于 2020年11月10日 (v1),最后修订于 2020年11月10日 (此版本, v2)]
标题:Cost-Aware Type Theory
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Yue Niu[v2] 2020年11月10日 星期二 02:11:10 UTC