The extension of classical imperative programs with real-valued random variables and random branching gives rise to probabilistic programs. The termination problem is one of the most fundamental liveness properties for such programs. The qualitative (aka almost-sure) termination problem asks whether a given program terminates with probability 1. Ranking functions provide a sound and complete approach for termination of non-probabilistic programs, and their extension to probabilistic programs is achieved via ranking supermartingales (RSMs). RSMs have been extended to lexicographic RSMs to handle programs with involved control-flow structure, as well as for compositional approach. There are two key limitations of the existing RSM-based approaches: First, the lexicographic RSM-based approach requires a strong nonnegativity assumption, which need not always be satisfied. The second key limitation of the existing RSM-based algorithmic approaches is that they rely on pre-computed invariants. The main drawback of relying on pre-computed invariants is the insufficiency-inefficiency trade-off: weak invariants might be insufficient for RSMs to prove termination, while using strong invariants leads to inefficiency in computing them. Our contributions are twofold: First, we show how to relax the strong nonnegativity condition and still provide soundness guarantee for almost-sure termination. Second, we present an incremental approach where the process of computing lexicographic RSMs proceeds by iterative pruning of parts of the program that were already shown to be terminating, in cooperation with a safety prover. In particular, our technique does not rely on strong pre-computed invariants. We present experimental results to show the applicability of our approach to examples of probabilistic programs from the literature.


翻译:具有真正估价随机变量和随机分流的经典必要程序扩展为具有真实随机变量和随机分流的经典必要程序,从而产生概率性程序。终止问题是目前基于 RSM 方法的最基本活性特性之一。 质( 几乎确定) 终止问题在于某个特定程序是否终止概率。 排序功能为终止非概率性程序提供了健全和完整的方法,而其延伸至概率性程序则通过排序超常性来实现。 RSM 已经扩展至包含控制流结构以及组成方法的系统化RSM 程序。 终止问题是目前基于 RSM 方法的最基本活性特性之一。 首先, 基于 语法的 RSM 方法需要强有力的非增强性假设。 以 RSM 为基础的逻辑性方法的第二个关键限制是, 依赖预合成变异性程序。 依赖预变异性数据的主要缺陷是, 缺乏效率的交易: 对于基于 RSMMS 的第二次变异性数据分析方法可能不够充分, 无法证明它的存在性, 而基于 精确性程序, 几乎可以证明 我们的解变现性程序, 显示我们 的精确性 的精确性程序是如何显示我们目前 的 的 的 的 的 的稳定性 的 的 的 的 的 。

0
下载
关闭预览

相关内容

iOS 8 提供的应用间和应用跟系统的功能交互特性。
  • Today (iOS and OS X): widgets for the Today view of Notification Center
  • Share (iOS and OS X): post content to web services or share content with others
  • Actions (iOS and OS X): app extensions to view or manipulate inside another app
  • Photo Editing (iOS): edit a photo or video in Apple's Photos app with extensions from a third-party apps
  • Finder Sync (OS X): remote file storage in the Finder with support for Finder content annotation
  • Storage Provider (iOS): an interface between files inside an app and other apps on a user's device
  • Custom Keyboard (iOS): system-wide alternative keyboards

Source: iOS 8 Extensions: Apple’s Plan for a Powerful App Ecosystem
专知会员服务
28+阅读 · 2021年8月2日
机器学习组合优化
专知会员服务
106+阅读 · 2021年2月16日
强化学习最新教程,17页pdf
专知会员服务
168+阅读 · 2019年10月11日
【SIGGRAPH2019】TensorFlow 2.0深度学习计算机图形学应用
专知会员服务
39+阅读 · 2019年10月9日
已删除
将门创投
3+阅读 · 2019年9月4日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
Arxiv
0+阅读 · 2021年10月5日
Arxiv
7+阅读 · 2019年6月20日
VIP会员
相关资讯
已删除
将门创投
3+阅读 · 2019年9月4日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
Top
微信扫码咨询专知VIP会员