A Calculus for Amortized Expected Runtimes
Kevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen, Christoph, Matheja, Lena Verscht

TL;DR
This paper introduces the aertb4 calculus, a formal framework for reasoning about the amortized expected runtimes of randomized algorithms with dynamic memory, combining potential method and separation logic.
Contribution
It develops the aertb4 calculus, extending the ertb4 calculus with potential method and signed variables for amortized analysis of randomized data structures.
Findings
Soundness of the aertb4 calculus with respect to operational models
Provision of proof rules for separation logic-style verification
Case studies including analysis of randomized data structures
Abstract
We develop a weakest-precondition-style calculus \`a la Dijkstra for reasoning about amortized expected runtimes of randomized algorithms with access to dynamic memory - the calculus. Our calculus is truly quantitative, i.e. instead of Boolean valued predicates, it manipulates real-valued functions. En route to the calculus, we study the calculus for reasoning about expected runtimes of Kaminski et al. [2018] extended by capabilities for handling dynamic memory, thus enabling compositional and local reasoning about randomized data structures. This extension employs runtime separation logic, which has been foreshadowed by Matheja [2020] and then implemented in Isabelle/HOL by Haslbeck [2021]. In addition to Haslbeck's results, we further prove soundness of the so-extended calculus with respect to an operational Markov…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, Reasoning, and Knowledge · Semantic Web and Ontologies · Bayesian Modeling and Causal Inference
