paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Extensional and Intensional Semantics of Bounded and Unbounded Nondeterminism

有界与无界非确定性的外延语义与内涵语义
LMCS vol.Volume 17, Issue 42021匹配度 1/10 · 该论文属于编程语言形式语义与域论,研究有界/无界非确定性的外延/内涵语义及 may/must 测试的完全抽象性,但完全不涉及静态分析、机器学习/Agent、浮点程序分析或贝叶斯程序分析,与用户画像的核心方向不匹配。引用 0 inbox
James Laird
crossref: 2026-09-10

AI 速览

一句话:用双序与有序具体数据结构上的非确定顺序算法,统一刻画有界与无界非确定性的外延/内涵语义,并分析 may/must 测试的完全抽象性。

论文研究带非确定性的函数式程序的外延与内涵语义。外延上把程序视为保持结构的双序(biorder)间函数,内涵上用有序具体数据结构上的非确定顺序算法刻画,并证明二者等价:每个单调稳定函数都有唯一顺序算法计算,且算法连续性对应两种序条件。作者为含有限与无限选择算子的顺序函数式语言给出 may-testing 与 must-testing 指称语义,证明计算充分,即便无界情形的 must-testing 不连续。对有界情形,证明连续模型相对 may/must 测试完全抽象,并给出可作无类型 λ 演算基础的泛型;对无界情形,指出模型含不可由项定义的 computable 函数,故不完全抽象。

问题
如何统一刻画带非确定性函数式程序的外延与内涵语义,并厘清有界/无界选择下 may/must 测试的语义与完全抽象性。
方法
使用双序间保持结构的函数与有序具体数据结构上的非确定顺序算法,建立外延与内涵表示的等价;据此定义 may/must 指称语义并证明计算充分,借助泛型与弱连续性分析完全抽象。
评估
通过证明计算充分性、有界情形的完全抽象性,以及无界情形的不完全抽象性(模型含不可由项定义的可计算函数)来评估。
原文摘要(Abstract)

We give extensional and intensional characterizations of functional programs with nondeterminism: as structure preserving functions between biorders, and as nondeterministic sequential algorithms on ordered concrete data structures which compute them. A fundamental result establishes that these extensional and intensional representations are equivalent, by showing how to construct the unique sequential algorithm which computes a given monotone and stable function, and describing the conditions on sequential algorithms which correspond to continuity with respect to each order. We illustrate by defining may-testing and must-testing denotational semantics for sequential functional languages with bounded and unbounded choice operators. We prove that these are computationally adequate, despite the non-continuity of the must-testing semantics of unbounded nondeterminism. In the bounded case, we prove that our continuous models are fully abstract with respect to may-testing and must-testing by identifying a simple universal type, which may also form the basis for models of the untyped {\lambda}-calculus. In the unbounded case we observe that our model contains computable functions which are not denoted by terms, by identifying a further "weak continuity" property of the definable elements, and use this to establish that it is not fully abstract.

链接与引用

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

BibTeX
@article{paperbot1263,
  title = {Extensional and Intensional Semantics of Bounded and Unbounded Nondeterminism},
  author = {James Laird},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 17, Issue 4},
  year = {2021},
  doi = {10.46298/lmcs-17(4:11)2021}
}