合成域理论中高阶递归的成本敏感计算充分性
Cost-sensitive computational adequacy of higher-order recursion in synthetic domain theory
AI总结:
本文在合成域理论中研究成本感知高阶递归语言PCF_cost,证明其指称与计算成本语义间的成本敏感计算充分性,并利用相位区分建立成本与行为的非干扰性。
摘要:
我们在合成域理论(SDT)的框架下研究一种面向成本感知的高阶递归编程语言,称之为 $\textbf{PCF}_\mathsf{cost}$。我们的主要贡献是将 $\textbf{PCF}_\mathsf{cost}$ 的指称成本语义与其计算成本语义联系起来,后者是一种新的程序执行动态语义,在SDT中作为操作语义的数学上自然的替代方案。特别地,我们证明了Plotkin计算充分性定理的一个内部的、成本敏感的版本,给出了在基础类型上完整程序的指称语义与计算语义之间的精确对应关系。本文的构造和证明发生在SDT拓扑斯的内蕴依赖类型理论中,该理论通过Sterling和Harper意义上的相位区分进行了扩展。通过在指称语义中通过相位区分来控制成本结构的解释,我们表明 $\textbf{PCF}_\mathsf{cost}$ 程序也展现出成本与行为的非干扰性质。我们通过基于相对层模型构建的SDT模型来验证类型理论的公理。
英文摘要:
We study a cost-aware programming language for higher-order recursion dubbed $\textbf{PCF}_\mathsf{cost}$ in the setting of synthetic domain theory (SDT). Our main contribution relates the denotational cost semantics of $\textbf{PCF}_\mathsf{cost}$ to its computational cost semantics, a new kind of dynamic semantics for program execution that serves as a mathematically natural alternative to operational semantics in SDT. In particular we prove an internal, cost-sensitive version of Plotkin's computational adequacy theorem, giving a precise correspondence between the denotational and computational semantics for complete programs at base type. The constructions and proofs of this paper take place in the internal dependent type theory of an SDT topos extended by a phase distinction in the sense of Sterling and Harper. By controlling the interpretation of cost structure via the phase distinction in the denotational semantics, we show that $\textbf{PCF}_\mathsf{cost}$ programs also evince a noninterference property of cost and behavior. We verify the axioms of the type theory by means of a model construction based on relative sheaf models of SDT.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。