Finite Model Theory Lecture 2

Slides:



Advertisements
Similar presentations
Model Checking Lecture 2. Three important decisions when choosing system properties: 1automata vs. logic 2branching vs. linear time 3safety vs. liveness.
Advertisements

Completeness and Expressiveness
Some important properties Lectures of Prof. Doron Peled, Bar Ilan University.
5.4 Basis And Dimension.
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.
Lecture 11: Datalog Tuesday, February 6, Outline Datalog syntax Examples Semantics: –Minimal model –Least fixpoint –They are equivalent Naive evaluation.
II. Linear Independence 1.Definition and Examples.
March 2, 2015CS21 Lecture 231 CS21 Decidability and Tractability Lecture 23 March 2, 2015.
1 Finite Model Theory Lecture 10 Second Order Logic.
2.III. Basis and Dimension 1.Basis 2.Dimension 3.Vector Spaces and Linear Systems 4.Combining Subspaces.
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
1 Finite Model Theory Lecture 13 FO k, L k 1, ,L  1, , and Pebble Games.
CS151 Complexity Theory Lecture 13 May 11, CS151 Lecture 132 Outline Natural complete problems for PH and PSPACE proof systems interactive proofs.
Theory of Computing Lecture 22 MAS 714 Hartmut Klauck.
III. Reduced Echelon Form
1 First order theories. 2 Satisfiability The classic SAT problem: given a propositional formula , is  satisfiable ? Example:  Let x 1,x 2 be propositional.
Topological Forcing Semantics with Settling Robert S. Lubarsky Florida Atlantic University.
Lecture 9. Arithmetic and geometric series and mathematical induction
Functorial Models, Horn Products, and Positive Omitting Types Realizability Cyrus F Nourani Akdmkrd.tripod;com savoie.fr/~hyvernat/Realisabilite2012/index.php.
Plan Lecture 3: 1. Fraisse Limits and Their Automaticity: a. Random Graphs. a. Random Graphs. b. Universal Partial Order. b. Universal Partial Order. 2.
SAT and SMT solvers Ayrat Khalimov (based on Georg Hofferek‘s slides) AKDV 2014.
Automatic Structures Bakhadyr Khoussainov Computer Science Department The University of Auckland, New Zealand.
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.
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.
1 Finite Model Theory Lecture 3 Ehrenfeucht-Fraisse Games.
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 First order theories (Chapter 1, Sections 1.4 – 1.5) From the slides for the book “Decision procedures” by D.Kroening and O.Strichman.
1 Finite Model Theory Lecture 14 Proof of the Pebble Games Theorem.
Classifications LanguageGrammarAutomaton Regular, right- linear Right-linear, left-linear DFA, NFA Context-free PDA Context- sensitive LBA Recursively.
CS 285- Discrete Mathematics
1 Finite Model Theory Lecture 16 L  1  Summary and 0/1 Laws.
CS Lecture 26 Monochrome Despite Himself. Pigeonhole Principle: If we put n+1 pigeons into n holes, some hole must receive at least 2 pigeons.
1 Finite Model Theory Lecture 5 Turing Machines and Finite Models.
Summary of the Last Lecture This is our second lecture. In our first lecture, we discussed The vector spaces briefly and proved some basic inequalities.
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} =
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)
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
An Introduction to Graph Theory
Relations Chapter 9.
Theorem of Banach stainhaus and of Closed Graph
Monochrome Despite Himself
Finite Model Theory Lecture 8
Basis and Dimension Basis Dimension Vector Spaces and Linear Systems
Steven Lindell Scott Weinstein
Alternating tree Automata and Parity games
Recap lecture 29 Example of prefixes of a language, Theorem: pref(Q in R) is regular, proof, example, Decidablity, deciding whether two languages are equivalent.
2.1 Sets Dr. Halimah Alshehri.
Concurrent Models of Computation
Finite Model Theory Lecture 15
Finite Model Theory Lecture 11
Chapter 4 Properties of Regular Languages
Memoryless Determinacy of Parity Games
Finite Model Theory Lecture 6
Lecture 10: Query Complexity
Algebraic Topology and Distributed Computing part three
2.III. Basis and Dimension
Instructor: Aaron Roth
Finite Model Theory Lecture 4
Trevor Brown DC 2338, Office hour M3-4pm
Counting Elements of Disjoint Sets: The Addition Rule
Finite Model Theory Lecture 7
Instructor: Aaron Roth
Homework 2 (June 6) Material covered: Episodes 3 and 4        
CSE544 Wednesday, March 29, 2006.
Presentation transcript:

Finite Model Theory Lecture 2 Ehrenfeucht-Fraisse Games

Summary of Notions Syntax Semantics Complexity f is a theorem, ` f f is valid, ² f r.e. f is deducible from G, G ` f f is a consequence of G, G ² f G is consistent G has a model co-r.e.

Infinite v.s. Finite Everything can be defined “in the finite” f has a finite model f is valid in the finite if for every finite A, A ² f; notation ²fin f f is a consequence in the finite of G if for every finite A, A ² G implies A ² f; notation G ²fin f

Completeness Fails “f has a finite model” is r.e. [why] Trachtenbrot’s theorem: “f has a finite model” is undecidable Hence there is no proof system ` s.t. ` f iff ²fin f [why ?]

Compactness Fails There exists an infinite set of formulas G s.t. for every finite subset G0 ½ G, G0 has a finite model, but G does not have a finite model [why ?]

Outline Today’s lecture: Ehrenfeucht-Fraisse games Applications

Equivalences Let A, B 2 STRUCT[s] They are elementary equivalent, A  B, if 8 f, A ² f iff B ² f They are isomorphic, A  B, if there exists a isomorphism f : A ! B

Equivalences If A  B, then A  B [why ?] There are A, B s.t. A  B and not A  B [give examples in class] If A is finite and A  B then A  B [why ?]

Partial Isomorphism Let c = (c1, …, cn) be the constants in s Let A, B be two structures in STRUCT[s] Definition A partial isomorphism is given by a = (a1, …, am) and b = (b1, …, bm) s.t. the structures (a, c) and (b, c) are isomorphic.

Ehrenfeucht-Fraisse Games Given two structures A, B Two players: spoiler and duplicator play k rounds Round i (i =1, …, k): Spoiler picks a structure A or B Spoiler picks an element in that structure ai 2 A or bi 2 B Duplicator responds by picking an element in the other structure, bi 2 B or ai 2 A Duplicator wins if a, b is a partial isomorphism

Ehrenfeucht-Fraisse Games If duplicator has a winning strategy in k rounds then we write A k B Note: if A n B and k < n then A k B

Quantifier Rank The quantifier rank of a formula f is defined inductively: qr(t1 = t2) = qr(R(t1,…,tn)) = 0 qr(f1 Æ f2) = max(qr(f1), qr(f2)) qr(9 x.f) =1+qr(f) etc FO[k] = all formula f s.t. qr(f) · k

Ehrenfeucht-Fraisse Games Theorem The following two are equivalent: A and B agree on FO[k] A k B We will prove this next time. For now, let’s start playing the game !

Games on Sets Let s = ; (i.e. no relation names, no constants), and assume |A| ¸ k, |B| ¸ k. Theorem A k B. [why ?] Corollary EVEN is not expressible in FO when s = ;

Games on Linear Orders Theorem Let k > 0 and L1, L2 be linear orders of length ¸ 2k. Then L1 k L2.

Proof 1 Define: a-1 = min(L1), a0 = max(L1) b-1 = min(L2), b0 = max(L2) Let a = (a-1, a0, a1, …, ai), b = (b-1, b0, b1, …, bi) Duplicator plays such that 8 j, l: If d(aj, al) < 2k-i then d(aj, al) = d(bj, bl) If d(aj, al) ¸ 2k-i then d(bj, bl) ¸ 2k-i aj · al iff bj · bl Why can the duplicator play like that ?

Proof 2 Remark: if L1 k L2 then the duplicator has a winning strategy where it responds with min(L2) to min(L1), and with max(L2) to max(L1), and vice versa. [why ?] Lemma If L1· a k L2 · b and L1¸ a k L2 ¸ b then (L1 ,a) k (L2 ,b) [how does this help us prove the theorem ?]

EVEN Corollary EVEN is not expressible in FO(<) [why ?] Corollary Finite graph connectivity (CONN) is not expressible in FO [proof in class]