Notes
Outline
Finite Model Theory
Lecture 13
FOk, Lk1,w,Lw1,w,
and Pebble Games
Infinitary Logic
Allow infinite conjunctions, disjunctions:
Now restrict everything to just k variables: x1, …, xk
Finally:
Quantifier Rank
 qr(f) is defined as before:
In general it can be an ordinal, e.g. 5, 99, w+3, 4w + 7, etc
Over finite structures, we will show that it suffices to have qr · w
Example
Over ordered finite structures, every property can be expressed in Lm+11,w, where m = maxi(arity(Ri)),  Ri 2 s
Proof:
First, show that if s = {<} then every property on finite linear orders is in Lm+11,w
Next, generalize to arbitrary s
Fixpoints
Consider transitive closure, expressed as LFP:
tc(u,v) = lfpR[E(x,y) Ç 9 z.(E(x,z) Æ R(z,y)](u,v)
Can “unfold” it:
 tc0(x,y) = E(x,y)
 tcn+1(x,y) = 9 z.(E(x,z) Æ 9 x.(x=z Æ tcn(x,y)))
Hence tc(u,v) = Çn ¸ 0 tcn(u,v)  2 Lw1, w
Fixpoints
In general:
Theorem LFP, IFP, PFP µ Lw1,w
Proof  [in class]
Pebble Games
There are k pairs of pebbles, (a1, b1), …, (ak, bk)
Pebble games are played much like Ehrenfeucht-Fraisse games, HOWEVER now pebbles can be moved, after they have been placed on a structure
Pebble Games
Let A, B 2 STRUCT[s], and k ¸ 0.
Round j ¸ 1:
Spoiler picks a pebble, ai (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)
Pebble Games
The game for n rounds: PGnk(A,B)
The game forever: PG1k(A,B)
Duplicator has a winning strategy for PGn(A,B) if 8 j · n, (a1 ! b1, …, ak ! bk) is a partial isomorphism; similarly for PG1(A,B)
Notation:  A º1wk,nB  and A º1wk B
Pebble Games
Theorem
A, B 2 STRUCT[s] agree on all sentences of Lk1,w of qr · n iff A º1wk,nB
A, B 2 STRUCT[s] agree on all sentences of Lk1,w iff A º1wk B
Proof next time.  For today we will assume the theorem to be true
Example
Example
EVEN
Theorem EVEN is not expressible in Lw1,w
Corollary
EVEN is not expressible in LFP, IFP, PFP
Corollary
LFP &  (LFP+<)inv
IFP &  (IFP+<)inv
PFP &  (PFP+<)inv
A Property
Assume A, B agree on all sentences in FOk
Then, for every n ¸ 0, they agree on all sentences in Lk1,w of qr · n
Why ?  Consider Çi 2 I fi  where 8 i.  qr(fi) · n.  Then this is in FOk !
Hence, for every n ¸ 0, A º1wk,nB
Hence, A º1wk B
Why ? Remember Koenig’s Lemma ?
Hence A, B agree on all sentences in Lk1,w
A Property
Theorem The following are equivalent
A, B agree on all FOk sentences
A, B agree on all Lk1,w sentences
Definability of Types
Definition. Let A 2 STRUCT[s], and a 2 A.  The FOk type of (A, a) is:
    tpFOk (A,a) = { f(x) 2 FOk | A ² f(a) }
One could define Lw1,w types as well, but they turn out to be the same as FOk types  [ why ?? ]
Definability of Types
The number of FOk types is infinite (since no restriction on quantifier depth)
Each FOk type is definable as Çi 2 I fi,  where each fi 2 FOk.  However:
Theorem. Every FOk type t is defined in FOk.  I.e. there exists ft(x) s.t.
   TpFOk(A, a) = t , A ² ft(a)
Proof: next time.  For now assume it holds
Applications
For every structure A there exists a sentence fA in FOk s.t. 8 B:
    B ² fA  iff   A
º1wk B
Every Lk1,w formula is equivalent to Çi 2 I fi, where each fi 2 FOk