Ranking and Repulsing Supermartingales for Reachability in Probabilistic Programs
Toru Takisaka, Yuichiro Oyabu, Natsuki Urabe, Ichiro Hasuo
Ranking and Repulsing Supermartingales for Reachability in - - PowerPoint PPT Presentation
Ranking and Repulsing Supermartingales for Reachability in Probabilistic Programs Toru Takisaka, Yuichiro Oyabu, Natsuki Urabe, Ichiro Hasuo A robot resolves a set of tasks Mode 1: safe mode N tasks Mode 1: safe mode 3 min. N-1 tasks N tasks
Toru Takisaka, Yuichiro Oyabu, Natsuki Urabe, Ichiro Hasuo
Input: probabilistic program
Input: probabilistic program
branching
Input: probabilistic program
branching
assignment
(under angelic/demonic scheduler) Input: probabilistic program Problem
We admit continuous variable ⇒Generally one can’t compute this value efficiently
branching
assignment
Input: probabilistic program
branching
assignment
(under angelic/demonic scheduler) Problem
We admit continuous variable ⇒Generally one can’t compute this value efficiently
(Agrawal+, POPL’18)
Probabilistic modification of real-world benchmarks
(in Alias+, SAS’10)
Almost-sure termination is certified in 20/28 examples
(Steinhardt-Tedrake, IJRR’12)
System: a pendulum under Gaussian noise
(Pr(enter a bad state) <1%)
The log-base-10 of the failure probability (failure = within 1h)
finite
finite
finite
finite
finite
𝟔
(Locations) (Variables)
Problem
finite
Int-valued
Int-valued
Int-valued
decreases at least 1
decreases at least 1
𝑦
𝑦
𝑦
𝑦
𝑦
approximation methods via fixed point argument
under angelic/demonic nondeterminism
approximation methods via fixed point argument
under angelic/demonic nondeterminism
are
are …under angelic/demonic scheduler
(
(
Known Partly known Partly known Not known
… the set of all (measurable) functions
… the set of all (measurable) functions
… the set of all (measurable) functions
… the set of all (measurable) functions
… the set of all (measurable) functions
… the set of all (measurable) functions
approximation methods via fixed point argument
under angelic/demonic nondeterminism
Approximation method It certifies Soundness Completeness Additive ranking Supermartingale
(Chakarov-Sankaranarayanan, CAV’13 etc.)
Yes (MDP, continuous variable) Yes (MDP, discrete variable) Nonnegative repulsing supermartingale
(Steinhardt+, IJRR’12 etc.)
Yes (Markov Chain)
(Urabe+, LICS‘17)
Yes (Markov Chain)
supermartingale
(Chatterjee+, POPL’17)
Yes (MDP, continuous variable, linearity assumpt.)
Approximation method It certifies Soundness Completeness Additive ranking Supermartingale
(Chakarov-Sankaranarayanan, CAV’13 etc.)
Yes (MDP, continuous variable) Yes (MDP, discrete variable) Nonnegative repulsing supermartingale
(Steinhardt+, IJRR’12 etc.)
Yes (Markov Chain)
(Urabe+, LICS‘17)
Yes (Markov Chain)
supermartingale
(Chatterjee+, POPL’17)
Yes (MDP, continuous variable, linearity assumpt.)
Yes (MDP, continuous variable) No Yes (MDP, continuous variable)
approximation methods via fixed point argument
under angelic/demonic nondeterminism
methods via fixed point argument