paperbot · PL 论文追踪

全部论文 待读 收藏

P2 The Verse Calculus: A Core Calculus for Deterministic Functional Logic Programming

Verse 演算:确定性函数式逻辑编程的核心演算
ICFP 7(ICFP)2023匹配度 2/10 · 论文是纯编程语言理论工作,研究确定性函数式逻辑编程的核心演算与重写系统合流性,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户当前关注的研究方向交集很小。引用 14 inbox
Lennart Augustsson, Joachim Breitner, Koen Claessen, Ranjit Jhala, Simon Peyton Jones, Olin Shivers, Guy L. Steele Jr., Tim Sweeney
crossref: 2026-09-10

AI 速览

一句话:提出 Verse 演算(VC),为确定性函数式逻辑编程提供小步重写语义,并证明良行为项的重写系统合流。

函数式逻辑语言文献丰富,但为其提供令人满意的语义一直是个难题。本文提出 Verse 演算(VC),一种面向确定性函数式逻辑编程的新核心演算。核心贡献是为 VC 建立小步重写语义,从而可以像对待 lambda 演算一样,通过连续应用重写规则来推理 VC 程序。作者进一步证明,对于良行为的项,该重写系统是合流的,即不同重写顺序不会导致结果分歧。该工作为确定性函数式逻辑编程提供了简洁的操作语义基础,并支持基于重写的程序推理。

问题
函数式逻辑语言缺乏令人满意的语义,尤其是确定性函数式逻辑编程的推理基础。
方法
定义 Verse 演算(VC)并给出小步重写语义,使 VC 程序可通过连续重写进行推理。
评估
通过形式化证明评估语义性质,证明对良行为项,重写系统具有合流性。
原文摘要(Abstract)

Functional logic languages have a rich literature, but it is tricky to give them a satisfying semantics. In this paper we describe the Verse calculus, VC, a new core calculus for deterministic functional logic programming. Our main contribution is to equip VC with a small-step rewrite semantics, so that we can reason about a VC program in the same way as one does with lambda calculus; that is, by applying successive rewrites to it. We also show that the rewrite system is confluent for well-behaved terms.

链接与引用

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

BibTeX
@article{paperbot1906,
  title = {The Verse Calculus: A Core Calculus for Deterministic Functional Logic Programming},
  author = {Lennart Augustsson and Joachim Breitner and Koen Claessen and Ranjit Jhala and Simon Peyton Jones and Olin Shivers and Guy L. Steele Jr. and Tim Sweeney},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {7},
  number = {ICFP},
  year = {2023},
  doi = {10.1145/3607845}
}