1 Finite Model Theory Lecture 3 Ehrenfeucht-Fraisse Games.

Slides:



Advertisements
Similar presentations
Completeness and Expressiveness
Advertisements

4.5 Inherently Ambiguous Context-free Language For some context-free languages, such as arithmetic expressions, may have many different CFG’s to generate.
10 October 2006 Foundations of Logic and Constraint Programming 1 Unification ­An overview Need for Unification Ranked alfabeths and terms. Substitutions.
Argumentation Based on the material due to P. M. Dung, R.A. Kowalski et al.
Math 3121 Abstract Algebra I
1 Conditional XPath, the first order complete XPath dialect Maarten Marx Presented by: Einav Bar-Ner.
A Semantic Characterization of Unbounded-Nondeterministic Abstract State Machines Andreas Glausch and Wolfgang Reisig 1.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
Transparency No Formal Language and Automata Theory Chapter 10 The Myhill-Nerode Theorem (lecture 15,16 and B)
1 Finite Model Theory Lecture 10 Second Order Logic.
Lecture 8 Recursively enumerable (r.e.) languages
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
Discrete Mathematics Lecture 4 Harper Langston New York University.
1 Finite Model Theory Lecture 13 FO k, L k 1, ,L  1, , and Pebble Games.
CSC 3130: Automata theory and formal languages Andrej Bogdanov The Chinese University of Hong Kong Regular.
מבנה המחשב + מבוא למחשבים ספרתיים תרגול 1#
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 12 Number theory Mathematical induction Proof by induction Examples.
CS5371 Theory of Computation Lecture 4: Automata Theory II (DFA = NFA, Regular Language)
Lattice and Boolean Algebra
CS355 - Theory of Computation Lecture 2: Mathematical Preliminaries.
Relation, function 1 Mathematical logic Lesson 5 Relations, mappings, countable and uncountable sets.
Lecture 9. Arithmetic and geometric series and mathematical induction
Math 3121 Abstract Algebra I Lecture 3 Sections 2-4: Binary Operations, Definition of Group.
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.
Discrete Mathematics, 1st Edition Kevin Ferland
Theory of Computation, Feodor F. Dragan, Kent State University 1 Regular expressions: definition An algebraic equivalent to finite automata. We can build.
Chapter 3 – Set Theory  .
Introduction to CS Theory Lecture 3 – Regular Languages Piotr Faliszewski
1 Lecture 3 (part 3) Functions – Cardinality Reading: Epp Chp 7.6.
Math 3121 Abstract Algebra I Lecture 9 Finish Section 10 Section 11.
Computably Enumerable Semigroups, Algebras, and Groups Bakhadyr Khoussainov The University of Auckland New Zealand Research is partially supported by Marsden.
Chapter 5 – Relations and Functions. 5.1Cartesian Products and Relations Definition 5.1: For sets A, B  U, the Cartesian product, or cross product, of.
Mathematical Induction
Reading and Writing Mathematical Proofs Spring 2015 Lecture 4: Beyond Basic Induction.
Relations, Functions, and Countability
Theory of Computation, Feodor F. Dragan, Kent State University 1 TheoryofComputation Spring, 2015 (Feodor F. Dragan) Department of Computer Science Kent.
Copyright © Zeph Grunschlag, Induction Zeph Grunschlag.
Week 6 - Friday.  What did we talk about last time?  Solving recurrence relations.
Naïve Set Theory. Basic Definitions Naïve set theory is the non-axiomatic treatment of set theory. In the axiomatic treatment, which we will only allude.
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7.1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesBoolean Algebra.
Mathematical Preliminaries
1 Decomposition into bipartite graphs with minimum degree 1. Raphael Yuster.
Pumping with Al and Izzy Richard Beigel CIS Temple University.
Lecture 7: Foundations of Query Languages Tuesday, January 23, 2001.
1 Finite Model Theory Lecture 1: Overview and Background.
1 Finite Model Theory Lecture 14 Proof of the Pebble Games Theorem.
On the Notion of Pseudo-Free Groups Ronald L. Rivest MIT Computer Science and Artificial Intelligence Laboratory TCC 2/21/2004.
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.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Copyright © Zeph Grunschlag, Induction Zeph Grunschlag.
1 Finite Model Theory Lecture 16 L  1  Summary and 0/1 Laws.
1 Finite Model Theory Lecture 5 Turing Machines and Finite Models.
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.
6/11/2016 Linear Resolution and Introduction to First Order Logic Michael Leuschel Softwaretechnik und Programmiersprachen Lecture 5.
Chapter 2 1. Chapter Summary Sets (This Slide) The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions.
Week 8 - Wednesday.  What did we talk about last time?  Relations  Properties of relations  Reflexive  Symmetric  Transitive.
Lecture 9: Query Complexity Tuesday, January 30, 2001.
The Relation Induced by a Partition
Review: Discrete Mathematics and Its Applications
CSC 4170 Theory of Computation Nondeterminism Section 1.2.
Sum-product theorems over finite fields
Finite Model Theory Lecture 11
Finite Model Theory Lecture 2
Lecture 10: Query Complexity
MA/CSSE 474 More Math Review Theory of Computation
Finite Model Theory Lecture 4
CSC 4170 Theory of Computation Nondeterminism Section 1.2.
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Herbrand Logic Semantics
Presentation transcript:

1 Finite Model Theory Lecture 3 Ehrenfeucht-Fraisse Games

2 Outline Proof of the Ehrenfeucht-Fraisse theorem

3 Notation If A is a structure over vocabulary  and a 1, …, a n 2 A then ( A,a 1, …, a n ) denotes the structure over vocabulary  n =  [ {c 1, …, c n } s.t. the interpretation of each c i is a i In particular, ( A,a) ' ( B,b) means that there is an isomorphism A ' B that maps a to b

4 Types In classical model theory an m-type for m ¸ 0 is a set t of formulas with m free variables x 1, …, x m s.t. there exists a structure A and m constants a = (a 1, …, a m ) s.t. t = {  | A ²  (a) } In finite model theory this is two strong: ( A,a) and ( B,b) have the same type iff they are isomorphic ( A,a) ' ( B,b)

5 Rank-k m-Types FO[k] = all formulas of quantifier rank · k Definition Let A be a structure and a be an m-tuple in A. The rank-k m-type of a over A is tp k ( A,a) = {  2 FO[k] with m free vars | A ²  (a) } How any distinct rank-k types are there ? [finitely or infinitely many ?]

6 Rank-k m-Types For m ¸ 0, there are only finitely many formulas up to logical equivalence over m variables x 1, …, x m in FO[0] [why ?] For m ¸ 0, there are only finitely many formulas up to logical equivalence over m variables x 1, …, x m in FO[k+1] [why ?]

7 Rank-k m-Types For each rank-k m-type t there exists a unique rank-k formula  s.t. A ²  (a) iff tp k ( A,a) = t In other words, if M = {  1, …,  n } are all formulas in FO[k] with n free variables, then for every subset M 0 µ M there exists a  2 M s.t.  = ( Æ  2 M 0 )  Æ ( Æ   M 0 :  ) [WAIT ! Isn’t this a contradiction ?]

8 The Back-and-Forth Property The k-back-and-forth equivalence relation ' k is defined as follows: A ' 0 B iff the substructures induced by the constants in A and B are isomorphic A ' k+1 B iff the following hold: Forth: 8 a 2 A 9 b 2 B s.t. ( A,a) ' k ( B,b) Back: 8 b 2 B 9 a 2 A s.t. ( A,a) ' k ( B,b)

9 The Back-and-Forth Property What does A ' k B say ? If we have a partial isomorphism from ( A, a 1, …, a i ) to ( B,b 1, …, b i ), where i < k, and a i+1 2 A, then there exists b i+1 2 B s.t. there exists a partial isomorphism from ( A, a 1, …, a i, a i+1 ) to ( B, b 1, …, b i, b i+1 ); and vice versa

10 Ehrenfeucht-Fraisse Games Theorem The following two are equivalent: 1. A and B agree on FO[k] 2. A  k B 3. A ' k B Proof 2, 3 is straightforward 1, 3 in class

11 More EF Games (informally) Prove, informally, the following:... (N,S)  (N,S) [ (Z,S) kk...  (Perfectly balanced binary trees are not expressible in FO)

12 More EF Games (informally) kk CONN is not expressible in FO

13 Hanf’s Lemma One of several combinatoric methods for proving EF games formally Definition. Let A be a structure. The Gaifman graph G(A) = (A, E A ) is s.t. (a,b) 2 E A iff 9 tuple t in A containing both a and b Definition. The r-sphere, for r > 0, is: S(r,a) := {b 2 A | d(a,b) · r}

14 Hanf’s Lemma Theorem [Hanf’s lemma; simplified form] Let A, B be two structures and there exists m > 0 s.t. 8 n · 3 m and for each isomorphism type t of an n-sphere, A and B have the same number of elements of n- sphere type t. Then A  m B. Applications: previous examples.

15 Summary on EF Games Complexity: examples in class are simple; but in general the proofs get quite complex Informal arguments: We are all gamblers: – “If you play like this […] you will always win”. We usually accept such statements after thinking about […] –“here is a property not expressible in FO !”. We don’t accept that until we see a formal proof. Logics v.s. games: Each logic corresponds to a certain kind of game.