paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Fibrational Tale of Operational Logical Relations: Pure, Effectful and Differential

操作逻辑关系的纤维化视角:纯、效应与微分
LMCS vol.Volume 20, Issue 22024匹配度 1/10 · 该论文属于纯编程语言形式语义与范畴论方向,讨论操作逻辑关系、纤维化与微分逻辑关系,未涉及用户核心关注的 LLM/Agent、机器学习系统静态分析、浮点程序分析或贝叶斯程序分析。虽然形式化程度高,但与研究画像中的 PL 与 AI 交叉以及静态分析/形式化验证落地问题几乎没有直接交集。引用 4 inbox
Francesco Dagnino, Francesco Gavazzo
crossref: 2026-09-10

AI 速览

一句话:用纤维化统一基于操作语义的逻辑关系,覆盖纯、效应与微分情形。

基于操作语义的逻辑关系是编程语言语义学中最成功的证明方法之一,但现有工作多面向特定语言族,缺乏统一抽象框架。本文提出用纤维化(fibration)来统一处理操作逻辑关系。作者以一个带泛型效应的 λ 演算为参照,引入了在大类范畴上定义的抽象操作语义,并在此框架下重构纯逻辑关系、效应逻辑关系以及新近提出的微分逻辑关系——即程序间的高阶距离。该抽象视角为纯与效应情形下的微分逻辑关系提供了坚实的数学基础,使其与传统逻辑关系纳入同一图景,展示了纤维化作为统一语义工具的表达力。

问题
操作逻辑关系虽是重要证明方法,但缺乏统一抽象框架;纯、效应与微分逻辑关系分散发展,微分逻辑关系尤其缺少数学基础。
方法
使用纤维化(fibration)统一基于操作语义的逻辑关系;以带泛型效应的 λ 演算为例,在大类范畴上定义抽象操作语义,并在此框架中重构纯、效应与微分逻辑关系。
评估
理论性工作,未报告实验评估;通过带泛型效应 λ 演算这一参考实例,展示框架可同时覆盖纯、效应与微分逻辑关系。
原文摘要(Abstract)

Logical relations built on top of an operational semantics are one of the most successful proof methods in programming language semantics. In recent years, more and more expressive notions of operationally-based logical relations have been designed and applied to specific families of languages. However, a unifying abstract framework for operationally-based logical relations is still missing. We show how fibrations can provide a uniform treatment of operational logical relations, using as reference example a lambda-calculus with generic effects endowed with a novel, abstract operational semantics defined on a large class of categories. Moreover, this abstract perspective allows us to give a solid mathematical ground also to differential logical relations -- a recently introduced notion of higher-order distance between programs -- both pure and effectful, bringing them back to a common picture with traditional ones.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot2767,
  title = {A Fibrational Tale of Operational Logical Relations: Pure, Effectful and Differential},
  author = {Francesco Dagnino and Francesco Gavazzo},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 20, Issue 2},
  year = {2024},
  doi = {10.46298/lmcs-20(2:1)2024}
}