paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Demonic Outcome Logic for Randomized Nondeterminism

面向随机非确定性的 Demonic Outcome Logic
POPL 9(POPL)2025匹配度 3/10 · 论文属于概率程序验证/程序逻辑方向,处理随机与恶魔非确定性,与用户核心关注的浮点程序分析、贝叶斯程序分析及 LLM/静态分析交叉均无直接关联;仅可视为概率程序分析的形式化基础,匹配度较低。引用 14 inbox
Noam Zilberstein, Dexter Kozen, Alexandra Silva, Joseph Tassarotti
crossref: 2026-09-10

AI 速览

一句话:提出 Demonic Outcome Logic,统一推理同时含随机选择与恶魔非确定性的程序,并支持循环终止与结果分布量化。

密码学与机器学习等应用常使用随机化,但程序还可能同时包含非确定性(用于并发、效率或算法设计),现有随机程序分析难以覆盖二者交织的情形。本文提出 Demonic Outcome Logic,用于推理同时利用随机化和恶魔非确定性的程序。该逻辑支持并行分析多次执行,并可用等式定律操作前后条件,包括概率选择对非确定性选择的分配律;其循环规则能由单一前提同时证明终止并量化最终结果的分布。作者通过 Monty Hall、对抗性公平硬币模拟协议以及基于启发式的概率 SAT 求解器等案例展示推理能力。

问题
现有随机程序分析大多不考虑程序同时具有的非确定性选择,而并发、效率优化和算法设计中常需要这种非确定性,因此缺少能统一处理随机性与恶魔非确定性的推理方法。
方法
论文提出 Demonic Outcome Logic,包含多次执行并行推理、前后条件的等式变换(如概率选择对非确定选择的分配律),以及能同时给出终止性和最终结果分布的循环规则。
评估
通过 Monty Hall 问题、对抗性公平硬币模拟协议和启发式概率 SAT 求解器等案例研究,展示该逻辑的表达与推理能力。
原文摘要(Abstract)

Programs increasingly rely on randomization in applications such as cryptography and machine learning. Analyzing randomized programs has been a fruitful research direction, but there is a gap when programs also exploit nondeterminism(for concurrency, efficiency, or algorithmic design). In this paper, we introduce Demonic Outcome Logic for reasoning about programs that exploit both randomization and nondeterminism. The logic includes several novel features, such as reasoning about multiple executions in tandem and manipulating pre- and postconditions using familiar equational laws—including the distributive law of probabilistic choices over nondeterministic ones. We also give rules for loops that both establish termination and quantify the distribution of final outcomes from a single premise. We illustrate the reasoning capabilities of Demonic Outcome Logic through several case studies, including the Monty Hall problem, an adversarial protocol for simulating fair coins, and a heuristic based probabilistic SAT solver.

链接与引用

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

BibTeX
@article{abs-2410-22540,
  title = {A Demonic Outcome Logic for Randomized Nondeterminism},
  author = {Noam Zilberstein and Dexter Kozen and Alexandra Silva and Joseph Tassarotti},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {POPL},
  year = {2025},
  doi = {10.1145/3704855}
}