z-logo
open-access-imgOpen Access
Quantitative static analysis of communication protocols using abstract Markov chains
Author(s) -
Abdelraouf Ouadjaout,
Antoine Miné
Publication year - 2019
Publication title -
formal methods in system design
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.334
H-Index - 54
eISSN - 1572-8102
pISSN - 0925-9856
DOI - 10.1007/s10703-019-00331-2
Subject(s) - computer science , markov chain , abstract interpretation , probabilistic logic , theoretical computer science , parametric statistics , algorithm , model checking , artificial intelligence , mathematics , machine learning , statistics
In this paper we present a static analysis of probabilistic programs to quantify their performance properties by taking into account both the stochastic aspects of the language and those related to the execution environment. More particularly, we are interested in the analysis of communication protocols in lossy networks and we aim at inferring statically parametric bounds of some important metrics such as the expectation of the throughput or the energy consumption. Our analysis is formalized within the theory of abstract interpretation and soundly takes all possible executions into account. We model the concrete executions as a set of Markov chains and we introduce a novel notion of abstract Markov chains that provides a finite and symbolic representation to over-approximate the (possibly unbounded) set of concrete behaviors. We show that our proposed formalism is expressive enough to handle both probabilistic and pure non-deterministic choices within the same semantics. Our analysis operates in two steps. The first step is a classic abstract interpretation of the source code, using stock numerical abstract domains and a specific automata domain, in order to extract the abstract Markov chain of the program. The second step extracts from this chain particular invariants about the stationary distribution and computes its symbolic bounds using a parametric Fourier–Motzkin elimination algorithm. We present a prototype implementation of the analysis and we discuss some preliminary experiments on a number of communication protocols. We compare our prototype to the state-of-the-art probabilistic model checker Prism and we highlight the advantages and shortcomings of both approaches.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom