Cartwright-Felleisen-Wadler猜想的一元解
A monadic solution to the Cartwright-Felleisen-Wadler conjecture
摘要:
给定一种程序设计语言,我们能否给出一个在语言扩展下稳定的一元指称语义?只包含一个单子的模型是不稳定的。基于类型和效果系统的模型,其中语言中的每一组操作都有一个单子。Cartwright、Felleisen和Wadler证明了这样的一元语义可以被生成。我们描述了一个新的一般方法,从标准的单子模型,单子态射的因式分解的基础上构建稳定的模型。我们证明了在某些条件下,因子分解会为每组运算导出一个单子,并解释了为什么这些条件通常成立。我们还描述了初步工作,使用纤维化的逻辑关系,从这些分解系统证明所得到的模型的正确性。
英文摘要:
Given a programming language, can we give a monadic denotational semantics that is stable under language extension? Models containing only a single monad are not stable. Models based on type-and-effect systems, in which there is a monad for every set of operations in the language, are. Cartwright and Felleisen, and Wadler, conjectured such monadic semantics can be generated. We describe a new general method of constructing stable models from standard monadic models, based on factorizations of monad morphisms. We show that under certain conditions factorizations induce a monad for every set of operations, and explain why the conditions usually hold. We also describe preliminary work using fibrations for logical relations generated from these factorization systems for proving the correctness of the resulting model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。