1 Finite Model Theory Lecture 13 FO k, L k 1, ,L  1, , and Pebble Games.

Slides:



Advertisements
Similar presentations
Functions Reading: Epp Chp 7.1, 7.2, 7.4
Advertisements

Completeness and Expressiveness
Some important properties Lectures of Prof. Doron Peled, Bar Ilan University.
Chapter 3 Direct Proof and Proof by Contrapositive
The Logic of Quantified Statements
10 October 2006 Foundations of Logic and Constraint Programming 1 Unification ­An overview Need for Unification Ranked alfabeths and terms. Substitutions.
1 In this lecture  Number Theory ● Rational numbers ● Divisibility  Proofs ● Direct proofs (cont.) ● Common mistakes in proofs ● Disproof by counterexample.
Lecture 7 Surreal Numbers. Lecture 7 Surreal Numbers.
First-order Set Theory Chapter 15 Language, Proof and Logic.
Copyright © Cengage Learning. All rights reserved.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
1 Finite Model Theory Lecture 10 Second Order Logic.
Restricted Satisfiability (SAT) Problem
Regular Expression (EXTRA)
CSP, Algebras, Varieties Andrei A. Bulatov Simon Fraser University.
Transparency No. 7-1 Formal Language and Automata Theory Chapter 7 Limitations of Finite Automata (lecture 11 and 12)
Computability and Complexity 10-1 Computability and Complexity Andrei Bulatov Gödel’s Incompleteness Theorem.
Monadic Predicate Logic is Decidable Boolos et al, Computability and Logic (textbook, 4 th Ed.)
Logic Functions and their Representation. Slide 2 Combinational Networks x1x1 x2x2 xnxn f.
III. Reduced Echelon Form
Discrete Math 6A Max Welling. Recap 1. Proposition: statement that is true or false. 2. Logical operators: NOT, AND, OR, XOR, ,  3. Compound proposition:
Relations Chapter 9.
Deciding a Combination of Theories - Decision Procedure - Changki pswlab Combination of Theories Daniel Kroening, Ofer Strichman Presented by Changki.
Math 3121 Abstract Algebra I Lecture 3 Sections 2-4: Binary Operations, Definition of Group.
Inequalities and Proof
Plan Lecture 3: 1. Fraisse Limits and Their Automaticity: a. Random Graphs. a. Random Graphs. b. Universal Partial Order. b. Universal Partial Order. 2.
Theoretical basis of GUHA Definition 1. A (simplified) observational predicate language L n consists of (i) (unary) predicates P 1,…,P n, and an infinite.
Introduction to Proofs
Automatic Structures Bakhadyr Khoussainov Computer Science Department The University of Auckland, New Zealand.
Mathematical Preliminaries (Hein 1.1 and 1.2) Sets are collections in which order of elements and duplication of elements do not matter. – {1,a,1,1} =
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Circuit Lower Bounds via Ehrenfeucht- Fraïssé Games Michal Koucký Joint work with: Clemens Lautemann, Sebastian Poloczek, Denis Thérien.
Pg. 395/589 Homework Pg. 601#1, 3, 5, 7, 8, 21, 23, 26, 29, 33 #43x = 1#60see old notes #11, -1, 1, -1, …, -1#21, 3, 5, 7, …, 19 #32, 3/2, 4/3, 5/4, …,
1 Finite Model Theory Lecture 3 Ehrenfeucht-Fraisse Games.
Lecture 2 Plan: 1. Automatic Boolean Algebras 2. Automatic Linear Orders 3. Automatic Trees 4. Automatic Versions of König’s lemma 5. Intrinsic Regularity.
1 RELATIONS Learning outcomes Students are able to: a. determine the properties of relations – reflexive, symmetric, transitive, and antisymmetric b. determine.
Chapter 6 Properties of Regular Languages. 2 Regular Sets and Languages  Claim(1). The family of languages accepted by FSAs consists of precisely the.
Pumping with Al and Izzy Richard Beigel CIS Temple University.
Lecture 7: Foundations of Query Languages Tuesday, January 23, 2001.
CS 203: Introduction to Formal Languages and Automata
An Introduction to Rabin Automata Presented By: Tamar Aizikowitz Spring 2007 Automata Seminar.
1 a1a1 A1A1 a2a2 a3a3 A2A Mixed Strategies When there is no saddle point: We’ll think of playing the game repeatedly. We continue to assume that.
1 Finite Model Theory Lecture 14 Proof of the Pebble Games Theorem.
We will now study some special kinds of non-standard quantifiers. Definition 4. Let  (x),  (x) be two fixed formulae of a language L n such that x is.
1 Finite Model Theory Lecture 16 L  1  Summary and 0/1 Laws.
Great Theoretical Ideas in Computer Science.
1 Finite Model Theory Lecture 12 Regular Expressions, FO k.
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
1 Finite Model Theory Lecture 5 Turing Machines and Finite Models.
2.5 The Fundamental Theorem of Game Theory For any 2-person zero-sum game there exists a pair (x*,y*) in S  T such that min {x*V. j : j=1,...,n} =
Properties of Groups Proposition 1: Let (G,  ) be a group. i.The inverse element of any element of G is unique. Remark: In view of i., we may use the.
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
Lecture 9: Query Complexity Tuesday, January 30, 2001.
1 Finite Model Theory Lecture 9 Logics and Complexity Classes (cont’d)
Probabilistic Dependence Logic Pietro Galliani. Not all undetermined formulas are undetermined in the same way  x $y(=(y)  x=y) Abelard Eloise Eloise.
Second case study: Guarded Fragment
Finite Model Theory Lecture 8
Chapter 3 The Real Numbers.
Hierarchy of languages
Properties of Regular Languages
Decidability of logical theories
Alternating tree Automata and Parity games
Finite Model Theory Lecture 15
Finite Model Theory Lecture 11
Finite Model Theory Lecture 2
Lecture 10: Query Complexity
Chapter 3 The Real Numbers.
Finite Model Theory Lecture 4
Decidability of logical theories
CSE544 Wednesday, March 29, 2006.
Presentation transcript:

1 Finite Model Theory Lecture 13 FO k, L k 1, ,L  1, , and Pebble Games

2 Infinitary Logic Allow infinite conjunctions, disjunctions: Now restrict everything to just k variables: x 1, …, x k Finally: Ç i 2 I  i, Æ i 2 I  i L 1,  L k 1,  L  1,  = [  ¸  L k 1, 

3 Quantifier Rank qr(  ) is defined as before: In general it can be an ordinal, e.g. 5, 99,  +3, 4  + 7, etc Over finite structures, we will show that it suffices to have qr ·  qr( Ç i 2 I  i ) = qr( Æ i 2 I  i ) = sup i 2 I qr(  i ) qr( 9 x.  ) = qr( 8 x.  ) = qr(  ) + 1 qr( Ç i 2 I  i ) = qr( Æ i 2 I  i ) = sup i 2 I qr(  i ) qr( 9 x.  ) = qr( 8 x.  ) = qr(  ) + 1

4 Example Over ordered finite structures, every property can be expressed in L m+1 1, , where m = max i (arity(R i )), R i 2  Proof: First, show that if  = {<} then every property on finite linear orders is in L m+1 1,  Next, generalize to arbitrary 

5 Fixpoints Consider transitive closure, expressed as LFP: tc(u,v) = lfp R [E(x,y) Ç 9 z.(E(x,z) Æ R(z,y)](u,v) Can “unfold” it: tc 0 (x,y) = E(x,y) tc n+1 (x,y) = 9 z.(E(x,z) Æ 9 x.(x=z Æ tc n (x,y))) Hence tc(u,v) = Ç n ¸ 0 tc n (u,v) 2 L  1, 

6 Fixpoints In general: Theorem LFP, IFP, PFP µ L  1,  Proof [in class]

7 Pebble Games There are k pairs of pebbles, (a 1, b 1 ), …, (a k, b k ) Pebble games are played much like Ehrenfeucht- Fraisse games, HOWEVER now pebbles can be moved, after they have been placed on a structure

8 Pebble Games Let A, B 2 STRUCT[  ], and k ¸ 0. Round j ¸ 1: –Spoiler picks a pebble, a i (or b i), i = 1, …, k; if a i (b i) was already placed on a structure, then it removes it; spoiler places the pebble a i on the structure A (or b i on the structure B) –Duplicator needs to respond by placing pebble b i on B (or a i on A)

9 Pebble Games The game for n rounds: PG n k (A,B) The game forever: PG 1 k (A,B) Duplicator has a winning strategy for PG n (A,B) if 8 j · n, (a 1 ! b 1, …, a k ! b k ) is a partial isomorphism; similarly for PG 1 (A,B) Notation: A  1  k,n B and A  1  k B

10 Pebble Games Theorem A, B 2 STRUCT[  ] agree on all sentences of L k 1,  of qr · n iff A  1  k,n B A, B 2 STRUCT[  ] agree on all sentences of L k 1,  iff A  1  k B Proof next time. For today we will assume the theorem to be true

11 Example Can you win this with k=2 pebbles ? A=B=

12 Example Can you win this with k=4 pebbles ? A= B=

13 EVEN Theorem EVEN is not expressible in L  1,  Corollary EVEN is not expressible in LFP, IFP, PFP Corollary LFP & (LFP+<) inv IFP & (IFP+<) inv PFP & (PFP+<) inv

14 A Property Assume A, B agree on all sentences in FO k Then, for every n ¸ 0, they agree on all sentences in L k 1,  of qr · n –Why ? Consider Ç i 2 I  i where 8 i. qr(  i ) · n. Then this is in FO k ! Hence, for every n ¸ 0, A  1  k,n B Hence, A  1  k B –Why ? Remember Koenig’s Lemma ? Hence A, B agree on all sentences in L k 1, 

15 A Property Theorem The following are equivalent A, B agree on all FO k sentences A, B agree on all L k 1,  sentences

16 Definability of Types Definition. Let A 2 STRUCT[  ], and a 2 A. The FO k type of (A, a) is: tp FO k (A,a) = {  (x) 2 FO k | A ²  (a) } One could define L  1,  types as well, but they turn out to be the same as FO k types [ why ?? ]

17 Definability of Types The number of FO k types is infinite (since no restriction on quantifier depth) Each FO k type is definable as Ç i 2 I  i, where each  i 2 FO k. However: Theorem. Every FO k type  is defined in FO k. I.e. there exists   (x) s.t. Tp FO k (A, a) = , A ²   (a) Proof: next time. For now assume it holds

18 Applications For every structure A there exists a sentence  A in FO k s.t. 8 B: B ²  A iff A  1  k B Every L k 1,  formula is equivalent to Ç i 2 I  i, where each  i 2 FO k