一句话:在范畴化图模型中,证明相关解释包含完整类型推导,可重构近似项,并将λ理论刻画为Böhm树相等。
本文研究λ演算的关系模型及其二范畴推广。作者在distributor诱导的双范畴语义中定义“范畴化”图模型,并证明它们可像关系模型一样表示为类型系统。核心结果是近似定理:程序解释等于其近似项指称的滤过余极限;得益于模型的定量性质,该定理可用简单归纳证明,而无需非直谓方法。与关系模型不同,这些二维图模型是证明相关的:λ项解释包含完整类型推导而非仅类型;额外信息足以重构同类型同环境下的近似项。作为推论,范畴化图模型诱导的理论得到刻画:两个λ项解释同构当且仅当它们的Böhm树相同。
Relational models of λ-calculus can be presented as type systems, the relational interpretation of a λ-term being given by the set of its typings. Within a distributors-induced bicategorical semantics generalizing the relational one, we identify the class of ‘categorified’ graph models and show that they can be presented as type systems as well. We prove that all the models living in this class satisfy an Approximation Theorem stating that the interpretation of a program corresponds to the filtered colimit of the denotations of its approximants. As in the relational case, the quantitative nature of our models allows to prove this property via a simple induction, rather than using impredicative techniques. Unlike relational models, our 2-dimensional graph models are also proof-relevant in the sense that the interpretation of a λ-term does not contain only its typings, but the whole type derivations. The additional information carried by a type derivation permits to reconstruct an approximant having the same type in the same environment. From this, we obtain the characterization of the theory induced by the categorified graph models as a simple corollary of the Approximation Theorem: two λ-terms have isomorphic interpretations exactly when their B'ohm trees coincide.
@article{paperbot2068,
title = {Why Are Proofs Relevant in Proof-Relevant Models?},
author = {Axel Kerinec and Giulio Manzonetto and Federico Olimpieri},
journal = {Proceedings of the ACM on Programming Languages},
volume = {7},
number = {POPL},
year = {2023},
doi = {10.1145/3571201}
}