arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.16102cs.LOmath.CT
收藏

超越单子和双积:在直觉逻辑中平行性的统一解释

Beyond Monads and Biproducts: A Uniform Interpretation of Parallelism in Intuitionistic Logic

Université de Lorraine, CNRS, Inria, LORIA(洛林大学、法国国家科学研究中心、法国国家信息与自动化研究所、洛林信息研究实验室);Universidad Nacional de Quilmes(基尔梅斯国立大学);Universidad de la República, Facultad de Ingeniería, IMERL(共和国大学、工程学院、数学与计算研究与应用中心)

Alejandro Díaz-Caro, Octavio Malherbe

AI总结:

本文提出了一种在直觉逻辑中统一建模并行性与代数效应的框架,无需单子或双积,通过引入两种lambda演算及新的集合论解释实现。

摘要:

传统上,对lambda演算中并行性和代数结构的建模往往依赖于单子——如Moggi的框架,或者丰富的范畴结构,如双积——如某些线性逻辑模型中所用的。在本工作中,我们提出了一种最小的替代方法,能够在直觉命题逻辑的设定中同时捕捉并行性和加权并行性(线性组合),而无需依赖单子或假设双积的存在。我们引入了两种lambda演算:一种是并行lambda演算和一种是代数lambda演算,两者都扩展了完整的直觉命题逻辑。它们的语义分别由两个范畴给出:Mag_Set,其对象是magmas,箭头是Set中的函数;以及AMag_S_Set,其对象是作用magmas。关键的技术挑战是并行和代数运算存在时析取的解释。由于我们最小的设定中通常的余积结构不可用,我们提出了一种基于并集和笛卡尔积的集合论解释。这使得能够为这两种演算构建正确且充分的模型。我们的结果提供了一个统一且结构轻量的框架,用于在直觉逻辑中建模并行性和代数效应,为超越传统单子或线性逻辑方法的替代方案铺平了道路。

英文摘要:

Traditional approaches to modelling parallelism and algebraic structure in lambda calculi often rely on monads$\unicode{x2013}$as in Moggi's framework$\unicode{x2013}$or on rich categorical structures such as biproducts$\unicode{x2013}$as used in certain models of linear logic. In this work, we propose a minimal alternative that captures both parallelism and weighted parallelism (linear combinations) within the setting of intuitionistic propositional logic, without resorting to monads or assuming the existence of biproducts. We introduce two lambda calculi: a parallel lambda calculus and an algebraic lambda calculus, both extending full propositional intuitionistic logic. Their semantics are given in two categories: ${\mathbf{Mag}_{\mathbf{Set}}}$, whose objects are magmas and arrows are functions in $\mathbf{Set}$; and ${\mathbf{AMag}^{\mathcal{S}}_{\mathbf{Set}}}$, whose objects are action magmas. The key technical challenge addressed is the interpretation of disjunction in the presence of parallel and algebraic operators. Since the usual coproduct structure is unavailable in our minimal setting, we propose a novel set-theoretic interpretation based on the union of the disjoint union and the Cartesian product. This allows for the construction of sound and adequate models for both calculi. Our results offer a unified and structurally lightweight framework for modelling parallelism and algebraic effects in intuitionistic logic, opening the way to alternatives beyond the traditional monadic or linear logic approaches.

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

↑