Synthesizing Probabilistic Invariants via Doob's Decomposition

Abstract : When analyzing probabilistic computations, a powerful approach is to first find a martingale—an expression on the program variables whose expectation remains invariant—and then apply the optional stopping theorem in order to infer properties at termination time. One of the main challenges, then, is to systematically find martingales. We propose a novel procedure to synthesize martingale expressions from an arbitrary initial expression. Contrary to state-of-the-art approaches, we do not rely on constraint solving. Instead, we use a symbolic construction based on Doob's decomposition. This procedure can produce very complex martingales, expressed in terms of conditional expectations. We show how to automatically generate and simplify these martingales, as well as how to apply the optional stopping theorem to infer properties at termination time. This last step typically involves some simplification steps, and is usually done manually in current approaches. We implement our techniques in a prototype tool and demonstrate our process on several classical examples. Some of them go beyond the capability of current semi-automatic approaches.
Document type :
Conference papers
Liste complète des métadonnées

Cited literature [33 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-01561429
Contributor : Thomas Espitau <>
Submitted on : Wednesday, July 12, 2017 - 5:13:04 PM
Last modification on : Thursday, March 21, 2019 - 1:03:52 PM
Document(s) archivé(s) le : Thursday, January 25, 2018 - 1:23:32 AM

File

Martingales.pdf
Files produced by the author(s)

Identifiers

Citation

Gilles Barthe, Thomas Espitau, Luis María Ferrer Fioriti, Justin Hsu. Synthesizing Probabilistic Invariants via Doob's Decomposition. 28th International Conference on Computer Aided Verification , Jul 2016, Toronto, Canada. pp.43-61, ⟨10.1007/978-3-319-41528-4_3⟩. ⟨hal-01561429⟩

Share

Metrics

Record views

65

Files downloads

59