Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy PLAYING SAVITCH Peter van Emde Boas ILLC-FNWI-Univ. of Amsterdam Bronstee.com Software and Services.

Slides:



Advertisements
Similar presentations
Models of Computation Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Analysis of Algorithms Week 1, Lecture 2.
Advertisements

Complexity Theory Lecture 6
Shortest Vector In A Lattice is NP-Hard to approximate
Peter van Emde Boas: So you think you can play this game ? Symposium Driven by Search, Maastricht, So you think you can Play this Game Peter van.
Lecture 16 Deterministic Turing Machine (DTM) Finite Control tape head.
1 Savitch and Immerman- Szelepcsènyi Theorems. 2 Space Compression  For every k-tape S(n) space bounded offline (with a separate read-only input tape)
Automatic Verification Book: Chapter 6. What is verification? Traditionally, verification means proof of correctness automatic: model checking deductive:
Complexity Theory Lecture 3 Lecturer: Moni Naor. Recap Last week: Non deterministic communication complexity Probabilistic communication complexity Their.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
1 Space Complexity. 2 Def: Let M be a deterministic Turing Machine that halts on all inputs. Space Complexity of M is the function f:N  N, where f(n)
Peter van Emde Boas: Games and Complexity Guangzhou 2009 Complexity, Speed-up and Compression Games and Complexity Peter van Emde Boas Guangzhou 2009 ©
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen.
Dana Moshkovitz. Back to NP L  NP iff members have short, efficiently checkable, certificates of membership. Is  satisfiable?  x 1 = truex 11 = true.
Alternation Alternation: generalizes non-determinism, where each state is either “existential” or “universal”: Old: existential states New: universal states.
Progressively Finite Games
Peter van Emde Boas: Imperfect Information Games; looking for the right model. IMPERFECT INFORMATION GAMES looking for the right Model Peter van Emde Boas.
Complexity 12-1 Complexity Andrei Bulatov Non-Deterministic Space.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
Complexity 26-1 Complexity Andrei Bulatov Interactive Proofs.
Peter van Emde Boas: The Games of Computer Science, April 2000 THE CONNECTION BETWEEN GAMES AND COMPUTER SCIENCE Peter van Emde Boas ILLC-FNWI-Univ. of.
Introduction to Computability Theory
Peter van Emde Boas: Games and Computer Science 1999 Speed-up and Compression Theoretical Models 1999 Peter van Emde Boas References available at:
Computability and Complexity 19-1 Computability and Complexity Andrei Bulatov Non-Deterministic Space.
Peter van Emde Boas: Imperfect Information Games; what makes them Hard to Analyze. IMPERFECT INFORMATION GAMES; what makes them Hard to Analyze ? Peter.
1 Operational Semantics Mooly Sagiv Tel Aviv University Textbook: Semantics with Applications.
Courtesy Costas Busch - RPI1 NPDAs Accept Context-Free Languages.
1 Fault-Tolerant Consensus. 2 Failures in Distributed Systems Link failure: A link fails and remains inactive; the network may get partitioned Crash:
Validating Streaming XML Documents Luc Segoufin & Victor Vianu Presented by Harel Paz.
Near-Optimal Network Design with Selfish Agents By Elliot Anshelevich, Anirban Dasgupta, Eva Tardos, Tom Wexler STOC’03 Presented by Mustafa Suleyman CIFTCI.
Game of Chaos: 35e Nederlands Mathematisch Congres Utrecht;   The Game of Chaos Peter.
Review of the automata-theoretic approach to model-checking.
DANSS Colloquium By Prof. Danny Dolev Presented by Rica Gonen
Peter van Emde Boas: Games in Computation and Complexity Theory Games in Computation and Complexity Theory Peter van Emde Boas ILLC-FNWI-Univ.
Peter van Emde Boas: The Games of Computer Science. THE GAMES OF COMPUTER SCIENCE Peter van Emde Boas ILLC-FNWI-Univ. of Amsterdam References and slides.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
PSPACE-Completeness Section 8.3 Giorgi Japaridze Theory of Computability.
C OURSE : D ISCRETE STRUCTURE CODE : ICS 252 Lecturer: Shamiel Hashim 1 lecturer:Shamiel Hashim second semester Prepared by: amani Omer.
Definition: Let M be a deterministic Turing Machine that halts on all inputs. Space Complexity of M is the function f:N  N, where f(n) is the maximum.
Methods of Proof & Proof Strategies
Games and Complexity, Guangzhou Peter van Emde Boas KNOW YOUR NUMBERS ! The Impact of Complexity a short intro in Complexity theory Peter van Emde.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen Department of Computer Science University of Texas-Pan American.
Introduction to Proofs
1 Chapter 9 PSPACE: A Class of Problems Beyond NP Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.
Section 1.8. Section Summary Proof by Cases Existence Proofs Constructive Nonconstructive Disproof by Counterexample Nonexistence Proofs Uniqueness Proofs.
Peter van Emde Boas: Games and Computer Science 1999 GAMES AND COMPUTER SCIENCE Theoretical Models 1999 Peter van Emde Boas References available at:
Space Complexity. Reminder: P, NP classes P NP is the class of problems for which: –Guessing phase: A polynomial time algorithm generates a plausible.
1 Parallel Model Checking Game for CTL Lecture 6 – Lecturer: Orna Grumberg.
A Problem That Is Complete for PSPACE (Polynomial Space) BY TEJA SUDHA GARIGANTI.
Predicate Abstraction. Abstract state space exploration Method: (1) start in the abstract initial state (2) use to compute reachable states (invariants)
Pumping with Al and Izzy Richard Beigel CIS Temple University.
Some Properties of Switching Games on oriented Matroids. Adrien Vieilleribière. LRI Université Paris-Sud. joint work with David Forge. LRI Université Paris-Sud.
Introduction to State Space Search
Lecture 21 Reducibility. Many-one reducibility For two sets A c Σ* and B c Γ*, A ≤ m B if there exists a Turing-computable function f: Σ* → Γ* such that.
Complexity 24-1 Complexity Andrei Bulatov Interactive Proofs.
Space Complexity. Reminder: P, NP classes P is the class of problems that can be solved with algorithms that runs in polynomial time NP is the class of.
Operational Semantics Mooly Sagiv Tel Aviv University Sunday Scrieber 8 Monday Schrieber.
Theory of Computational Complexity Yuji Ishikawa Avis lab. M1.
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
Chapter 5 Adversarial Search. 5.1 Games Why Study Game Playing? Games allow us to experiment with easier versions of real-world situations Hostile agents.
Complexity 27-1 Complexity Andrei Bulatov Interactive Proofs (continued)
Complexity of Compositional Model Checking of Computation Tree Logic on Simple Structures Krishnendu Chatterjee Pallab Dasgupta P.P. Chakrabarti IWDC 2004,
Proof And Strategies Chapter 2. Lecturer: Amani Mahajoub Omer Department of Computer Science and Software Engineering Discrete Structures Definition Discrete.
Theory of Computational Complexity Probability and Computing Chapter Hikaru Inada Iwama and Ito lab M1.
Great Theoretical Ideas in Computer Science
Geography Game Geography. Amy names capital city c of country she is in. Bob names a capital city c' that starts with the letter on which c ends. Amy.
The Foundations: Logic and Proofs
Alternating tree Automata and Parity games
Theory of Computability
LECTURE 2-9 PSPACE-Complete
Intro to Theory of Computation
Presentation transcript:

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy PLAYING SAVITCH Peter van Emde Boas ILLC-FNWI-Univ. of Amsterdam Bronstee.com Software and Services References and slides available at: © Games Workshop SOFSEM MILOVY = : = :

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy Walter Savitch ICSOR; CWI, Aug 1976 San Diego, Oct 1983 © Peter van Emde Boas

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy THE STATE OF THE ART So far the connection between PSPACE and Games is established indirectly, using either Alternation or QBF (or both) as intermediate. In the Literature occasionally the same holds for the reverse connection: (this game can be analysed in PSPACE because it can be analyzed in Polynomial Time on a ATM....) A direct approach is possible !

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy A DIRECT CONNECTION FINITE COMBINATORIAL GAMES PSPACE QUANTIFIED PROPOSITIONAL LOGIC: ALTERNATION UNRESTRICTED UNIFORM PARALLELISM

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy Extensive Form - close to Computation Game Trees (Extensive Form - close to Computation) Root Terminal node: T’s turn U’s turn Terminal node: Non Zero-Sum Game: Payoffs explicitly designated at terminal node 2 / 02 / 0 5 / -71 / 4 -1 / 4 3 / 13 / 1 -3 / 21 / -1

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy Backward Induction Root Terminal node: T’s turn U’s turn Terminal node: Non Zero-Sum Game: Pay-offs computed for all game nodes including the Root. 2 / 02 / 0 5 / -71 / 4 -1 / 4 3 / 13 / 1 -3 / 21 / -1 2 / 02 / 0 3 / 13 / 1 1 / 4 -3 / 2 1 / 4

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy REASONABLE GAMES Assumptions for the sequel: Finite Complete Information Zero Sum Games Structure: tree given by description, where deciding properties like is p a position ?, is p final ? is p starting position ?, who has to move in p ?, and the generation of successors of p are all trivial problems..... The tree can be generated in time proportional to its size..... Moreover the duration of a play is polynomial.

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy Backward Induction in PSPACE? The Recursive scheme for Backward Induction combines recursion (over move sequence) with iteration (over locally legal moves). Space Consumption = O( | Stackframe |. Recursion Depth ) | Stackframe | = O( | Move sequence | + | Configuration| ) Recursion Depth = | Move sequence | = O( Duration Game ) Therefore the game duration should be polynomial!

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy Polynomial Space Configuration Graph Configurations & Transitions: –(finite) State, Focus of Interaction & Memory Contents –Transitions are Local (involving State and Memory locations in Focus only; Focus may shift). Only a Finite number of Transitions in a Configuration –Input Space doesn´t count for Space Measure

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy Polynomial Space Configuration Graph Exponential Size Configuration Graph: – input lenght: |x| = k ; Space bound: S(k) –Number of States: q (constant) –Number of Focus Locations: k.S(k) t (where t denotes the number of “heads”) –Number of Memory Contents: C S(k) –Together: q.k.S(k) t. C S(k) = 2 O(S(k)) (assuming S(k) =  (log(k) )

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy The Savitch Game Given: some input x for a PSPACE acceptor M (M can be nondeterministic) To Construct: a 2 person Complete Information reasonable Game G(M,x) such that x is accepted by M iff the first player has a winning strategy in G(M,x) WLOG: time accepting computation ≤ 2 (S(|x|))

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy The Savitch Game Aethis Thorgrim © Games Workshop Typical Position: Configurations C 1, C 2 and Time Interval t 1 < t 2 | C 1 |, | C 2 | ≤ (S(|x|)), 0 ≤ t 1 < t 2 ≤ 2 (S(|x|)) ROUND of the Game : Thorgrim chooses t 3 such that t 1 < t 3 < t 2 Aethis chooses C 3 at t 3 Thorgrim decides to continue with either C 1, C 3 and t 1 < t 3 or C 3, C 2 and t 3 < t 2

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy The Savitch Game Initial Position: C 1 is the starting position and C 2 the (unique) accepting Configuration. 0 = t 1 and t 2 = 2 (S(|x|)) Final Position: t 2 - t 1 = 1 Aethis wins if C 1 ---> C 2 is a legal transition; otherwise Thorgrim wins the game Polynomial duration enforced by requiring (t 2 - t 1 ).  ≤ (t 3 - t 1 ) ≤ (t 2 - t 1 ).(1-  ) for some fixed  satisfying 0 <  ≤ 1/2

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy The Savitch Game Winning Strategies: If x is accepted Aethis can win the game by being truthful (always play the true configuration in some Accepting Computation...) If x is not accepted the assertion entailed by the initial position is false. Regardless the configuration C 3 chosen by Aethis he must make a false assertion either on the first or on the second interval (or both). Thorgim wins by always attacking the false interval....

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy The Savitch Game The Punchline: Endgame Analysis of the Savitch Game is in Deterministic PSPACE, even if the original acceptor was Nondeterministic: NPSPACE = PSPACE ! an Alternative (direct) proof of the Savitch Theorem....

Peter van Emde Boas: Playing Savage SOFSEM 2000 Milovy The Savitch Game Final remarks: Aethis can play his winning strategy if he knows the accepting computation. Thorgrim can play his winning strategy if he can locate errors. Utterly unfeasible.... COMPARE THIS WITH INTERACTIVE PROTOCOLS: PSPACE = IP