Games for Static Ambient Logic Giorgio Ghelli joint work with Anuj Dawar and Philippa Gardner.

Slides:



Advertisements
Similar presentations
Automated Theorem Proving Lecture 1. Program verification is undecidable! Given program P and specification S, does P satisfy S?
Advertisements

Completeness and Expressiveness
Review for CS1050. Review Questions Without using truth tables, prove that  (p  q)   q is a tautology. Prove that the sum of an even integer and an.
Techniques for Proving the Completeness of a Proof System Hongseok Yang Seoul National University Cristiano Calcagno Imperial College.
Possible World Semantics for Modal Logic
CPSC 121: Models of Computation Unit 6 Rewriting Predicate Logic Statements Based on slides by Patrice Belleville and Steve Wolfman.
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Bayesian Networks, Winter Yoav Haimovitch & Ariel Raviv 1.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
F22H1 Logic and Proof Week 7 Clausal Form and Resolution.
Adjunct Elimination in Context Logic for Trees Cristiano Calcagno Thomas Dinsdale-Young Philippa Gardner Imperial College, London.
SAT and Model Checking. Bounded Model Checking (BMC) A.I. Planning problems: can we reach a desired state in k steps? Verification of safety properties:
Università degli Studi di Pisa Speaker: Giovanni Conforti Joint work with: Orlando Ferrara and Giorgio Ghelli TQL Algebra and its Implementation IFIP.
Spatial tree logics to reason about Semistructured Data Speaker: Giovanni Conforti Joint work with: Giorgio Ghelli SEBD 2003 Dipartimento di Informatica.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
Formal Logic Proof Methods Direct Proof / Natural Deduction Conditional Proof (Implication Introduction) Reductio ad Absurdum Resolution Refutation.
© Katz, 2007CS Formal SpecificationsLecture - Temporal logic 1 Temporal Logic Formal Specifications CS Shmuel Katz The Technion.
1 Finite Model Theory Lecture 10 Second Order Logic.
Discussion #12 1/22 Discussion #12 Deduction, Proofs and Proof Techniques.
Logic and Proof. Argument An argument is a sequence of statements. All statements but the first one are called assumptions or hypothesis. The final statement.
1 Finite Model Theory Lecture 13 FO k, L k 1, ,L  1, , and Pebble Games.
Proof by Deduction. Deductions and Formal Proofs A deduction is a sequence of logic statements, each of which is known or assumed to be true A formal.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
Inference is a process of building a proof of a sentence, or put it differently inference is an implementation of the entailment relation between sentences.
Reduction Episode 9 0 The operation of reduction and the relation of reducibility Examples of reductions The variety of reduction concepts and their systematization.
Proof Systems KB |- Q iff there is a sequence of wffs D1,..., Dn such that Dn is Q and for each Di in the sequence: a) either Di is in KB or b) Di can.
Propositional Resolution Computational LogicLecture 4 Michael Genesereth Spring 2005.
Reading and Writing Mathematical Proofs
Proofs 1/25/12.
Online Vertex-Coloring Games in Random Graphs Reto Spöhel (joint work with Martin Marciniszyn; appeared at SODA ’07)
Marriage Problem Your the sovereign in a small kingdom. One of your jobs is to marry off the people in kingdom. There are three rules that apply.
Algorithmic Software Verification III. Finite state games and pushdown automata.
Axiomatic Methods for Software Verification Hongseok Yang.
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
11.2 Series In this section, we will learn about: Various types of series. INFINITE SEQUENCES AND SERIES.
First Order Logic Lecture 2: Sep 9. This Lecture Last time we talked about propositional logic, a logic on simple statements. This time we will talk about.
Epistemic Strategies and Games on Concurrent Processes Prakash Panangaden: Oxford University (on leave from McGill University). Joint work with Sophia.
9.4 Mathematical Induction
Course Overview and Road Map Computability and Logic.
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 10 By Herbert I. Gross and Richard A. Medeiros next.
Circuit Lower Bounds via Ehrenfeucht- Fraïssé Games Michal Koucký Joint work with: Clemens Lautemann, Sebastian Poloczek, Denis Thérien.
Reading and Writing Mathematical Proofs Spring 2015 Lecture 4: Beyond Basic Induction.
Induction Proof. Well-ordering A set S is well ordered if every subset has a least element. [0, 1] is not well ordered since (0,1] has no least element.
Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems or solving problems, creativity and insight.
CS Introduction to AI Tutorial 8 Resolution Tutorial 8 Resolution.
Program Analysis and Verification Spring 2014 Program Analysis and Verification Lecture 4: Axiomatic Semantics I Roman Manevich Ben-Gurion University.
1 Finite Model Theory Lecture 3 Ehrenfeucht-Fraisse Games.
Lesson 10.5 AIM: The Game of Pig. DO NOW What is a strategy? Give an example from your daily life of how you use strategies.
Theorem Proving Semantic Tableaux CIS548 November 15, 2006.
Separation and Information Hiding Peter W. O’Hearn (Queen Mary, University of London) John C. Reynolds (Carnegie Mellon University) Hongseok Yang (Seoul.
Methods of Proof for Boolean Logic Chapter 5 Language, Proof and Logic.
Winning Strategies of Games Played with Chips. I got a interesting game Now we show the game P 1 =4 P 2 =6 P 3 =8 Rule 1: Two players.
Lecture Coursework 2 AGAIN. Rectangle Game Look at proof of matchsticks A rectangular board is divided into m columns by n rows. The area of the board.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
1 Finite Model Theory Lecture 14 Proof of the Pebble Games Theorem.
1 Finite Model Theory Lecture 16 L  1  Summary and 0/1 Laws.
Quiz 5 1.5, 3.1 Methods of Proof.. Quiz 5: Th. May pm 1) Give 2 rules of inference and the tautologies on which they are based. 2) Explain.
Solving Systems of Equations Modeling real-world problems.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen Department of Computer Science University of Texas-Pan American.
1 Finite Model Theory Lecture 5 Turing Machines and Finite Models.
More Proofs. REVIEW The Rule of Assumption: A Assumption is the easiest rule to learn. It says at any stage in the derivation, we may write down any.
Extension of Separation Logic for Stack Reasoning Jiang Xinyu.
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
Lecture 9: Query Complexity Tuesday, January 30, 2001.
Properties of Multiplication What are Properties? o Just like addition and subtraction, the operation of multiplication has different properties, or.
Matching Logic An Alternative to Hoare/Floyd Logic
Lecture 5 Floyd-Hoare Style Verification
Alternating tree Automata and Parity games
Finite Model Theory Lecture 2
Presentation transcript:

Games for Static Ambient Logic Giorgio Ghelli joint work with Anuj Dawar and Philippa Gardner

A Game-Based Proof of Adjunct Elimination in SL(H) Giorgio Ghelli joint work with Anuj Dawar and Philippa Gardner

April 2004Giorgio Ghelli - Games for a Spatial Logic3 Spatial logics  Bunched Implication (Pym, O’Hearn, LICS’99, BSL’99, CSL’99): [HE, F]  [H, E-F] and [HE, F]  [H, EF]  Separation Logics (O’Hearn, Reynolds, Yang, Calcagno, MPCS’99, POPL’01, CSL’01, LICS’02): Properties of Heaps, Hoare Triples {emp  x=2} x=cons(1,2) {2,57 1,2}  Ambient Logic (Cardelli, Gordon, Caires, DBPL’99, POPL’00): Talking about the evolution of mobile ambients P  \ mQ (n)n[0]  Spatial (Static) Ambient Logic (and Graph Logic) (Cardelli, Gordon, Gardner, Ghelli, DBPL’99, ESOP’01, ICALP’02): Talking about trees and graphs P  \.Paper[.Author[Cardelli]]

April 2004Giorgio Ghelli - Games for a Spatial Logic4 A spatial logic for trees  Paper[… | Author[G] | …]  Paper[True] F  m[φ] iff F=m[F’], F’  φ ( m[F]  m[φ] iff F  φ ) F  True: always  Paper[…| Author[G]] | …  Paper[True] | True F  φ | ψ iff F’, F”. F = F’|F”, F’  φ, F”  ψ ( F’|F”  φ | ψ iff F’  φ, F”  ψ)  Paper[… | Author[G] | …] | Paper[…] | …  Paper[Author[True] | True ] | True (abbrev.:.Paper[.Author[True] ] )  Paper[True] | Paper[True]: exactly two papers

April 2004Giorgio Ghelli - Games for a Spatial Logic5 Applications  TQL: from $DB |=.Paper[ Author[G] | Title[$t] ] select PaperByG[ $t ] from $DB |= not.Paper[not.Title[True]] And not exists $X. ( Paper[Title[$X]] | Paper[Title[$X]] ) select TitleIsAKey

April 2004Giorgio Ghelli - Games for a Spatial Logic6 Applications  XMLSchema-like Types m[φ]*: 0  m[φ]  m[φ]|m[φ]  …. $DB \ Paper[ Author[T]* | (Journal[T]  Conference[T]) | (Year[T]  0) ]*  Types and constraints can be used to rewrite queries

April 2004Giorgio Ghelli - Games for a Spatial Logic7 Quantifying over names  Quantifying over public names: x..paper[.author[x]] |.paper[.author[x]]  Quantifying over hidden names Hidden names: (x)(paper[id[x]|…] | paper[cites[x]|…] ] There is a dangling pointer in F: F  Hx. (.paper.cites[x]  .paper.id[x])

April 2004Giorgio Ghelli - Games for a Spatial Logic8 Adjuncts  Mixin types: F \ φ  ψ  G \ φ  F | G \ ψ  Adjunct property: φ  ξ [ ψ 45 φ [ ξ  ψ φ | ξ [ ψ 45 φ [ ξ f ψ

April 2004Giorgio Ghelli - Games for a Spatial Logic9 Power of the Adjunct  Without adjunct: Model-checking with  PSPACE (T, φ  T \ φ?) Validity undecidable (φ  T. T \ φ?)  With adjuncts: Model-checking the adjunct decides validity: 0 \ True  φ  F \ True  F|0 \ φ  forall F. F \ φ Hence, model-checking is undecidable Wow,  is powerful

April 2004Giorgio Ghelli - Games for a Spatial Logic10 Lozes result (July 2003)  Lozes, adjunct elimination: Consider L(0,|,[],H,  ) (actually, L(H,©, ,…)) For any sentence φ of L(0,|,[],H,  ) an equivalent ψ exists which uses no adjunct (φ ~ ψ  def forall T. T \ φ  T \ ψ)  Ghelli and Conforti: Model-checking of L(0,|,[],H,  ) is undecidable Model-checking of L(0,|,[],H) is decidable  As a consequence: Adjuncts elimination cannot be computable!

April 2004Giorgio Ghelli - Games for a Spatial Logic11 Let’s play games  Rules of the game: Two boards (big, quite similar) and a rank (bag of moves) Spoiler wants to prove them different, Duplicators says they are similar enough

April 2004Giorgio Ghelli - Games for a Spatial Logic12 How spoiler wins a game  The rank: 2 | moves, one 0 move  The boards (T,U) n 1 [] | n 2 [] | n 3 [] | n 4 [] vs. n 1 [] | n 2 [] | n 3 []  The game n 1 [] | n 2 [] | n 3 [] | n 4 [] vs. n 1 [] | n 2 [] | n 3 [] n1n1 n2n2 n3n3 n4n4 n1n1 n2n2 n3n3 n3n3 n4n4 n3n3

April 2004Giorgio Ghelli - Games for a Spatial Logic13 Spoiler loses a game  The rank: k split (|) moves, j m[] moves, one 0 move  The boards (T,U) m 1 []|…|m 2**(k) [] m 1 []|…|m 2**(k)+1 []  The invariant: Either T = U, or they differ by one and are bigger than 2**(k+j)

April 2004Giorgio Ghelli - Games for a Spatial Logic14 The H move  The boards: (m) m[m[]] vs. (n 1,n 2 ) n 2 [n 1 []]  H move Spo: xq, {q/m} Dup: {q/n 2 } q[q[]]vs. (n 1 ) q[n 1 []]  x[] move: q[]vs. (n 1 ) n 1 []  x[] move: Spoiler wins

April 2004Giorgio Ghelli - Games for a Spatial Logic15 The adjunct move  Spoiler adds T’ to one board (say, T)  Duplicator adds U’ to the other board U  Spoiler chooses whether to go on with: T’ vs. U’ T|T’ vs. U|U’  Adjunct elimination proof in one sentence Why should Spoiler play the useless adjunct move?

April 2004Giorgio Ghelli - Games for a Spatial Logic16 To sum up  Given a formula in L(0,|,[],H,  ), there is no computable way of getting rid of   But, given a strategy in Games(0,|,[],H,  ), getting rid of  is extremely easy  Now we know why!  Oh, by the way, you cannot eliminate  from L(0,|,[],,  )…