Alternating nonzero automata

Similar documents
Quasi-Weak Cost Automata

Visibly Linear Dynamic Logic

Semi-Automatic Distributed Synthesis

Automata, Logic and Games: Theory and Application

Boundedness Games. Séminaire de l équipe MoVe, LIF, Marseille, May 2nd, Nathanaël Fijalkow. Institute of Informatics, Warsaw University Poland

Boundedness Games. Séminaire du LIGM, April 16th, Nathanaël Fijalkow. Institute of Informatics, Warsaw University Poland

Modal and Temporal Logics

Languages, logics and automata

Partially Ordered Two-way Büchi Automata

Automata, Logic and Games: Theory and Application

Finite Automata and Languages

Büchi Automata and Their Determinization

Discrete Event Systems Exam

Overlapping tile automata:

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège

Lecture 24: Randomized Complexity, Course Summary

The purpose here is to classify computational problems according to their complexity. For that purpose we need first to agree on a computational

Counter Automata and Classical Logics for Data Words

Solving Partial-Information Stochastic Parity Games

From Liveness to Promptness

Deciding the weak definability of Büchi definable tree languages

Reasoning about Strategies: From module checking to strategy logic

Weak Cost Monadic Logic over Infinite Trees

Alan Bundy. Automated Reasoning LTL Model Checking

Büchi Automata and their closure properties. - Ajith S and Ankit Kumar

Chapter 3. Regular grammars

Simplification of finite automata

Tree Automata and Rewriting

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics

Two-Way Cost Automata and Cost Logics over Infinite Trees

Strategy Logic. 1 Introduction. Krishnendu Chatterjee 1, Thomas A. Henzinger 1,2, and Nir Piterman 2

Complexity Bounds for Muller Games 1

Monadic Second Order Logic and Automata on Infinite Words: Büchi s Theorem

Rabin Theory and Game Automata An Introduction

Automata-Theoretic LTL Model-Checking

Chapter 5 The Witness Reduction Technique

Logic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014

Note on winning positions on pushdown games with omega-regular winning conditions

Theoretical Computer Science

Sri vidya college of engineering and technology

Randomness for Free. 1 Introduction. Krishnendu Chatterjee 1, Laurent Doyen 2, Hugo Gimbert 3, and Thomas A. Henzinger 1

Complexity of infinite tree languages

On positional strategies over finite arenas

The Planning Spectrum One, Two, Three, Infinity

On the complexity of infinite computations

Decision Procedures for CTL

Lecture 23: More PSPACE-Complete, Randomized Complexity

Weak Alternating Automata Are Not That Weak

Synthesis of Asynchronous Systems

Theory of Computation p.1/?? Theory of Computation p.2/?? Unknown: Implicitly a Boolean variable: true if a word is

Generalized Parity Games

CS 455/555: Finite automata

The Non-Deterministic Mostowski Hierarchy and Distance-Parity Automata

Definition of Büchi Automata

CS 154, Lecture 2: Finite Automata, Closure Properties Nondeterminism,

Lecturecise 22 Weak monadic second-order theory of one successor (WS1S)

Expressive power of pebble automata

Logical Characterization of Weighted Pebble Walking Automata

The space complexity of a standard Turing machine. The space complexity of a nondeterministic Turing machine

Regular Strategies In Pushdown Reachability Games

From Monadic Second-Order Definable String Transformations to Transducers

Deterministic PDA s. Deepak D Souza. 21 October Department of Computer Science and Automation Indian Institute of Science, Bangalore.

Further discussion of Turing machines

Chapter 5. Finite Automata

ERICH GRÄDEL a AND IGOR WALUKIEWICZ b. address: address:

1 More finite deterministic automata

CPSC 421: Tutorial #1

Pushdown Games with Unboundedness and Regular Conditions

Counting in trees. Helmut Seidl 1 Thomas Schwentick 2 Anca Muscholl 3. 1 Introduction

Computer-Aided Program Design

Query Reasoning on Data Trees with Counting

Alternating Time Temporal Logics*

2. Elements of the Theory of Computation, Lewis and Papadimitrou,

FINITE MEMORY DETERMINACY

Antichain Algorithms for Finite Automata

Time and space classes

Functional Reachability

6.045: Automata, Computability, and Complexity (GITCS) Class 17 Nancy Lynch

Algorithmic Reasoning about Böhm Trees

arxiv:cs/ v2 [cs.lo] 24 Aug 2006

CS 208: Automata Theory and Logic

CHURCH SYNTHESIS PROBLEM and GAMES

The Wadge Hierarchy of Deterministic Tree Languages

Stochastic Games with Time The value Min strategies Max strategies Determinacy Finite-state games Cont.-time Markov chains

Synthesis from Probabilistic Components

Lecture 2: Connecting the Three Models

Probabilistic Weighted Automata

Optimal Bounds in Parametric LTL Games

On Recognizable Languages of Infinite Pictures

arxiv:cs/ v1 [cs.lo] 8 Dec 2005

On Recognizable Languages of Infinite Pictures

Lecture 23 : Nondeterministic Finite Automata DRAFT Connection between Regular Expressions and Finite Automata

Parity games played on transition graphs of one-counter processes

Decidable and Expressive Classes of Probabilistic Automata

COM364 Automata Theory Lecture Note 2 - Nondeterminism

Satisfiability of Downward XPath with Data Equality Tests

Temporal logics and model checking for fairly correct systems

Partially Ordered Two-way Büchi Automata

SEPARATING REGULAR LANGUAGES WITH FIRST-ORDER LOGIC

A Generalization of Cobham s Theorem to Automata over Real Numbers 1

Transcription:

Alternating nonzero automata Application to the satisfiability of CTL [,, P >0, P =1 ] Hugo Gimbert, joint work with Paulin Fournier LaBRI, Université de Bordeaux ANR Stoch-MC 06/07/2017

Control and verification of probabilistic systems Logic (specification): CTL [,, P >0, P =1 ] Automata (compilation): nonzero automata. Games (algorithms): global winning condition.

Binary trees Full binary tree {0, 1} labelled with {a, b} Random walk, Markov chain A node = flip fair coin

Trees whose branches have finitely many a for sure almost-surely with positive probability

Nonzero automata [Bojanczyk,16] A = (Q,, Σ,, F, F 1, F >0 ) (Q, ) ordered finite set of states Alphabet Σ Transitions Q Σ Q Q Acceptance conditions F 1 F Q and F >0 Q Run on input tree t : {0, 1} Σ ρ : {0, 1} Q consistent with Acceptance condition Limsup of a branch Q Q F for every branch Q F 1 for almost every branch Each time the run enters F >0 it stays in F >0 with positive probability

Example Below every a there is a b Below every a there is positive probability to never see b Almost surely a branch has finitely many b

Example Below every a there is a b Below every a there is positive probability to never see b Almost surely a branch has finitely many b Q? A B (?:looks for b, B: found b, A nothing)

Example Below every a there is a b Below every a there is positive probability to never see b Almost surely a branch has finitely many b Q? A B (?:looks for b, B: found b, A nothing) (q, a, (?, A)), (q, a, (A,?)), (q, b, (B, B))

Example Below every a there is a b Below every a there is positive probability to never see b Almost surely a branch has finitely many b Q? A B (?:looks for b, B: found b, A nothing) (q, a, (?, A)), (q, a, (A,?)), F A, B (does not look for b forever) (q, b, (B, B))

Example Below every a there is a b Below every a there is positive probability to never see b Almost surely a branch has finitely many b Q? A B (?:looks for b, B: found b, A nothing) (q, a, (?, A)), (q, a, (A,?)), F A, B (does not look for b forever) F 1 A (does not see B infinitely often) (q, b, (B, B))

Example Below every a there is a b Below every a there is positive probability to never see b Almost surely a branch has finitely many b Q? A B (?:looks for b, B: found b, A nothing) (q, a, (?, A)), (q, a, (A,?)), F A, B (does not look for b forever) F 1 A (does not see B infinitely often) (q, b, (B, B)) F >0?, A positive probability to never see b again

Example Below every a there is a b Below every a there is positive probability to never see b Almost surely a branch has finitely many b

Deciding Emptiness Theorem (Bojanczyk,Fournier,Gimbert,Kelmendi,17) Emptiness of nonzero automata is decidable in np conp. ptime for F -trivial automata (F = Q), Equivalent to solving a parity game of exponential size. Strategies of the players can be represented concisely.

Alternating nonzero automata A = (Q, Q E, Q A, Σ,, F, F 1, F >0 ) Two players Eve and Adam Q partitioned in Q E, Q A Local transitions (q, a, r) Split transitions (q, a, q 0, q 1 ) (stays in place) (moves in the tree)

Alternating nonzero automata A = (Q, Q E, Q A, Σ,, F, F 1, F >0 ) Two players Eve and Adam Q partitioned in Q E, Q A Local transitions (q, a, r) Split transitions (q, a, q 0, q 1 ) (stays in place) (moves in the tree) Acceptance game on input tree t : {0, 1} Σ Vertices = pairs (n, q) with n node in {0, 1} and q Q, Local move: (n, q) (n, r) whenever (q, t(n), r), Split move: (n, q) 1 2 (n0, q 0) + 1 2 (n1, q 1) whenever (q, t(n), q 0, q 1 ) Eve wins if Q F for sure, Q F 1 almost-surely and whenever the play enters F >0 it stays in F >0 with positive probability.

Alternating nonzero automata Closure properties Intersection (Adam choice) Union (Eve choice) Complement? open Emptiness? open A nice sub-class Similar to limited-alternation automata (Kupferman Vardi Wolper) One canonical choice for Adam in each state, other choices strictly increase the rank. = ultimately only Eve has control

Limited choice Lemma The acceptance game is determined: either Eve or Adam has a winning strategy. Moreover, positional strategies are enough for Eve to win the acceptance game. A positional strategy of Eve σ : {0, 1} Q E represented as a tree {0, 1} Q E. Theorem The language of positional winning strategies of Eve can be recognized by a non-deterministic automaton of exponential size. Corollary: emptiness is decidable in nexptime co-nexptime.

Theorem The language of positional winning strategies of Eve can be recognized by a non-deterministic automaton of exponential size. Deterministic automata: guess a play with Q F Nonzero automata: check that all probability distributions that Adam can generate are surely+almost-surely+positively accepting. Technical challenge: checking in parallel several nonzero-conditions.

Satisfiability of CTL [,, P >0, P =1 ] State formulas φ. Path formulas ψ. φ = a Σ ψ ψ P >0 (ψ) P =1 (ψ) ψ = X ψ ψuψ Gψ φ + boolean connectives.

Satisfiability of CTL [,, P >0, P =1 ] State formulas φ. Path formulas ψ. φ = a Σ ψ ψ P >0 (ψ) P =1 (ψ) ψ = X ψ ψuψ Gψ φ + boolean connectives. Conversion from CTL [,, P >0, P =1 ] to alternating automata. [,, P >0, P =1 ] CTL 3-nexptime co-3-nexptime CTL nexptime co-nexptime Known results [Brazdil et al.]. [P >0, P =1 ] CTL 3-exptime CTL exptime

Conclusion Alternating nonzero automata with limited choice. Application: satisfiability of CTL [,, P >0, P =1 ]. Future work Complementing and deciding emptiness in general. Games. Decidability of MSO?