This paper investigates the spectra of first order sentences over random graphs, establishing that minimal infinite spectra require at least three quantifier alternations and analyzing the limit points of spectra with quantifier depth four.
Contribution
It proves that the minimal number of quantifier alternations for sentences with infinite spectra is three and characterizes the limit points of spectra for sentences with quantifier depth four.
Findings
01
Minimal infinite spectra require at least three quantifier alternations.
02
Spectra of sentences with quantifier depth 4 have limited limit points.
03
Possible limit points for spectra include 1/2 and 3/5.
Abstract
Spectrum of a first order sentence is the set of all α such that G(n,n−α) does not obey zero-one law w.r.t. this sentence. We have proved that the minimal number of quantifier alternations of a first order sentence with an infinite spectrum equals 3. We have also proved that the spectrum of a first order sentence with a quantifier depth 4 has no limit points except possibly the points 1/2 and 3/5.
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Full text
First order sentences about random graphs: small number of alternations 111M.E. Zhukovskii is financially supported by the Ministry of Education and Science of the Russian Federation (the Agreement 02.A03.21.0008) and grants of the Russian Foundation for Basic Research 16-31-60052 and 15-01-03530.
A.D. Matushkin, M.E. Zhukovskii 222Moscow Institute of Physics and Technology, Laboratory of Advanced Combinatorics and Network Applications; RUDN University
Abstract
Spectrum of a first order sentence is the set of all α such that G(n,n−α) does not obey zero-one law w.r.t. this sentence. We have proved that the minimal number of quantifier alternations of a first order sentence with infinite spectrum equals 3. We have also proved that the spectrum of a first-order sentence with a quantifier depth 4 has no limit points except possibly the points 1/2 and 3/5.
1 Previous results on zero-one laws
In this paper, we consider first order sentences about graphs (a signature consists of two predicates ∼ (adjacency) and = (equality) of arity 2) [1, 2]. Recall that a quantifier depthq(ϕ) of a formula ϕ is the number of quantifiers in the longest past of nested quantifiers in this formula. Let G(n,p) be a binomial random graph [3, 4] with n vertices and the probability p of appearing of an edge. We say that G(n,p)obeys zero-one law w.r.t. a first order sentence ϕ , if either a.a.s. (asymptotically almost surely) G(n,p)⊨ϕ, or a.a.s. G(n,p)⊨¬(ϕ).
Let S(ϕ) be the set of all α>0 such that G(n,n−α) does not obey zero-one law w.r.t. ϕ. This set is called a spectrum of ϕ. In 1988 [5], S. Shelah and J. Spencer proved that there are only rational numbers in S(ϕ) for any first order sentence ϕ. In 1990 [6], J. Spencer proved that there exists first order sentence with an infinite spectrum and the quantifier depth 14. In his paper [7], he also proved that, for a first order sentence ϕ with a quantifier depth k, S(ϕ)∩(0,1/(k−1))=∅. This result was strengthened by M. Zhukovskii in 2012 [8]: S(ϕ)∩(0,1/(k−2))=∅. In particular, for any first order sentence ϕ with the quantifier depth 3, S(ϕ)∩(0,1)=∅, and, for any first order sentence ϕ with the quantifier depth 4, S(ϕ)∩(0,1/2)=∅. Later [9], it was proved that, for any first order sentence ϕ, the set S(ϕ)∩(1,∞) is finite. In [10], a first order sentence with the quantifier depth 5 and an infinite spectrum was obtained. This formula is given in the statement below.
Theorem 1**.**
Let m∈N, α=21+2(m+1)1 and p=n−α. Then the random graph G(n,p) does not obey zero-one law w.r.t. the sentence
[TABLE]
where
[TABLE]
[TABLE]
So, a minimal quantifier depth of a first order sentence with an infinite spectrum equals either 4, or 5.
Note that the maximal number of quantifier alternations over all sequences of nested quantifiers in ϕ equals 3 (we call this value the number of quantifier alternations of ϕ). It is essential that all the negations are aplied to atomic formulas only. A prenex normal form of ϕ with the quantifier depth 8 is given below
[TABLE]
where
[TABLE]
[TABLE]
This raises the following questions.
What is the minimal quantifier depth of a first order sentence with an infinite spectrum, 4 or 5?
2. 2.
What is the minimal number of quantifier alternations of a first order sentence with an infinite spectrum, 3 or less?
3. 3.
What is the minimal quantifier depth of a first order sentence in a prenex normal form with an infinite spectrum, 4, 5, 6, 7 or 8?
We partially answer these questions in Sections 4, 5. In Section 3 we state and prove some results on first order formulas, that are used in our answers. Section 2 is devoted to the limit probabilities of properties related to the presence of small subgraphs and extensions in the random graph.
2 Existence and extension statements
Let ϕ be a first order sentence in a prenex normal form. We call ϕan existence sentence, if all quantifiers of ϕ equal ∃. We call ϕan extension sentence, if the sequence of all quantifiers of ϕ equals ∀…∀∃…∃. We say that an existence sentence expresses an existence property, and an extension sentence expresses an extension property. An asymptotical behavior of probabilities of the random graph existence and extension properties was widely studied in [11, 12, 13, 14]. We summarize this study in the result given below.
Let G,H be two graphs such that H⊂G, V(H)={a1,…,as}, V(G)∖V(H)={b1,…,bm}, s,m≥1. Let ρ(H) be a maximal fraction e(Q)/v(Q) over all subgraphs Q⊂H (ρ(H) is called the maximal density of H). Here e(Q),v(Q) denote the numbers of edges and vertices in Q respectively. Let ρ(G,H) be a maximal fraction (e(Q)−e(H))/(v(Q)−v(H)) over all Q such that H⊂Q⊂G. We say that a graph has the (G,H)-extension property, if, for any its distinct vertices y1,…,ys, there exist distinct vertices x1,…,xm such that, for all i∈{1,…,s}, j∈{1,…,m}, yi=xj and the adjacency relation ai∼bj implies the adjacency relation yi∼xj.
Theorem 2**.**
Let ρ(H)=0, p=n−α. If α<1/ρ(H), then a.a.s. in G(n,p) there is an induced copy of H. If α>1/ρ(H), then a.a.s. in G(n,p) there is no copy of H.
Let ρ(G,H)=0, p=n−α. If α<1/ρ(G,H), then a.a.s. G(n,p) has the (G,H)-extension property. If α>1/ρ(G,H), then a.a.s. G(n,p) does not have the (G,H)-extension property.
It is not difficult to see that Theorem 2 implies finiteness of spectra of all existence and extension sentences (see Section 4).
The next step is to consider sentences in prenex normal form that have 2 alternations. We call ϕa double-extension sentence, if the sequence of all quantifiers of ϕ equals ∀…∀∃…∃∀…∀ (the respective properties are called double-extension as well). An asymptotical behavior of probabilities of the random graph double-extension properties was studied in [15, 16].
Let W,G,H be three graphs such that H⊂G⊂W, V(H)={a1,…,as}, V(G)∖V(H)={b1,…,bm}, V(W)∖V(G)={c1,…,cr}, s≥0, r,m≥1. Assume that in W there are edges between each connected component of W∣{c1,…,cr} and W∣{b1,…,bm}. Let W be a finite set of graphs such that all W∈W satisfy the above conditions (but r depends on W). We say that a graph has the (W,G,H)-double-extension property, if, for any its distinct vertices y1,…,ys, there exist distinct vertices x1,…,xm such that, for all W∈W and all distinct vertices z1,…,zr(W),
•
for all i∈{1,…,s}, j∈{1,…,m}, yi=xj and the adjacency relation ai∼bj implies the adjacency relation yi∼xj,
•
either there exists h∈{1,…,r(W)} and i∈{1,…,s} such that [zh=yi]∨[(zh≁yi)∧(ch∼ai)],
or there exist h∈{1,…,r(W)} and j∈{1,…,m} such that [zh=xj]∨[(zh≁xj)∧(ch∼bj)].
Theorem 3**.**
Let, for all W∈W, ρ(W,G)>ρ(G,H)>0 and p=n−α, α∈(1/ρ(W,G),1/ρ(G,H)). Then a.a.s. G(n,p) has the (W,G,H)-double-extension property.
We have proved that Theorems 2, 3 imply the finiteness of spectra of double-extension sentences (see Section 4 as well).
So, we generalize the well-known results about existence, extension and double-extension properties and prove that spectra of all first order sentences with at most 2 quantifier alternations are finite.
3 Logical preliminaries
3.1 Some notations
Recall that a rooted treeTR is a tree with one distinguished vertex R, which is called the root. If R,…,x,y is a simple path in TR, then x is called a parent of y and y is called a child of x. The relation of being a descendant is the transitive and reflexive closure of the relation of being a child. If v∈V(TR), then TR[v] denotes the subforest of TR spanned by the set of all descendants of v (children of v are its roots).
For two first order formulas ϕ1(x1,…,xs),ϕ2(y1,…,ys) (s∈{0,1,2,…}), we say that they are (asymptotically) equivalent (and write φ1≅φ2), if there exists n∈N such that for any graph G on at least n vertices and any its vertices v1,…,vs either G⊨(ϕ1(v1,…,vs))∧(ϕ2(v1,…,vs)), or G⊨(¬(ϕ1(v1,…,vs))∧(¬(ϕ2(v1,…,vs))). We say that a set of graphs C is a (asymptotical) first order property of a graph, if there exists a first order sentence ϕ and n∈N such that, for any G on at least n vertices, G∈C if and only if G⊨ϕ (in this case, we say that ϕexpressesC).
3.2 Language F
It is easy to see that any first order formula (not necessarily sentence) is equivalent to a formula constructed of the following symbols: variables, relational symbols ∼,=,≁,=, conjunctions ∧, disjunctions ∨ and quantifiers ∀,∃. We denote the set of formulas in this language by F.
Let us state a simple observation of formulas in F.
Lemma 1**.**
Let Z∈{∧,∨}, z1,z2∈{∀,∃}. Then, for any two formulas φ1(x1,…,xs), φ2(x1,…,xm)∈F (not necessarily with s and m free variables respectively),
[TABLE]
[TABLE]
For a formula ϕ∈F, define its nesting forest F(ϕ) in the following way.
•
If ϕ is an atomic formula, then its nesting forest is an empty graph.
•
Consider a formula φ(x). If it has an empty nesting forest, then the nesting forest of the formula ϕ=∃x(φ(x)) (the formula ϕ=∀x(φ(x))) is an isolated vertex labeled by ∃ (by ∀). This vertex is a trivial tree rooted in its only vertex. Otherwise, let F(φ(x))=Tt11⊔…⊔Ttmm, where Tt11,…,Ttmm are trees rooted in t1,…,tm respectively. Then the nesting forest of the formula ϕ=∃x(φ(x)) (the formula ϕ=∀x(φ(x))) is a tree obtained by adding a vertex t (which is the root of this three) labeled by ∃ (by ∀) to F(φ(x)) and edges from t to each of t1,…,tm.
•
If ϕ=(φ1)∧(φ2) (or ϕ=(φ1)∨(φ2)), then F(ϕ) is the disjoint union of F(φ1), F(φ2).
Consider a formula ϕ(x1,…,xs)∈F and its nesting forest F(ϕ)=Tt11⊔…⊔Ttmm consisting of trees Tt11,…,Ttmm rooted in t1,…,tm respectively. Let v be a vertex of Ttii for some i∈{1,…,m}. Consider the forest Ttii[v]. Let V be the set of all vertices of Ttii such that v is a descendant for each of them, [V]:=V∪{v}. Obviously, Ttii∣[V] is the path ti…v. Each of the vertices of this path corresponds to a bound variable of ϕ. Let y1,…,yr be these variables (yi+1,yi corresponds to a child and a parent respectively). Then Ttii[v] is the nested forest of a subformula φ(x1,…,xs,y1,…,yr) of ϕ. The formula φ(x1,…,xs,y1,…,yr) is called a nested subformula of ϕ, the forest F(φ(x1,…,xs,y1,…,yr)) is called a nested subforest of F(ϕ).
Note that the quantifier depth of ϕ is the length of the longest path starting in a root (we denote it by q(ϕ)). For a path in F(ϕ) starting in a root consider the number of labels alternations (the number of (unordered) pairs of neighbors ∀∃ and ∃∀). For example, the number of labels alternations of the path ∃∀∀∃∃∀ equals 3. The maximal number of labels alternations over all paths starting in roots of F(ϕ) is called the number of quantifier alternations of ϕ (we denote it by ch(ϕ)).
3.3 Normal forms
A formula ϕ∈F is in prenex normal form (PNF) (we also say that ϕ is a PNF formula or a PNF sentence), if F(ϕ) is a path (all quantifiers are in the beginning of the formula). We say that ϕ^ is a PNF ofϕ, if ϕ^∈F, ϕ^ is in PNF and ϕ^≅ϕ. It is known [17], that for any first order formula (which is not necessarily in F) there exists an equivalent first order formula in PNF. This immediately implies that ϕ has a PNF.
The formula ϕ is in no-equivalence prenex normal form (NEPNF) (we also say that ϕ is NEPNF* formula* or a NEPNF sentence), if ϕ is in PNF, and is constructed as follows. Consider an arbitrary sequence z=(z1,…,zm) of symbols from {∀,∃}. Let a formula ϕ1(x1,…,xm)∈F has no quantifiers and no relations = and =. For each j∈{1,…,m−1} a formula ϕj+1(x1,…,xm) is obtained from ϕj(x1,…,xm) in the following way:
[TABLE]
[TABLE]
Finally, ϕ=z1x1…zmxm(ϕm(x1,…,xm)). We say that (ϕ1(x1,…,xm),z) is NE-basis of ϕ.
Lemma 2**.**
For any PNFsentence ϕ∈F there exists an NEPNF sentence ϕ^∈F with the same sequence of quantifiers such that ϕ≅ϕ^.
Proof. Let ϕ=z1x1…zmxm(φ(x1,…,xm)), where z1,…,zm is a sequence of symbols from {∀,∃}. Set ϕ^1(x1,…,xm)=φ(x1,…,xm). For each j∈{1,…,m−1} a formula ϕ^j+1(x1,…,xm) is obtained from ϕ^j(x1,…,xm) in the following way.
First, ϕ^j+10(x1,…,xm) is obtained from ϕ^j(x1,…,xm) by assuming that all
[TABLE]
are false, and all
[TABLE]
are true. For any i∈{1,…,j+1}, ϕ^ji(x1,…,xm)) is obtained from ϕ^j(x1,…,xm) by assuming that all
[TABLE]
are false, and all
[TABLE]
are true.
Second, if zj+1=∃, then
[TABLE]
Otherwise,
[TABLE]
Let ϕ^ be the NEPNF formula with the NE-basis (ϕ^m(x1,…,xm),(z1,…,zm)). It is easy to see that ϕ≅ϕ^. Both formulas have the same sequence of quantifiers. □
We will frequently use the following corollary.
Lemma 3**.**
Let ϕ=∃x(φ(x))∈F. Then there exists an NEPNF formula ϕ^=∃x(φ^(x))∈F such that ϕ≅ϕ^ and ch(ϕ)=ch(ϕ^).
Proof. Let F be a nesting forest of a formula with the quantifier depth q. Moreover, let F be a rooted tree with a root t(F). Denote by t1r(F),…,ta(r,F)r(F) all the vertices of F which are at the distance r−1 from t(F), where r∈{1,…,q}, a(r,F)∈{1,2,…}. Obviously, a(1,F)=1,a(r,F)≥1 for all r∈{2,…,q}. Let r be the first positive integer such that a(r,F)>1 (if there is no such r, then set r=q+1). Let
[TABLE]
Note that if F is a simple path with an end-point t(F), then μ[F]=0.
Consider a sentence ϕ=∃x(φ(x))∈F such that ch(ϕ)=k. By Lemma 2, it is sufficient to prove that there exists a PNF sentence ϕ^=∃x(φ^(x))∈F such that ϕ≅ϕ^ and ch(ϕ^)=k. If μ[F(ϕ)]=0, then we are done (ϕ^=ϕ). Suppose that μ[F(ϕ)]=m∈N, and that for any formula ζ (not necessarily closed and with an arbitrary first quantifier) with μ[F(ζ)]<m the existence of an equivalent PNF sentence with the same number of quantifier alternations and the same first quantifier is already proven.
Let ϕ=z1x1…zsxs(φ(x1,…,xs)), where s=q−μ[F(ϕ)], z1=∃, z2,…,zs∈{∀,∃}, and the first symbol of φ(x1,…,xs) is not a quantifier. The formula φ(x1,…,xs) is a logical combination L (disjunctions and conjunctions) of formulas
[TABLE]
Let I={1,…,∣I∣} be the set of all such is and J={1,…,∣J∣} be the set of all such js. So,
[TABLE]
Obviously, for all i∈I,j∈J,
[TABLE]
By the induction hypothesis, for all i∈I,j∈J there exist PNF formulas
[TABLE]
[TABLE]
such that
[TABLE]
[TABLE]
Let
[TABLE]
Then the formulas ϕ and
[TABLE]
are equivalent and have the same numbers of quantifier alternations. Moreover, F(ψ) is a rooted tree with exactly one vertex with a degree greater than 2. The distance between this vertex and the root t(F(ψ)) is s−1. Let the distance between this vertex and a vertex with the biggest distance from the root equal r. Let us construct a formula ψ0≅ψ such that ch(ψ0)=ch(ψ), F(ψ0) is a rooted tree with at most one vertex with a degree greater than 2, and the distance between this vertex (if it exists) and a vertex with the biggest distance from the root is less than r. Obviously, we get the target formula ϕ^ after applying such a construction at most r times.
For all i∈I,j∈J let us find positive integers di,dj such that
[TABLE]
[TABLE]
where the formulas ψ~i(x1,…,xs,x1,…,xdi), ψ~j(x1,…,xs,x1,…,xdj) either have no quantifiers, or ∀,∃ are the quantifier symbols they begin from respectively. Set DI=∑i∈Idi, DJ=∑j∈Jdj. Without loss of generality, assume zs=∃.
By Lemma 1, there exists a formula (if zs=∀, then this formula starts with ∀)
[TABLE]
[TABLE]
such that
[TABLE]
Moreover, F(z1x1…zsxs(ψ~0(x1,…,xs))) is a tree with exactly one vertex with a degree greater than 2, and the distance between this vertex and a vertex with the biggest distance from the root is less than r. Finally, set
[TABLE]
3.4 Ehrenfeucht games
We consider three modification of Ehrenfeucht game.
The game EHR(G,H,q) is played on graphs G and H. There are two players (Spoiler and Duplicator) and a fixed number of rounds q. At the ν\mbox−th round (1≤ν≤q), Spoiler chooses either a vertex xν of G or a vertex yν of H (which does not coincide with any of chosen vertices). Duplicator chooses a vertex of the other graph (which does not coincide with any of chosen vertices as well). At the end of the game, the distinct vertices x1,...,xq of G, y1,...,yq of H are chosen. Duplicator wins if and only if the map f(xi)=yi, i∈{1,…,q}, is an isomorphism of G∣{x1,…,xq} and H∣{y1,…,yq}.
2. 2.
In the game EHR(G,H,q,≤k), there are q rounds as well. The only difference with the game EHR(G,H,q) is that Spoiler can alternate at most k times (if in the i-th round Spoiler chooses a vertex, say, in G, and in the i+1-th round — in H (or vice versa), then we say that he alternates).
3. 3.
The most strict rules (for Spoiler) are in the game EHR(G,H,q,k). The only difference with the game EHR(G,H,q,≤k) is that Spoiler must alternates exactly k times.
Our results on first order properties of random graphs are based on the following typical arguments on the connection between an elementary equivalence and Ehrenfeucht game.
Lemma 4**.**
The following two properties are equivalent:
Spoiler has a winning strategy in EHR(G,H,q);
2)
there is ϕ∈F with q(ϕ)=q such that G⊨ϕ, H⊨¬(ϕ).
This statement is a particular case of Ehrenfeucht theorem [18].
The next two lemmas have typical proofs. We give it here for the sake of convenience.
Lemma 5**.**
The following two properties are equivalent:
Spoiler has a winning strategy in EHR(G,H,q,≤k);
2)
there is ϕ∈F with q(ϕ)=q and ch(ϕ)≤k such that G⊨ϕ, H⊨¬(ϕ).
Proof. First, let us prove that 2) implies 1). Let ϕ∈F be a sentence such that ch(ϕ)≤k, q(ϕ)=q, G⊨ϕ and H⊨¬(ϕ). We will describe a winning strategy of Spoiler by an induction on the number of played rounds. The sentence ϕ is a logical combination (disjunctions and conjunctions) of sentences φi=∃x(φ^i(x)) and φj=∀x(φ^j(x)). Obviously, one of these sentences is true for G and not true for H. Let β1 be the root of the nesting forest (tree) of this sentence. If, say,
[TABLE]
then set φ1(x):=φ^1(x). Spoiler in the first round chooses a vertex v1 such that G⊨φ1(v1). Duplicator chooses a vertex u1. Obviously, H⊨¬(φ1(u1)). Denote the root of F(ϕ) by β1. If, say,
[TABLE]
then set φ1(x):=φ^1(x). Spoiler in the first round chooses a vertex u1 such that H⊨¬(φ1(u1)). Duplicator chooses a vertex v1. Obviously, G⊨φ1(v1).
Fix m∈{2,…,k},ℓ=ℓ(m−1)∈{1,…,m−1} and vertices v1,…,vm−1, u1,…,um−1 (not necessarily distinct) in the graphs G,H respectively. Suppose that vi1,…,viℓ, ui1,…,uiℓ are all distinct vertices of v1,…,vm−1, u1,…,um−1 respectively. Moreover, vj=vir if and only if uj=uir. Suppose that ℓ** rounds are played**, and the vertices vi1,…,viℓ, ui1,…,uiℓ are chosen in the graphs G,H respectively. Moreover, suppose that in ϕ there exists a nested subformula φm−1(x1,…,xm−1) such that q(φm−1(x1,…,xm−1))=q−m+1,
[TABLE]
The formula φm−1(x1,…,xm−1) is a logical combination (disjunctions and conjunctions) of formulas
[TABLE]
Obviously, (at least) one of these formulas is true for G on v1,…,vm−1 and not true for H on u1,…,um−1. Let βm be the root of the nesting forest of such a formula. If, say,
[TABLE]
then we find a vertex vm such that G⊨φ^1(v1,…,vm−1,vm) and set φm(x1,…,xm)=φ^1(x1,…,xm). If vm∈{v1,…,vm−1}, then Spoiler “skips” this round, and we set um=uj, where j∈{1,…,m−1} is a number such that vj=vm. Otherwise, Spoiler chooses a vertex viℓ+1=:vm and Duplicator chooses a vertex uiℓ+1=:um. Obviously, in both cases, H⊨¬(φm(u1,…,um)). If, say,
[TABLE]
then fix a vertex um such that H⊨¬(φ^1(u1,…,um−1,um)) and set φm(x1,…,xm)=φ^1(x1,…,xm). If um∈{u1,…,um−1}, then Spoiler “skips” this round, and we set vm=vj, where j∈{1,…,m−1} is a number such that uj=um. Otherwise, Spoiler chooses a vertex uiℓ+1=:um and Duplicator chooses a vertex viℓ+1=:vm. Obviously, in both cases, G⊨φm(v1,…,vm).
This strategy is winning for Spoiler in EHR(G,H,q). Moreover, it is easy to see that Spoiler alternates k~ times, where k~≤k is the number of labels alternations in the path β1βℓ(2)…βℓ(q).
It remains to prove that 1) implies 2). Let Spoiler have a winning strategy in the game EHR(G,H,k,q) with a first move in G. Let us construct a sentence ϕ∈F such that ch(ϕ)=k, q(ϕ)=q, G⊨ϕ and H⊨¬(ϕ).
Let, after q rounds, distinct vertices v1,…,vq in G and u1,…,uq in H be chosen. As Spoiler wins in q rounds, there is a formula φq(x1,…,xq)∈F such that q(φq(x1,…,xq))=0 and G⊨φq(v1,…,vq), H⊨¬(φq(u1,…,uq)).
Fix m∈{0,…,q−1}. Let after m rounds, distinct vertices v1,…,vm in G and u1,…,um in H be chosen. In the m+1-th round, Spoiler chooses, say, a vertex vm+1∈V(G) (according to his winning strategy). Suppose that, for any choice of Duplicator (denote it by um+1), there is a formula φm+1um+1(x1,…,xm+1)∈F such that q(φm+1um+1(x1,…,xm+1))=q−m−1 and
[TABLE]
Note that, for a fixed number of free variables, there is only a finite number of representatives of ≅-equivalence classes of formulas in F with a fixed quantifier depth (see, e.g., [17]). Therefore, there are a positive constant C (which does not depend on ∣V(G)∣, ∣V(H)∣) and a set U⊂V(H) with ∣U∣≤C such that the following property holds. For any um+1∈V(H), there exists u∈U such that φm+1u(x1,…,xm+1)≅φm+1um+1(x1,…,xm+1). Set
[TABLE]
Obviously, G⊨φm(v1,…,vm) and H⊨¬(φm(u1,…,um)).
Finally, let Spoiler choose a vertex um+1∈V(H) and, for any choice of Duplicator vm+1∈V(G), there exists a formula φm+1vm+1(x1,…,xm+1)∈F such that q(φm+1vm+1(x1,…,xm+1))=q−m−1 and
[TABLE]
As in the previous case, there are a positive constant C (which does not depend on ∣V(G)∣, ∣V(H)∣) and a set V⊂V(H) with ∣V∣≤C such that the following property holds. For any vm+1∈V(G), there exists v∈V such that φm+1v(x1,…,xm+1)≅φm+1vm+1(x1,…,xm+1). Set
[TABLE]
By the induction, we get that ϕ=ϕ0 is the required sentence which is true for G and false for H. Obviously, ch(ϕ)≤k. □.
Lemma 6**.**
The following two properties are equivalent:
Spoiler has a winning strategy in EHR(G,H,q,k);
2)
there is ϕ∈F with q(ϕ)=q such that a number of labels alternations in any path of F(ϕ) on q vertices starting in a root equals k, and G⊨ϕ, H⊨¬(ϕ).
Proof. First, let us prove that 2) implies 1). The winning strategy of Spoiler is absolutely the same as in the proof of Lemma 5. The only thing we should prove is that Spoiler alternates exactly k times. If ℓ(q)<q, then consider a path β1…βℓ(q)βℓ(q)+1…βq in F(ϕ). The number of labels alternations in this path equals k. Therefore, k−k~≤q−ℓ(q). So, Spoiler can choose graphs (and an arbitrary vertex) in each of the remaining rounds in a way such that he will alternate k times overall. If ℓ(q)=q, then, obviously, k~=k.
It remains to prove that 1) implies 2). The formula ϕ is constructed in the same way as in the proof of Lemma 5. We only need to prove that ch(ϕ)=k. Consider an arbitrary path β1…βq in F(ϕ) starting in a root. Note that βi is labeled by ∃ if and only if there exists a Duplicator’s strategy such that in the i-th round Spoiler chooses G. Therefore, the number of labels alternations in this path equals k. □
4 Spectra of formulas with small numbers of alternations
Let us start this section with the following simple observation.
Lemma 7**.**
If ϕ∈F and α∈S(ϕ), then there exists an NEPNF sentence ϕ^ such that ch(ϕ)=ch(ϕ^) and α∈S(ϕ^) as well.
Proof. By Lemma 3, it is enough to prove that there exists a sentence ϕ^=∃x(φ(x))∈F such that α belongs to its spectrum.
As α∈S(ϕ), there exist ε>0 and sequences ni,mi such that, for any i∈N,
[TABLE]
Fix i∈N. Let G,H be graphs on ni,mi vertices respectively such that G⊨ϕ, H⊨¬(ϕ). The formula ϕ is a logical combination (disjunctions and conjunctions) of formulas
[TABLE]
Let N be the number of all formulas in this combination. Obviously, there exists either j such that G⊨∃x(φj(x)), H⊨¬(∃x(φj(x))) or j such that G⊨∀x(φj(x)), H⊨¬(∀x(φj(x))). Therefore, there exists φ(x)=φ(x,i)∈F such that ch(∃x(φ(x)))≤ch(ϕ), q(∃x(φ(x)))≤q(ϕ) and
[TABLE]
Set ϕ^i=∃x(φ(x,i)). As there is only a finite number of representatives of ≅-equivalence classes of sentences in F with a fixed quantifier depth (see, e.g., [17]),
there is only a finite number of representatives of ≅-equivalence classes in {ϕ^i,i∈N} as well. Therefore, there exists a sentence ϕ^=∃x(φ(x)) and a sequence ij such that, for all j∈N,
[TABLE]
So, α∈S(ϕ^). □
Below, we state the main result of this section, which implies the following answer on Q2:
the minimal number of quantifier alternations of a first order sentence with an infinite spectrum equals 3.
Theorem 4**.**
The minimal k such that there exists ϕ∈F with infinite S(ϕ) and ch(ϕ)=k equals 3.
Proof. By Lemma 7 and Theorem 1, it is enough to prove that, for any k∈{0,1,2} and any NEPNF sentence ϕ=∃x(φ(x))∈F with ch(ϕ)=k, the set S(ϕ) is finite. Note that S(ϕ)=S(¬(ϕ)). Therefore, equivalently, we may prove that spectra of sentences ∀x(φ(x)) are finite.
Obviously, k∈{0,1} are subcases of k=2. However, below we consider k=0, k=1 alone for the sake of convenience.
Let ϕH∈F be an existence sentence which expresses the property of containing ad induced subgraph isomorphic to H.
4.1 No alternations
Let ch(ϕ)=0, where ϕ=∃x(φ(x))∈F is an NEPNF sentence. Obviously, there exists a finite set G of graphs such that G⊨ϕ if and only if in G there is an induced subgraph which is isomorphic to some H∈G. We get
[TABLE]
By Theorem 2, either ρ:=minH∈G{ρ(H)}>0 and S(ϕ)⊂{1/ρ}, or ρ=0 and S(ϕ)=∅.
4.2 One alternation
Let ch(ϕ)=1, where
[TABLE]
has the quantifier depth s+m. Obviously, there exists a finite set G of graphs on a set of vertices {a1,…,as} and, for each A∈G, there exists a finite set H(A) of graphs on a set of vertices {a1,…,as,b1,…,bm} such that
•
for any A∈G and B∈H(A), A=B∣{a1,…,as},
•
G⊨ϕ if and only if, for any distinct vertices y1,…,ys∈V(G), there exist distinct vertices x1,…,xm∈V(G) (xj=yi) and graphs A∈G, B∈H(A) such that the map f:B→G∣{y1,…,ys,x1,…,xm}, f(ai)=yi, f(bj)=xj, is an isomorphism.
Let all graphs A1,…,AM of G be ordered in a way such that
[TABLE]
For each i∈{1,…,M}, let ρi=min{ρ(B,Ai),B∈H(Ai)}.
Suppose that 1/α is not equal to any of ρi,ρi, i∈{1,…,M}. If there is a graph on the set of vertices {a1,…,as} which does not belong to G such that its maximal density is less than 1/α, then, by Theorem 2, G(n,p)⊨¬(ϕ) (a.a.s.). Suppose that the above property does not hold. This implies that ρM=0. Set ρ0=∞, 1/ρ0=0 and 1/ρM=∞. Let i0∈{0,1,…,M−1} be chosen in the following way: 1/ρi0<α<1/ρi0+1. If for some i∈{i0+1,…,M} the inequality ρi>1/α holds, then, by Theorem 2, G(n,p)⊨¬(ϕ) (a.a.s.). Otherwise, G(n,p)⊨ϕ (a.a.s.). Thus, S(ϕ)⊆{1/ρ1,…,1/ρM,1/ρ1,…,1/ρM}, and so ∣S(ϕ)∣<∞.
4.3 Two alternations
In this case, it is not enough to define sets of graphs as above. We divide the proof into four parts. Only the first part “Transition to sets of graphs” is similar to the previous cases.
4.3.1 Transition to sets of graphs
Let a sentence
[TABLE]
has the quantifier depth s+m+r.
Obviously, there exists a set of vertices Σ=Σa⊔Σb⊔Σc, where Σa={a1,…,as}, Σb={b1,…,bm}, Σc={c1,…,cr}, and
—
a finite set of graphs G on the set of vertices Σa,
—
for each A∈G, a finite set H(A) on the set of vertices Σa⊔Σb,
—
for each A∈G and B∈H(A), a finite set of graphs K(B) on the set of vertices Σ,
such that the following properties hold.
•
For any A∈G, B∈H(A), C∈K(B), we have A=B∣Σa, B=C∣Σa⊔Σb.
•
G⊨ϕ if and only if for any pairwise distinct y1,…,ys from V(G) there exist pairwise distinct x1,…,xm from V(G)∖{y1,…,ys} such that for any pairwise distinct w1,…,wr from V(G)∖{y1,…,ys,x1,…,xm} the graph G has the property P(y1,…,ys,x1,…,xm,w1,…,wr) (which is defined below).
Let us say that G* has the property P(y1,…,ys,x1,…,xm,w1,…,wr)*, if
there exist graphs A∈G, B∈H(A), C∈K(B) such that the map f:C→G∣{y1,…,ys,x1,…,xm,w1,…,wr} which preserves the orders of the vertices (f(ai)=yi, f(bj)=xj, f(ch)=wh) is an isomorphism.
Theorem 3 from [8] implies that α∈/S(ϕ) for any α<s+m+r−21. Therefore, for any positive integer N, the set of numbers from S(ϕ) with a numerator at most N is finite. So, we may assume that the numerator of α is large enough. As in the case of one alternation, we assume that any graph on the set of vertices Σa with a maximal density less than 1/α belongs to G.
4.3.2 Dense neighbourhood and its structure
Let Γ be an arbitrary graph on a set of vertices V with the following property. There is A∈G and pairwise distinct vertices y1,…,ys∈V such that the map A→Γ∣{y1,…,ys} which preserves the orders of the vertices is an isomorphism.
Let Y0=Γ∣{y1,…,ys}. For each i≥0, let us construct an induced subgraph Yi+1 of Γ on the union of V(Yi) with some additional vertices (for a step i~, this process halts, set Y=Yi~). For a step i the process does not halt, if there exists a subgraph W⊂Γ such that W⊃Yi, v(W)−v(Yi)≤r and ρ(W,Yi)>1/α. For such a graph W, set Yi+1=W.
The graph Y=Y(Γ;y1,…,ys) is constructed. Before proceeding with the next part of the proof, let us study a structure of Y and introduce some notations for describing this structure.
•
Let U=U(A)={B1,…,Bβ} be the set of all graphs B on the set of vertices Σa∪Σb such that B∣Σa=A. Obviously, β=2Cm2+sm.
•
Let x10,…,xm0 be arbitrary vertices which are not in V(Y) (and even not necessarily in V).
•
Let ℓ∈{1,…,β}, m~∈{0,…,m}. Consider the set Xℓ,m~ of all collections of vertices x1,…,xm~∈V(Y)∖{y1,…,ys} such that there exists a graph W on the set of vertices V(Y)∪{xm~+10,…,xm0} and an isomorphism f:Bℓ→W∣{y1,…,ys,x1,…,xm~,xm~+10,…,xm0} which preserves the orders of the vertices (f(ai)=yi, f(bj)∈{xj,xj0}).
•
For each ℓ∈{1,…,β}, m~∈{0,…,m}, (x1,…,xm~)∈Xℓ,m~, consider the set Sℓ(x1,…,xm~) of all graphs W on the set of vertices V(Y)∪{xm~+10,…,xm0} such that W∣V(Y)=Y, ρ(W,Y)<1/α and the map f:Bℓ→W∣{y1,…,ys,x1,…,xm~,xm~+10,…,xm0} which preserves the orders of the vertices (f(ai)=yi, f(bj)∈{xj,xj0}) is an isomorphism. Moreover, for each W∈Sℓ(x1,…,xm~) consider the set Nℓ(W;x1,…,xm~) of all graphs C on the sets of vertices Σa∪Σb∪{c1,…,cr~}, where r~≤r, such that there exists
a subgraph Z⊂W containing the vertices y1,…,ys, x1,…,xm~, xm~+10,…,xm0, and the following two properties hold. First, there exist
vertices w1,…,wr~∈V(Y) and an isomorphism f:C→Z which preserves the orders of the vertices (f(ai)=yi, f(bj)∈{xj,xj0}, f(ch)=wh). Second,
[TABLE]
•
For each ℓ∈{1,…,β}, denote by
(N)ℓ[Y;y1,…,ys] a maximal set of pairwise distinct sets among Nℓ(W;x1,…,xm~), W∈Sℓ.
The vector N=((N)1[Y;y1,…,ys],…,(N)β[Y;y1,…,ys])defines the structure of Y.
4.3.3 Existence of a bounded graph with the same structure
Let {y1,…,ys} be an arbitrary set of vertices, and A∈G.
Consider an arbitrary graph Γ which contains the vertices y1,…,ys such that the map A→Γ∣{y1,…,ys} (preserving the orders of the vertices) is an isomorphism. Let ℓ∈{1,…,β} (where β is the cardinality of U(A)={B1,…,Bβ}). Determine the vector (N)ℓ:=(N)ℓ[Y(Γ;y1,…,ys);y1,…,ys].
Let Y=Y(Γ;y1,…,ys) be the set of all graphs Y such that Y∣{y1,…,ys}=Γ∣{y1,…,ys}, and
(N)ℓ=(N)ℓ[Y;y1,…,ys] for all ℓ∈{1,…,β}. Let the graph Ymin(Y;y1,…,ys) has a minimal number of vertices among the graphs in the set
[TABLE]
(and, of course, belongs to this set).
Note that the set Y(Γ;y1,…,ys) is defined by the vector N=((N)1,…,(N)β) only. Therefore, for the vertices y1,…,ys there exist only finite set of pairwise distinct sets Y(⋅;y1,…,ys). So, the set of pairwise distinct graphs Ymin(⋅;y1,…,ys) is finite. Let
[TABLE]
be all such graphs.
4.3.4 Finiteness of the spectrum
Recall that the numerator of the irreducible fraction α=PR is large enough (see Section 4.3.1). So, we assume that R>max{s+m+r,N}, where
[TABLE]
Note that N does not depend on a choice of y1,…,ys.
Theorems 2, 3 imply that a.a.s. the random graph G(n,n−α) has the following properties:
G1
for any H with ρ(H)>1/α and v(H)≤s+r(sP+1), there is no subgraph isomorphic to H;
G2
for any H⊂G with v(G)≤s+m+r and ρ(G,H)<1/α, there is the (G,H)-extension property;
G3
for any H⊂G with v(G)≤max{N,m+s+rsP}, ρ(G,H)<1/α and set W of graphs W on a fixed set of vertices such that
–
G⊂W, 1≤v(W)−v(G)≤r+m, ρ(W,G)>1/α,
–
W∖G is connected,
–
there are edges between W∖G and G in W,
there is the (W,G,H)-double-extension property.
Let us prove that if the graphs Γ,Υ have the properties G1, G2 and G3, then either ϕ is true for both of them, or ϕ is false for both of them. This would imply that α∈/S(ϕ).
Assume that Γ⊨¬(ϕ), Υ⊨ϕ. By the property G1, a maximal density of any subgraph of Γ on s vertices is less than 1/α. All graphs on the set of vertices Σa with such a maximal density are in G (see Section 4.3.1). Therefore, there exist A∈G and pairwise distinct y1,…,ys∈V(Γ) such that the map A→Γ∣{y1,…,ys} which preserves the orders of the vertices is an isomorphism, and Γ with distinguished vertices y1,…,ysdoes not have the property (EXT), which is defined below.
(EXT): there exist pairwise distinct x1,…,xm∈V(Γ)∖{y1,…,ys} such that for any pairwise distinct w1,…,wr∈V(Γ)∖{y1,…,ys,x1,…,xm} there exist graphs B∈H(A), C∈K(B) and an isomorphism f:C→Γ∣{y1,…,ys,x1,…,xm,w1,…,wr} which preserves the orders of the vertices (f(ai)=yi, f(bj)=xj, f(ch)=wh).
Construct the graph Y=Y(Γ;y1,…,ys) as it is done in Section 4.3.2. Let us prove that v(Y)≤s+rsP. Assume that the opposite inequality is true. By the definition of Y, there is a subgraph X⊂Y on at most s+r(sP+1) vertices such that, for some v1,…,vsP+1∈{1,…,r},
[TABLE]
This contradicts the property G1. So, v(Y)≤s+rsP, and, therefore, ρ(Y)≤1/α.
Consider the graph Ymin=Ymin(Y(Γ;y1,…,ys);y1,…,ys). We have ρ(Ymin)≤ρ(Y)≤1/α. As v(Ymin)≤N<R, the equality ρ(Ymin)=1/α is impossible, and so ρ(Ymin)<1/α.
By the property G3, in Υ there is an induced subgraph YΥ≅Ymin such that in Υ there is no subgraph W⊃YΥ with v(W)−v(YΥ)≤r+m and ρ(W,YΥ)>1/α. Let f:Ymin→YΥ be an isomorphism. Set f(yi)=yiΥ, i∈{1,…,s}. As Υ⊨ϕ, Υ with distinguished vertices y1Υ,…,ysΥ has the property (EXT). Let x1Υ,…,xmΥ∈V(Υ)∖{y1Υ,…,ysΥ} and B∈H(A) be such that
for any pairwise distinct w1Υ,…,wrΥ∈V(Υ)∖{y1Υ,…,ysΥ,x1Υ,…,xmΥ} there exist a graph C∈K(B) and an isomorphism g:C→Υ∣{y1Υ,…,ysΥ,x1Υ,…,xmΥ,w1Υ,…,wrΥ} which preserves the orders of the vertices (g(ai)=yiΥ, g(bj)=xjΥ, g(ch)=whΥ).
From the property G1 it follows that
[TABLE]
if at least one of the vertices x1Υ,…,xmΥ is not in YΥ. Indeed, there is no equality, because v(Υ∣V(YΥ)∪{x1Υ,…,xmΥ})−v(YΥ)≤m. Let x1,…,xm~∈YΥ, xm~+1,…,xm∈V(Υ)∖V(YΥ), where m~∈{0,1,…,m}. From the property G3, the definitions of Y and Ymin it follows that there exist vertices x1,…,xm~∈V(Y), xm~+1,…,xm∈V(Γ)∖V(Y) such that the following properties hold.
Q1
There exists an isomorphism f:B→Γ∣{y1,…,ys,x1,…,xm} which preserves the orders of the vertices (f(ai)=yi, f(bj)=xj).
Q2
There is no W⊂Γ such that W⊃Γ∣V(Y)∪{x1,…,xm},
[TABLE]
Q3
Let C be a graph on a set of vertices {a1,…,as,b1,…,bm,c1,…,cr~} (where r~≤r). Let Z⊆Γ be a graph consisting of the vertices y1,…,ys,x1,…,xm and some vertices w1,…,wr~∈V(Y). Moreover, let the map f:C→Z which preserves the orders of the vertices (f(ai)=yi, f(bj)=xj, f(ch)=wh) be an isomorphism, and
[TABLE]
Then, in Υ there is a subgraph ZΥ consisting of the vertices y1Υ,…,ysΥ, x1Υ,…,xmΥ and some vertices w1Υ,…,wr~Υ∈V(YΥ) such that the map f:C→ZΥ which preserves the orders of the vertices (f(ai)=yiΥ, f(bj)=xjΥ, f(ch)=whΥ) is an isomorphism.
By our assumption, there exist w1,…,wr∈V(Γ)∖{y1,…,ys,x1,…,xm} such that for any C∈K(B) the map f:C→Γ∣{y1,…,ys,x1,…,xm,w1,…,wr} which preserves the orders of the vertices (f(ai)=yi, f(bj)=xj, f(ch)=wh) is not an isomorphism. If
[TABLE]
then by the property G2 in Υ there are vertices w1Υ,…,wrΥ such the the map
[TABLE]
which preserves the orders of the vertices (f(yi)=yiΥ, f(xj)=xjΥ, f(wh)=whΥ) is an isomorphism — a contradiction.
If w1,…,wr∈V(Γ)∖V(Y), then Inequality (3) holds (there is no equality, because v(Γ∣{y1,…,ys,x1,…,xm,w1,…,wr})−v(Γ∣{y1,…,ys,x1,…,xm})=r<R).
If w1,…,wr∈V(Y) and
[TABLE]
then, the definition of YΥ implies the existence of vertices w1Υ,…,wrΥ such that the map (4) which preserves the orders of the vertices is an isomorphism — a contradiction.
Finally, let some (not all) of the vertices w1,…,wr be in V(Y) (say, w1…,wr~∈V(Y), wr~+1,…,wr∈V(Γ)∖V(Y)). In YΥ there exist vertices w1Υ,…,wr~Υ such that the map f:Γ∣{y1,…,ys,x1,…,xm,w1,…,wr~}→Υ∣{y1Υ,…,ysΥ,x1Υ,…,xmΥ,w1Υ,…,wr~Υ} which preserves the orders of the vertices is an isomorphism. Moreover,
[TABLE]
By the property G2, in Υ there exist vertices wr~+1Υ,…,wrΥ such that the map (4) which preserves the orders of the vertices is an isomorphism — a contradiction. □
5 Spectra of formulas with small quantifier depths
Theorem 4 answers the second question of Section 1. In this section we partially answer the first and the third questions.
5.1 Counting quantifier alternations
We do not have a complete answer on the third question. However, in our second main result, we get a new lower bound on the minimal quantifier depth of PNF sentence with an infinite spectrum.
Theorem 5**.**
The minimal q such that there exists a PNF sentence ϕ∈F with infinite S(ϕ) and q(ϕ)=q is at least 5.
The proof is based on the statement on Ehrenfeucht game which is given below. For a positive integer k, consider a set S~(k) of α>0 such that there exist ε>0 and increasing sequences ni,mi of positive integers such that, for any i∈N,
[TABLE]
Lemma 8**.**
The set S~(4)∩(1/2,1) is finite.
Proof. Case 1. Let p=n−α, α∈(1/2,10/19).
Let x1,x2,x3 be vertices of an arbitrary graph G. For any i,j∈{{0},N}, we say that (x1,x2,x3) has the type (i,j), if a number of common neighbors of x1,x3 (which are not adjacent to x2) is in i, and a number of common neighbors of x2,x3 (which are not adjacent to x1) is in j. Introduce a linear order ≤ on the set I of all pairs of elements from {{0},N} in the following way: ({0},{0})≤({0},N)≤(N,{0})≤(N,N).
For any vertices x1,x2, denote by n(x1,x2) the number of all pairs of adjacent common neighbors of x1,x2. Denote the set of all common neighbors of x1,x2 by N(x1,x2). Denote the set of all common neighbors x3 of x1,x2 such that x1,x2,x3 have no common neighbors by U(x1,x2).
We say that a graph has the triangle property, if, for any s∈{0,1,2}, any vertex x1, any x,y∈I and any δ∈{∼,≁}, there is a vertex x2 in the graph such that
•
x1δx2,
•
n(x1,x2)≤1,
•
there is no K4 containing x1,x2,
•
if n(x1,x2)=1, then ∣U(x1,x2)∣=min{s,1},
•
if n(x1,x2)=0, then ∣U(x1,x2)∣=s,
•
for any x3∈U(x1,x2), (x1,x2,x3) has the type x,
•
for any x3∈N(x1,x2)∖U(x1,x2), (x1,x2,x3) has the type y.
By Theorem 3, a.a.s. G(n,p) has the triangle property. Moreover, by Theorem 3, a.a.s. G(n,p) has the sparse extension property, which is described below. For any m≥1 and any distinct vertices v1,…,vm, there are vertices z1,z2 such that
•
z1 is adjacent to v1 and not adjacent to any of v2,…,vm, z2 is not adjacent to any of v1,…,vm,
•
for any i∈{1,…,m}, s∈{1,2}, zs=vi and zs has no common neighbors with vi.
Finally, by Theorem 3, a.a.s., in G(n,p), there exists a vertex x1 such that
•
there is no K4 containing x1,
•
for any vertex x2, n(x1,x2)≤1
(in such a case, we say that a graph has the sparse subgraph property).
Let G,H be graphs with the triangle property, the sparse extension property and the sparse subgraph property. Let us describe a winning strategy of Duplicator in EHR(G,H,4,3).
In the first round, Spoiler chooses, say, an arbitrary vertex v1∈V(G). Duplicator chooses an arbitrary vertex u1∈V(H) such that there is no K4 in H containing u1 and, for any vertex u2, n(u1,u2)≤1. Such a vertex exists because H has the sparse subgraph property.
In the second round, Spoiler chooses a vertex u2∈V(H). If the set N(u1,u2)∖U(u1,u2) is non-empty, then denote by y∈I the least element of the set of types of (u1,u2,u3) over all u3∈N(u1,u2)∖U(u1,u2). If the set U(u1,u2) is non-empty, then denote by x∈I the least element of the set of types of (u1,u2,u3) over all u3∈U(u1,u2).
Consider two cases.
u1∼u2. Duplicator chooses v2∈V(G) such that
•
v1∼v2,
•
there is no K4 containing v1,v2 in G,
•
for any s∈{0,1}, v1,v2 have exactly s common neighbors if and only if u1,u2 have exactly s common neighbors,
•
if u1,u2 have 2 common neighbors, then v1,v2 have exactly 2 common neighbors,
•
if N(u1,u2)=∅, then the types of (v1,v2,v3) equal x for all common neighbors v3 of v1,v2.
2. 2.
u1≁u2. Duplicator chooses v2∈V(G) such that
•
v1≁v2,
•
n(v1,v2)=n(u1,u2),
•
if n(u1,u2)=1, then the types of (v1,v2,v31), (v1,v2,v32) equal y, where v31∼v32 are common neighbors of v1,v2,
•
if n(u1,u2)=1 and U(u1,u2)=∅, then U(v1,v2)={v3} and the type of (v1,v2,v3) equals x,
•
if n(u1,u2)=0 and ∣U(u1,u2)∣≥2, then U(v1,v2)={v31,v32} and the types of (v1,v2,v31),(v1,v2,v32) equal x,
•
if n(u1,u2)=0 and ∣U(u1,u2)∣=1, then U(v1,v2)={v3} and the type of (v1,v2,v3) equals x,
•
if N(u1,u2)=∅, then N(v1,v2)=∅.
Such a vertex exists because 1) after the first round, there is no K4 containing u1 and n(u1,u2)≤1 for all u2; 2) G has the triangle property.
In the third round, Spoiler chooses a vertex v3∈V(G). If v3∼v1,v3∼v2, then Duplicator chooses a vertex u3∈V(H) such that
•
if v3∈U(v1,v2), then u3∈U(u1,u2) and (u1,u2,u3) has the type x,
•
if v3∈N(v1,v2)∖U(v1,v2), then u3∈N(u1,u2)∖U(u1,u2) and (u1,u2,u3) has the type y.
Otherwise, Duplicator chooses a vertex u3∈V(H) such that
•
v1∼v3 if and only if u1∼u3,
•
v2∼v3 if and only if u2∼u3,
•
for any j∈{1,2}, the vertices uj,u3 have no common vertices.
Such a vertex exists because H has the sparse extension property.
In the fourth round, Spoiler chooses a vertex u4∈V(H).
Obviously, if u4 is a common neighbor of u1,u2,u3, then u1≁u2 and u3∈N(u1,u2)∖U(u1,u2). Therefore, v3∈N(v1,v2)∖U(v1,v2). So, there exists a common neighbor v4∈V(G) of v1,v2,v3.
Assume that u4 is not a common neighbor of u1,u2,u3. If u4∈N(u1,u2), then v1,v2 have at least 1 common neighbor. So, if u3∈/N(u1,u2), there is v4∈N(v1,v2) such that v4=v3. If u3∈N(u1,u2, then v1,v2 have at least 2 common neighbors, and so there is v4∈N(v1,v2) such that v4=v3 as well. If u4∈N(u1,u3) (or u4∈N(u2,u3)), then u3∈N(u1,u2) and (u1,u2,u3), (v1,v2,v3) has the same type. Therefore, there exists a vertex v4 such that v4∈N(v1,v3) (or v4∈N(v2,v3)).
In all the above cases, Duplicator chooses v4.
Finally, if u4 is adjacent to at most one vertex of u1,u2,u3, then Duplicator has a winning strategy because G has the sparse extension property.
Case 2 Let p=n−α, α∈(10/19,1) be rational and not equal to any fraction a/b with a≤20. Note that there is only a finite number of forbidden fractions a/b. Moreover, let q be the denominator of α.
Let H2⊂H1, V(H2)={a1,…,am}, V(H1)∖V(H2)={b1,…,bℓ}. We say that a graph G has a t-generic (H1,H2)-extension property if for any its distinct vertices x=(x1,…,xm) there exist distinct vertices y=(y1,…,yℓ) such that
•
∀i,j∈{1,…,ℓ}(yi∼yj)⇔(bi∼bj),
•
∀i∈{1,…,m},j∈{1,…,ℓ}(xi∼yj)⇔(ai∼bj),
•
if for some z=(z1,…,zs) with s≤t the pair (Gx⊔y⊔z,Gx⊔y) is α-rigid, then there are no edges between the y’s and the z’s.
Is the above conditions are satisfied for some y, we say that the pair (G∣x⊔y,G∣x) is a t-generic (H1,H2)-extension.
Let S be a set of all graphs G, that satisfy the following properties.
(1)
There exists a vertex x in G such that there are no subgraphs W⊃X with x∈V(W), ρ(W,({x},∅))>1/α and v(W)≤21.
(2)
For any graphs H2⊂H1 with ρ(H1,H2)<1/α, v(H1)≤22, G has the 1-generic (H1,H2)-extension property.
By Theorems 2 and 3, limn→∞P(G(n,p)∈S)=1, and it is sufficient to describe a Duplicator’s winning strategy in EHR(G,H,4,3) for G,H∈S.
In the first round, Spoiler chooses, say, a vertex v1∈V(G). By the property (1), there is a vertex u1∈V(H) such that in H there is no subgraph W with u1∈V(W), v(W)≤21, ρ(W,({u1},∅))>1/α.
In the second round, Spoiler chooses a vertex u2∈V(H). Consider a maximal sequence of graphs H∣{u1,u2}=H0⊂H1⊂…⊂HL⊂H with each v(Hi)−v(Hi−1)=1 and ρ(Hi,Hi−1)>1/α. Note that L≤19. Indeed, if L>19, then
[TABLE]
that is impossible by the choice of u1.
By the choice of u1, we have ρ(HL,({u1},∅))≤1/α. Moreover, α is not equal to any fraction a/b with a≤20, hence, the inequality is strict: ρ(HL,({u1},∅))<1/α. Set Y=HL. By (2), there exists a subgraph X in G such that Y≅X, there is an isomorphism f:Y→X such that f(u1)=v1, and there is no subgraph W⊂G such that X⊂W, v(W)=v(X)+1, ρ(W,X)>1/α.
Duplicator chooses v2=f(u2).
In the third round, Spoiler chooses a vertex v3∈V(G). Consider two cases.
If v3∈V(X), then Duplicator chooses u3=f−1(v3). If after that Spoiler chooses a vertex u4∈V(Y), then Duplicator chooses v4=f(u4), and she wins. If Spoiler chooses u4∈/V(Y), then ρ(H∣{u1,u2,u3,u4},H∣{u1,u2,u3})<1/α. So, the property (2) implies the existence of v4∈V(G) such that v4∼vi if and only if u4∼ui for all i∈{1,2,3}. Duplicator chooses such a v4 and wins.
If v3∈/V(X), then ρ(G∣V(X)∪{v3},X)<1/α. So, by (2) there exists a vertex u3 in H such that there exists an isomorphism f~:G∣V(X)∪{v3}→H∣V(Y)∪{u3}, f~(vi)=ui for i∈{1,2,3}. Moreover, there is no subgraph W⊂H such that H∣V(Y)∪{u3}⊂W, v(W)=v(Y)+1, ρ(W,Y)>1/α. Duplicator chooses that u3. Denote X~=G∣V(X)∪{v3}, Y~=H∣V(Y)∪{u3}. If in the fourth round Spoiler chooses a vertex u4∈Y~, then Duplicator chooses f~−1(u4) and wins. If Spoiler chooses u4∈/Y~, then (H∣{u1,u2,u3,u4},H∣{u1,u2,u3})<1/α. In this case Duplicator’s winning strategy is the same as in the first case. □
Proof of Theorem 5. From Theorem 4, it follows that it is enough to prove that ∣S(ϕ)∣<∞ if ϕ is in PNF, q(ϕ)=4, ch(ϕ)=3.
Let ϕ∈F be a PNF sentence such that q(ϕ)=4, ch(ϕ)=3. Let α∈S(ϕ). Obviously, there exist ε>0 and sequences ni,mi such that, for any i∈N,
Therefore, α∈S~(ϕ). By Lemma 8, ∣S~(4)∩(1/2,1)∣<∞. Moreover, the random graph G(n,n−α) obeys zero-one 4-law if α<1/2, and the set S(ϕ)∩(1,∞) is finite (see Section 1). Therefore, S(ϕ)=S(ϕ)∩[1/2,∞) is finite. □
Note that as the formula (1) with an infinite spectrum is in PNF, Theorem 5 implies that a minimal quantifier depth of a PNF sentence with an infinite spectrum is in {5,6,7,8}.
Finally, it is easy to see that Lemma 8 and Theorem 4 have a more general corollary which is given below.
Theorem 6**.**
Let ϕ∈F, q(ϕ)=4. If either all paths of F(ϕ) starting in a root have 3 labels alternations, or all paths of F(ϕ) starting in a root have at most 2 labels alternations, then ∣S(ϕ)∣<∞.
From Theorem 6, we get that if there exists a sentence ϕ=∃xφ(x)∈F with q(ϕ)=4 and an infinite spectrum, then F(ϕ) has both types of paths starting in the root: with maximal number of labels alternations and with less number of labels alternations.
5.2 There are only two possible limit points
We do not have an answer on the first question of Section 1, but we bound the set of possible limit points of S(4) by two points.
Theorem 7**.**
There are no limit points of S(4), except, possibly 1/2 and 3/5.
The scheme of the proof of Theorem 7 is the following. First, we introduce some auxiliary constructions, that we exploit in our proof. Second, we restrict the set of possible limit points of S(4) by {1/2,3/5,2/3,3/4}. Finally, we prove that all limit points of S(4) are less than 2/3.
Let H⊂G be arbitrary graphs. We say that the pair (G,H) is α-safe, if ρ(G,H)<1/α. We say that (G,H) is α-rigid, if (e(G)−e(S))/(v(G)−v(S))>1/α for each H⊆S⊂G.
Lemma 9**.**
Let α be not equal to any fraction a/b with a≤v(G,H).
If (G,H) is not α-safe then there exists a graph S such that H⊂S⊆G and (S,H) is α-rigid.
Proof.
As (G,H) is not α-safe, there exists H⊂S⊆G with (e(S)−e(H))/(v(S)−v(H))≥1/α (obviously, the case of equality is not possible because of the restriction on α). Consider a minimal such S, and let us prove that (S,H) is α-rigid. Indeed, if there is some H⊂S′⊂S, such that (e(S)−e(S′))/(v(S)−v(S′))≤1/α, then (e(S′)−e(H))/(v(S′)−v(H))≥1/α, and S is not minimal.
∎
Let α>0 be a fixed number, let G be an arbitrary graph, and let U⊂V(G) be an arbitrary set of its vertices. Consider a maximal sequence of induced subgraphs G∣U=G0⊂G1⊂…⊂GL⊂G, where each (Gi,Gi−1) is α-rigid, and each v(Gi,Gi−1)≤t. Such a sequence is called an α-rigid t-chain. Let us show, that the last graph GL of this sequence is the same for all possible chains. Indeed, if G0⊂G1⊂…⊂GL and G0⊂H1⊂…⊂HK are α-rigid t-chains, then G0⊂G1⊂…⊂GL⊂[GL∪H1]⊂…⊂[GL∪HK] is also an α-rigid t-chain. The graph GL is called the t-closure of U, and is denoted by clt(U).
Lemma 10**.**
Let a1, b1, a2, b2, t, C be fixed positive integers such that numerators of all fractions a/b∈[a1/b1,a2/b2) are strictly greater than t. Then there exists a constant C such that for any α∈[a1/b1,a2/b2) a.a.s. G(n,n−α) has the following property. For each subset U⊂V(G(n,n−α)) with ∣U∣≤C, the inequality v(clt(U))≤C holds.
Proof.
Denote by K the maximum value among all fractions a/b with a≤t and a/b<a1/b1. Set ε=a1/b1−K. Let us prove that C=C+tC/ε satisfies the statement of Lemma. Fix an arbitrary α∈[a1/b1,a2/b2] and consider an arbitrary α-rigid t-chain G∣U=G0⊂G1⊂…⊂GL. If L>C/ε then
[TABLE]
By Theorem 2, a.a.s. there are no copies of GL in G(n,n−α). As there are finitely many possible GL, a.a.s. L≤C/ε for every U, and hence C=C+tC/ε≥v(clt(U)).
∎
Consider the modification
[TABLE]
of the game EHR(G,H,k), in which the first m moves x1,…,xm∈V(G), y1,…,ym∈V(H) are determined beforehand, i.e. for each i∈{1,…,m} in the i-th round the vertices xi, yi are chosen (k−m rounds remain). Define the relation ∼k on the set of tuples (G;x1,…,xm) (where G is an arbitrary graph and x1, …, xm — its vertices) in the following way: (G;x1,…,xm)∼k(H;y1,…,ym) if and only if Duplicator has a winning strategy in EHR[(G;x1,…,xm),(H;y1,…,ym),k]. Note that ∼k is an equivalence relation, and the number of equivalence classes of ∼k is finite (see, e.g., [19]). Consider a rooted tree T=T(G;x1,…,xm) whose vertices represents all possible sequences (x1,…,xl), where k≥l≥m, and xl+1,…,xk are arbitrary vertices from V(G). The root of T is (x1,…,xm). For every vertex (x1,…,xl) of T, its children are all of the form (x1,…,xl,xl+1). Note that each sequence of moves in the considered Ehrenfeucht game corresponds in a natural way to a path in T from the root to one of the leaves. We may assume that players moves a pebble (that is initially in the root) along the edges of T, instead of pebbling new vertices in G.
Let us make some modifications of the tree, that would not change the result of the game. Let (x1,…,xl) be an arbitrary vertex of T. We say that two of its descendants (x1,…,xl,xl+1) and (x1,…,xl,xl+1′) are equivalent, if
[TABLE]
Note that if we remove one of two equivalent vertices from the tree (together with its subtree), then the result of Ehrenfeucht game would not change. Make all that removals, and denote the modified tree by T. As the quotient set of ∼k is finite, each vertex of T has a bounded number of descendants (this bound depends only on k but not on G). Hence, v(T) is also bounded by a constant, that does not depend on G. Consider the set of all vertices, that are represented in the sequences of T, and denote the subgraph induced on this set of vertices by K(G;x1,…,xm;k). Obviously, v(K(G;x1,…,xm;k)) is also bounded by some constant C(k).
Now we are ready to prove the following lemma.
Lemma 11**.**
For any ε>0, the intersection of S(4) with the set
[TABLE]
is finite.
Proof.
Let us prove that, for all but a finite number of α∈Aε, Duplicator has an (a.a.s.) winning strategy in the game EHR(G,H,4), where G∼G(n,n−α), H∼G(m,m−α).
Let a be an a.a.s. uniform (by all α∈Aε) upper bound for v(cl3(U))+C(4), where U∈V(G(n,n−α)) is a set of cardinality C(4) (such an upper bound exists by Lemma 10). Let C1 be an a.a.s. uniform upper bound for v(cl3(U)), where U is a set of cardinality a. Let C2 be an a.a.s. uniform upper bound for v(cl3({x1,x2}))+3, where x1,x2∈V(G(n,n−α)). Set C≥max{C1,C2}.
Let Aε be the set of all α∈Aε, that are not equal to any fraction s/t with s≤C. Obviously, the set Aε∖Aε is finite. Fix an arbitrary α∈Aε, and let S(α) be the set of all graphs G that satisfy the following properties.
P1
There are no subgraphs W⊂G with v(W)≤C and ρ(W)>1/α.
P2
For every α-safe pair (W1,W2) with v(W1)≤C, G has the C-generic (W1,W2)-extension property (the generic extension property is defined in the proof of Lemma 8).
P3
For every x1,x2∈V(G), v(cl3({x1,x2}))≤C−3 .
P4
For every U⊂V(G) with ∣U∣≤C(4), v(cl3(U))+C(4)≤a, and for every U⊂V(G) with ∣U∣≤a, v(cl3(U))≤C.
By Theorem 2 and Theorem 3, limn→∞P(G(n,n−α)∈S)=1, and it is sufficient to describe a Duplicator’s winning strategy in EHR(G,H,4) for G,H∈S(α).
We will show that Duplicator can play in the first two rounds so that, for chosen vertices x1,x2∈V(G), y1,y2∈V(H), the graphs cl3({x1,x2}) and cl3({y1,y2}) are isomorphic. After that Duplicator wins due to the following lemma.
Lemma 12**.**
Let α∈Aε, G,H∈S(α). Let x1,x2∈V(G) and y1,y2∈V(H) be vertices such that cl3({x1,x2})≅cl3({y1,y2}). Then Duplicator has a winning strategy in EHR[(G;x1,x2),(H;y1,y2),4].
Proof.
Denote G2=cl3({x1,x2}), H2=cl3({y1,y2}). Without loss of generality, suppose that, in the third round, Spoiler chooses a vertex x3∈V(G). If x3∈G2, then Duplicator chooses the image of x3 under an isomorphism φ2:G2→H2. Further, if in the fourth round Spoiler chooses a vertex x4∈V(G2) (or y4∈V(H2)), then Duplicator chooses y4=φ(x4) (or x4=φ−1(y4)) and she wins. If Spoiler chooses, say, a vertex x4∈V(G)∖V(G2), then, by the definition of G2, the pair (G∣{x1,x2,x3,x4},G∣{x1,x2,x3}) is α-safe, and hence, by the property P2, there exists y4 such that G∣{x1,x2,x3,x4}≅H∣{y1,y2,y3,y4}. Duplicator chooses this y4 and she wins. If, in the fourth round, Spoiler chooses a vertex y4∈V(H)∖V(H2), then Duplicator’s winning strategy is analogous.
Let x3∈V(G)∖V(G2). Define the graph G3⊃G2 in the following way.
•
If the set N(x1,x3)∖V(G2) is nonempty, then put an arbitrary vertex from this set into G3.
•
If the set N(x2,x3)∖V(G2) is nonempty, then put an arbitrary vertex from this set into G3.
•
Put x3 into G3.
Obviously, v(G3,G2)≤3. By the definition of G2 and Lemma 9, the pair (G3,G2) is α-safe, moreover, by the property P3, v(G3)≤C, hence, by the property P2, there exists a subgraph H3⊂H, such that (H3,H2) is a 1-generic (G3,G2)-extension. Denote an isomorphism between G3 and H3 by φ3. Duplicator chooses y3=φ3(x3). If, in the fourth round, Spoiler chooses a vertex that forms an α-safe extension over the three previously chosen vertices, then he, obviously, loses. If he chooses a vertex y4∈V(H) such that (H∣{y1,y2,y3,y4},H∣{y1,y2,y3}) is α-rigid, then y4∈V(H3), Duplicator chooses x4=φ3−1(y4) and she wins. If Spoiler chooses a vertex x4∈V(G), such that the pair (G∣{x1,x2,x3,x4},G∣{x1,x2,x3}) is α-rigid, then, by the definition of G3, there exists a vertex x4′∈V(G3) such that G∣{x1,x2,x3,x4}≅G∣{x1,x2,x3,x4′}, Duplicator chooses y4=φ(x4′) and she wins.
∎
Let us define the Duplicator’s strategy for the first two rounds. Without loss of generality, in the first round, Spoiler chooses a vertex x1∈V(G). Set G1′=K(G;x1;4), G1=cl3(V(G1′)). By the property P4, the size of G1 is not greater than a−C(4). By the property P1, ρ(G1)<1/α (the case of equality is not possible as α∈Aε). Therefore, by the property P2, there exists a subgraph H1⊂H such that (H1,(∅,∅)) is a C-generic (G1,(∅,∅))-extension. Duplicator chooses y1∈H, that is the image of x1 under an isomorphism φ:G1→H1. Denote H1′=φ(G1′).
If, in the second round, Spoiler chooses a vertex x2∈V(G), we may assume that x2∈V(G1′). Indeed, by the definition of G1′, for every x2∈V(G) there exists an x2′∈V(G1′), such that (G;x1,x2)∼4(G;x1,x2′). Hence, if we prove that, for some y2∈V(H), (G;x1,x2′)∼4(H;y1,y2), then, by transitivity, (G;x1,x2)∼4(H;y1,y2). Thus, let x2∈V(G1′). Duplicator chooses y2=φ(x2). Obviously, cl3({x1,x2})⊂cl3(V(G1′)), cl3({y1,y2})⊂cl3(V(H1′)), and hence cl3({x1,x2})≅cl3({y1,y2}). Duplicator wins due to Lemma 12. Analogously if Spoiler chooses a vertex y2∈V(H1), then Duplicator chooses x2=φ−1(y2) and she wins.
Suppose that Spoiler chooses a vertex y2∈V(H)∖V(H1). Denote H2′=H1∪K(H;y1,y2;4), H2=cl3(V(H2′)). By the property P4, v(H2)≤C. Then, by the definition of H1, there are no α-rigid pairs (S,H1) (H1⊂S⊆H2), hence, by Lemma 9, (H2,H1) is α-safe. By the property P2, there exists a subgraph G2⊂G, such that (G2,G1) is a 3-generic (H2,H1)-extension. Because of G1=cl3(V(G1)), and (G2,G1) is a 3-generic extension, cl3({x1,x2})⊂G2. Thus, cl3({x1,x2})≅cl3({y1,y2}), and Duplicator wins due to Lemma 12.
∎
Lemma 13**.**
The set S(4)∩(2/3,1) is finite.
Proof.
Let A be the set of all α∈(2/3,1) that are not equal to any fraction s/t with s≤2C(4)+3. Obviously, (2/3,1)∖A is a finite set. We will prove that, for all α∈A, Duplicator has an (a.a.s.) winning strategy in the game EHR(G,H,4), where G∼G(n,n−α), H∼G(m,m−α). Fix an arbitrary α∈A, and let S(α) be the set of all graphs G that satisfy the following properties.
P1
There are no subgraphs W⊂G with v(W)≤2C(4)+3 and ρ(W)>1/α.
P2
For every α-safe pair (W1,W2) with v(W1)≤2C(4)+3, G has the C(4)-generic (W1,W2)-extension property (the generic extension property is defined in the proof of Lemma 8).
By Theorem 3, limn→∞P(G(n,n−α)∈S)=1, and it is sufficient to describe a Duplicator’s winning strategy in EHR(G,H,4) for G,H∈S(α).
Without loss of generality, in the first round, Spoiler chooses a vertex x1∈V(G). Denote G1=K(G;x1;4). Obviously, v(G1)≤C(4). By the property P1, ρ(G1)<1/α (the case of equality is impossible as α∈A). By the property P2, there exists a subgraph H1⊂H such that (H1,(∅,∅)) is a C(4)-generic (G1,(∅,∅))-extension. Duplicator chooses a vertex y1∈H, that is the image of x1 under an isomorphism φ:G1→H1.
Further, while Spoiler chooses only vertices from G1 or H1, Duplicator chooses their images under the isomorphism φ or φ−1. So, if Spoiler’s moves are only in G1∪H1 then Duplicator wins. Let i be the first round when Spoiler chooses a vertex not from G1∪H1. If it is a vertex xi∈V(G), then find a vertex xi′∈V(G1) such that (G;x1,…,xi)∼4(G;x1,…,xi′). The replacement of xi by xi′ would not change the result of the game. Thus, we may assume that the first vertex chosen outside G1∪H1 is a vertex from H. Consider several cases.
Case 1: i=4. Let x1,x2,x3∈G1, y1,y2,y3∈H1 be chosen in the first 3 rounds. In the fourth round, Spoiler chooses a vertex y4∈V(H)∖V(H1). By the definition of H1, the pair (H∣V(H1)∪{y4},H1) is α-safe. By the property P2, there exists a vertex x4∈V(G), such that G∣V(G1)∪{x4}≅H∣V(H1)∪{y4}, Duplicator chooses this vertex and she wins.
Case 2: i=3. Let x1,x2∈G1, y1,y2∈H1 be chosen in the first two rounds, in the third round, Spoiler chooses a vertex y3∈V(H)∖V(H1). Denote H3=H1∪K(H;y1,y2,y3;4). Note that v(H3,H1)≤C(4) and v(H3)≤2C(4). By the definition of H1 and Lemma 9, the pair (H3,H1) is α-safe. By the property P2, there exists a subgraph G3⊂G such that (G3,G1) is a 1-generic (H3,H1)-extension. Denote an isomorphism between G3 and H3 by φ3. Duplicator chooses x3=φ−1(y3).
If in the fourth round, Spoiler chooses a vertex y4∈V(H), we may assume that y4∈V(H3), because H3 contains K(H;y1,y2,y3;4) as a subgraph. Duplicator chooses x4=φ−1(y4) and she wins. If Spoiler chooses x4∈G3, then Duplicator chooses y4=φ(x4) and she wins.
Suppose that in the fourth round Spoiler chooses a vertex x4∈V(G)∖V(G3). If (G∣{x1,x2,x3,x4},G∣{x1,x2,x3}) is α-safe, then by the property P2 Duplicator has a winning move y4∈V(H). Let (G∣{x1,x2,x3,x4},G∣{x1,x2,x3}) be α-rigid. By the definition of G3, x4 can not be adjacent to any of V(G3,G1), hence x1∼x4, x2∼x4, x3≁x4. Find an x4′∈V(G1) such that (G;x1,x2,x4)∼4(G;x1,x2,x4′). Find an x4′′∈V(G1) such that (G;x1,x2,x4′,x4)∼4(G;x1,x2,x4′,x4′′). Obviously, x4′,x4′′∈N(x1,x2). Consider the vertices y4′=φ(x4′), y4′′=φ(x4′′). As y4′,y4′′∈V(H1), and (H∣V(H1)∪{y3},H1) is α-safe, y3 is not adjacent to at least one of y4′, y4′′. Duplicator chooses this non-adjacent to y3 vertex and she wins.
Case 3: i=2. In the second round, Spoiler chooses a vertex y2∈V(H)∖V(H1). Define H2=H1∪K(H;y1,y2;4). Note that v(H2,H1)≤C(4) and v(H2)≤2C(4). By the definition of H1 and Lemma 9, the pair (H2,H1) is α-safe. By the property P2, there exists a subgraph G2⊂G, such that (G2,G1) is a 3-generic (H2,H1)-extension. Denote an isomorphism between G2 and H2 by φ2. Duplicator chooses x2=φ−1(y2).
If, in the third round, Spoiler chooses a vertex y3∈V(H), then we may assume that y3∈V(H2). Duplicator chooses x3=φ2−1(y3). Let y3∈V(H1), x3∈V(G1). In Case 2, we have proved that (G;x1,x3,x2)∼4(H;y1,y3,y2). Therefore (G;x1,x2,x3)∼4(H;y1,y2,y3), and Duplicator wins. Consider the case y3∈V(H2)∖V(H1), x3∈V(G2)∖V(G1). If in the fourth round Spoiler chooses a vertex from V(H)∪V(G2), then he obviously loses. If he chooses x4∈V(G)∖V(G2), then (G∣{x1,x2,x3,x4},G∣{x1,x2,x3}) is α-safe and he also loses.
If in the third round Spoiler chooses x3∈V(G2), then Duplicator chooses y3=φ2(x3). Above, we prove that if Spoiler chooses y3 instead of x3, then x3 is a winning move for Duplicator. Therefore, in the current situation, y3 is a winning move in response to Spoiler’s x3.
Suppose that in the third round Spoiler chooses a vertex x3∈V(G)∖V(G2). In an arbitrary graph, denote by N(a1,…,am,b1,…,bℓ) the set of all vertices adjacent to all of ai and none of bj. Define a set W=W(x1,x2,x3) in the following way.
•
Put x1, x2, x3 into W.
•
If N(x1,x2,x3)=∅, then put an arbitrary v0∈N(x1,x2,x3) into W.
•
If N(x2,x3,x1)=∅, then put an arbitrary v1∈N(x2,x3,x1) into W.
•
If N(x1,x3,x2)=∅, then put an arbitrary v2∈N(x1,x3,x2) into W.
•
If N(x1,x2,x3)=∅, then put an arbitrary v3∈N(x1,x2,x3) into W.
As (G2,G1) is a 3-generic extension, the vertices v0 and v3 (if they exist) are contained in V(G2). Hence, ∣W∖V(G2)∣≤3. Denote by G3 the subgraph of G, whose set of vertices is V(G2)∪W, and the set of edges is
[TABLE]
Obviously, v(G3)≤2C(4)+3. Consider the pair (G3,G2).
If (G3,G2) is α-safe, then, by the property P2, there exists a subgraph H3⊂H such that (H3,H2) is a 1-generic (G3,G2)-extension. Denote an isomorphism between G3 and H3 by φ3. Duplicator chooses y3=φ(x3). If, in the fourth round, Spoiler chooses a vertex that forms an α-safe extension over the triple of previously chosen vertices, then Duplicator wins. If Spoiler chooses x4∈V(G), that forms α-rigid extension over (x1,x2,x3), then we may assume that x4∈W. Duplicator chooses y4=φ3(x4) and she wins. If Spoiler chooses y4∈V(H3), then Duplicator chooses x4=φ3−1(x4) and wins again. If Spoiler chooses y4∈V(H)∖V(H3), that forms an α-rigid extension over (y1,y2,y3), then y4≁y3 as (H3,H2) is a 1-generic extension. Hence, y4∈N(y1,y2,y3). In this case, there exists at least two vertices y4′,y4′′∈N(y1,y2)∩V(K(H;y1,y2;4)), and at least one of them is not contained in V(H1) because (H2,H1) is α-safe. Consider the vertices x4′=φ−1(y4′), x4′′=φ−1(y4′′). At least one of them, say x4′, is not adjacent to x3 because (G2,G1) is a 3-generic extension. Duplicator chooses x4′ and she wins.
Suppose that (G3,G2) is not α-safe. Let us prove the following two statements:
S1
There are no edges between x3 and the vertices from V(G2)∖V(G1).
S2
If v1 exists, then v1∈V(G1).
By Lemma 9, there exists an α-rigid pair (S,G2) (G2⊂S⊆G3). Pick a maximal such S. There are no edges between V(S,G2) and V(G2,G1), because (G2,G1) is a 3-generic extension. Therefore v1∈/V(S,G2). If x3∈V(S,G2) then S1 is true, moreover v1 can not belong to V(G3,G2), otherwise, (G∣V(S)∪{v1},G2) is α-rigid and S is not maximal. Thus, v1∈/V(G3,G2). Moreover, v1∈/V(G2,G1) because x3∼v1. Hence v1∈V(G1) (if it exists) and S2 is true. Assume that x3∈/V(S,G2), then V(S,G2)={v2}. If S1 is not true, then (G∣V(S)∪{x3},G2) is α-rigid and S is not maximal — a contradiction. If S2 is not true, then v1 must be in V(G,G2) (the case v1∈V(G2,G1) is impossible due to S1). But then (G∣V(S)∪{x3,v1},G2) is α-rigid (it follows from the facts that α>2/3 and that there are at least 3 edges: {v2,x3}, {x3,v1}, {v1,x2}, in E(G∣V(S)∪{x3,v1},S)), again S is not maximal.
We have already mentioned that v0∈V(G2) (if it exists). The following statement is a corollary of S1.
S3
If v0 exists, then v0∈V(G1).
Let us prove that only one vertex among v0, v1, v3 exists. As (G2,G1) is α-safe, there is at most one edge between x2 and V(G1), so (by S2 and S3) the vertices v0 and v1 could not both exist. By the same reason, if one of v0, v1 exists, then v3 could not be in V(G1). Moreover, if v3∈V(G2,G1), then ρ(G2∣V(G1)∪{x2,v3},G1)≥3/2>1/α, and (G2,G1) is not α-safe — a contradiction.
Suppose that there exists v0. We have already proved that, for every x3′∈V(G2), there exists an y3∈V(H) such that (G;x1,x2,x3′)∼4(H;y1,y2,y3). Hence by transitivity of ∼4 it is sufficient to find such an x3′∈V(G2), that (G;x1,x2,x3)∼4(G;x1,x2,x3′). By the definition of G1 and S1, there exists a vertex x3′∈V(G1), such that (G;x1,v0,x3)∼4(G;x1,v0,x3′). Let us prove, that (G;x1,x2,x3)∼4(G;x1,x2,x3′). Consider the set W′=W(x1,x2,x3′) defined in the same way as W, but with replacement of x3 by x3′. Denote the elements of W′∖{x1,x2,x3′} by v0′,…,v3′. Note that (by the property P2) it is sufficient to show that, for each i∈{0,1,2,3}, vi exists if and only if vi′ exists. Obviously, v0=v0′, so they both exist. If v2 exists, then, by the definition of x3′, the set N(x1,x3′)∖{v0} is nonempty. As (G2,G1) is α-safe, and it is a 3-generic extension, and v0∈V(G1), each of N(x1,x3′)∖{v0} is not adjacent to x2, hence v2′ exists (it could be any of N(x1,x3′)∖{v0}). Analogously, if v2′ exists, then N(x1,x3)∖{v0} is nonempty, and v2 could be any vertex from this set, so v2 exists. Note also that at most one vertex among v0′ ,v1′, v3′ exists (the proof is the same as the above one for v0, v1, v3). Thus, none of v1, v1′, v3, v3′ exists, and the equivalence (G;x1,x2,x3)∼4(G;x1,x2,x3′) is proved.
The case when v1 exists could be considered literally in the same way with the replacement of v0 by v1 and vice versa.
Suppose that there exists v3. Then v0 and v1 do not exist. As (G3,G2) is not α-safe, x3 must be adjacent to x1, and v2 must exist. By the definition of G1, there exist x3′,x3′′∈V(G1) such that (G;x1,x3,v2)∼4(G;x1,x3′,x3′′). If v3∈V(G1), then at least one of x3′, x3′′ (say x3′) is not adjacent to v3, because otherwise ρ(G∣{x1,x3′,x3′′,x3})=3/2>1/α, that is impossible by P1. Note that the sets N(x1,x2,x3′), N(x1,x2,x3), N(x2,x3′,x1), N(x2,x3,x1) are empty, and the sets N(x1,x3′,x2), N(x1,x3,x2), N(x1,x2,x′3), N(x1,x2,x3) are nonempty. Hence, (G;x1,x2,x3)∼4(G;x1,x2,x3′).
Let v3∈V(G2)∖V(G1). Note that any x3′∈V(G1) is not adjacent to v3, because otherwise the vertex v3 would form an α-rigid extension over G1. So, it is sufficient to find such an x3′∈V(G1), that x3′∼x1, N(x1,x3′)=∅ and N(x2,x3′)=∅. If v2∈V(G1), then there exists a vertex v∈V(G1), such that (G;x1,v2,x3)∼4(G;x1,v2,v), and there exists u∈V(G1), such that (G;x1,v2,v,x3)∼4(G;x1,v2,v,u). All three vertices v2, v, u are adjacent to x1, and all of them has at least one common neighbor with x1. If at least one of them does not have common neighbors with x2, then this vertex meets the requirements for x3′. Suppose that there exist all three common neighbors v∈N(x2,v), u∈N(x2,u), v2∈N(x2,v2). All of these common neighbors must be in V(G2), because (G2,G1) is a 3-generic extension. If some of them are in V(G1), then ρ(G∣V(G1)∪{x2,v3},G1)≥3/2>1/α — a contradiction with the fact that (G2,G1) is α-safe. If v,u,v2∈V(G2,G1), then ρ(G∣V(G1)∪{v,u,v2,x2},G1)≥6/4>1/α, and again we get a contradiction with the fact that (G2,G1) is α-safe.
Consider the last case v2∈/V(G1). Let v∈V(G1) be a vertex such that (G;x1,x3)∼4(G;x1,v). Let u∈V(G1) be a vertex such that (G;x1,v,x3)∼4(G;x1,v,u). Let w∈V(G1) be a vertex such that (G;x1,v,x3,v2)∼4(G;x1,v,u,w). Obviously, v, u and w are pairwise distinct, they all are adjacent to x1 and all have common neighbors with x1. Hence, analogously with the previous case, at least one of these vertices meets the requirements for x3′. Thus, we have considered all the cases, and proved that Duplicator has a winning strategy.
∎
Bibliography19
The reference list from the paper itself. Each links out to its DOI / PubMed record.
1[1] J.H. Spencer, The Strange Logic of Random Graphs , Number 22 in Algorithms and Combinatorics, Springer-Verlag, Berlin, 2001.
2[2] M.E. Zhukovskii, A.M. Raigorodskii, Random graphs: models and asymptotic characteristics , Russian Mathematical Surveys, 70 :1 (2015), 33–81.
3[3] B. Bollobás, Random Graphs , 2nd Edition, Cambridge University Press, 2001.
4[4] S. Janson, T. Łuczak, A. Rucinski, Random Graphs , New York, Wiley, 2000.
5[5] S. Shelah, J.H. Spencer, Zero-one laws for sparse random graphs , J. Amer. Math. Soc., 1 (1988), 97–115.
6[6] J.H. Spencer, Infinite spectra in the first order theory of graphs , Combinatorica, 10 :1 (1990), 95–102.
7[7] J.H. Spencer, Threshold spectra via the Ehrenfeucht game , Discrete Applied Mathematics, 30 (1991), 235–252.
8[8] M.E. Zhukovskii, Zero-one k 𝑘 k -law , Discrete Mathematics, 312 (2012), 1670–1688.