Bounded expectations: resource analysis for probabilistic programs

VC Ngo, Q Carbonneaux, J Hoffmann - ACM SIGPLAN Notices, 2018 - dl.acm.org
This paper presents a new static analysis for deriving upper bounds on the expected
resource consumption of probabilistic programs. The analysis is fully automatic and derives …

Weakest precondition reasoning for expected runtimes of randomized algorithms

BL Kaminski, JP Katoen, C Matheja… - Journal of the ACM (JACM …, 2018 - dl.acm.org
This article presents a wp--style calculus for obtaining bounds on the expected runtime of
randomized algorithms. Its application includes determining the (possibly infinite) expected …

Cost analysis of nondeterministic probabilistic programs

P Wang, H Fu, AK Goharshady, K Chatterjee… - Proceedings of the 40th …, 2019 - dl.acm.org
We consider the problem of expected cost analysis over nondeterministic probabilistic
programs, which aims at automated methods for analyzing the resource-usage of such …

Automated expected amortised cost analysis of probabilistic data structures

L Leutgeb, G Moser, F Zuleger - International Conference on Computer …, 2022 - Springer
In this paper, we present the first fully-automated expected amortised cost analysis of self-
adjusting data structures, that is, of randomised splay trees, randomised splay heaps and …

Raising expectations: automating expected cost analysis with types

D Wang, DM Kahn, J Hoffmann - Proceedings of the ACM on …, 2020 - dl.acm.org
This article presents a type-based analysis for deriving upper bounds on the expected
execution cost of probabilistic programs. The analysis is naturally compositional, parametric …

A modular cost analysis for probabilistic programs

M Avanzini, G Moser, M Schaper - Proceedings of the ACM on …, 2020 - dl.acm.org
We present a novel methodology for the automated resource analysis of non-deterministic,
probabilistic imperative programs, which gives rise to a modular approach. Program …

Type-based complexity analysis of probabilistic functional programs

M Avanzini, U Dal Lago… - 2019 34th Annual ACM …, 2019 - ieeexplore.ieee.org
We show that complexity analysis of probabilistic higher-order functional programs can be
carried out compositionally by way of a type system. The introduced type system is a …

Automated tail bound analysis for probabilistic recurrence relations

Y Sun, H Fu, K Chatterjee, AK Goharshady - International Conference on …, 2023 - Springer
Probabilistic recurrence relations (PRRs) are a standard formalism for describing the
runtime of a randomized algorithm. Given a PRR and a time limit κ, we consider the tail …

On continuation-passing transformations and expected cost analysis

M Avanzini, G Barthe, U Dal Lago - Proceedings of the ACM on …, 2021 - dl.acm.org
We define a continuation-passing style (CPS) translation for a typed λ-calculus with
probabilistic choice, unbounded recursion, and a tick operator—for modeling cost. The …

Automated reasoning and randomization in separation logic

C Matheja, R Iosif, JP Katoen - 2020 - publications.rwth-aachen.de
Wir studieren drei Aspekte der Programmverifikation mit Separation Logic (SL): 1. Die
Analyse quantitativer Eigenschaften, wie zB die Wahrscheinlichkeit der Terminierung ohne …