First-Order Logic with Equicardinality in Random Graphs
Abstract
We answer a question of Blass and Harary about the validity of the zero-one law in random graphs for extensions of first-order logic (FOL). For a given graph property , the Lindström extension of FOL by is defined as the minimal (regular) extension of FOL able to express . For several graph properties (e.g. Hamiltonicity), it is known that the Lindström extension by is also able to interpret a segment of arithmetic, and thus strongly disobeys the zero-one law. Common to all these properties is the ability to express the Härtig quantifier, a natural extension of FOL testing if two definable sets are of the same size. We prove that the Härtig quantifier is sufficient for the interpretation of arithmetic, thus providing a general result which implies all known cases of Lindström extensions which are able to interpret a segment of arithmetic.
Keywords and phrases:
finite model theory, first-order logic, monadic second-order logic, random graphs, zero-one laws, generalized quantifiers, equicardinalityFunding:
Saharon Shelah: Research partially supported by the grant “Independent Theories” NSF-BSF, (BSF 3013005232) and by NSF grant no: DMS 1833363. Paper 1250 on Shelah’s publication list.Copyright and License:
![[Uncaptioned image]](x1.png)
2012 ACM Subject Classification:
Theory of computation Finite Model Theory ; Mathematics of computing Random graphsEditors:
Jörg Endrullis and Sylvain SchmitzSeries and Publisher:

1 Introduction
In this paper we study the Erdös-Rényi binomial random graph model . Recall that is defined as a probability distribution over the set of all labeled (simple) graphs with the vertex set , by requiring that each of the potential edges appears with probability and independently of all other edges. Note that is the uniform distribution over the set of labeled graphs with vertex set .
In what follows, we use to denote probabilities and to denote expected values.
1.1 Background and Previous Results
The study of random graphs was pioneered by Erdös and Rényi in the 1960s, originating from two seminal papers [9, 10]. One of the earliest phenomena recognized in their work is the fact that many natural graph properties – including connectivity, Hamiltonicity, planarity, -colorability for a fixed and containing as a subgraph for a fixed graph – hold either in almost all graphs, or in almost none of them. Formally, let be a graph property and fix . We say that holds asymptotically almost surely (a.a.s. for short) in if
and that holds asymptotically almost never (a.a.n. for short) in if
Then, for example, for every fixed ,
-
Connectivity holds a.a.s. in .
-
Hamiltonicity holds a.a.s. in .
-
Planarity holds a.a.n. in .
-
For every fixed , -colorability holds a.a.n. in .
-
For every fixed finite graph , the property of containing as a subgraph holds a.a.s. in .
As a reference, see any introductory text in random graphs, e.g. [19].
The observation that many natural graph properties hold either a.a.s. or a.a.n. in motivates the following definition.
Definition 1.
Let be a set of graph properties. We say that obeys the zero-one law in if for every property ,
With this definition, we may formulate the following informal observation: if is a set of natural graph properties then obeys the zero-one law. This is not a formal statement, due to the lack of a formal definition of a “natural graph property”.
From a logician’s point of view, a natural class of graph properties is the class of first-order properties. These are properties which can be expressed as a sentence in the first-order language of graphs, whose signature consists of a single binary relation representing adjacency.111We shall often identify logical sentences with the properties they describe. Indeed, a classic result, proven independently by Glebskii et al. [13] and Fagin [11], states that obeys the zero-one law in .
Theorem 2 (GKLT-Fagin).
Fix . Then the set of first-order graph properties obeys the zero-one law in .
The GKLT-Fagin zero-one law pioneered the study of random graphs with tools of mathematical logic. This point of view has proved to be doubly beneficial, teaching us about the properties of the underlying random graph, and also about the expressive power of logical languages. It is therefore considered an important part of finite model theory.
The GKLT-Fagin zero-one law deals with first-order properties. However, many graph properties which are considered natural – including connectivity, Hamiltonicity and -colorability – are not first-order. On the other extreme, the class of second-order graph properties contains all the properties listed above, but fails to obey the zero-one law. For example, as noted by Fagin [11, p. 55], the property of having an even number of vertices is second-order, but clearly has no limiting probability.
It is therefore natural to ask for extensions of first-order logic which have a stronger expressive power on the one hand, but still obey the zero-one law on the other hand. This question was posed by Blass and Harary [2, Section 5]. In their discussion, they suggest several guiding questions:
-
1.
Is there an extension of first order logic which is strong enough to express Hamiltonicity and rigidity (asymmetry), but still obeys the zero-one law?
-
2.
What about monadic second-order logic? It cannot express Hamiltonicity, but it is still an important extension of first-order logic – does it obey the zero-one law?
-
3.
Can something be done with “more exotic languages”, for example with equicardinality quantifiers?
These questions have been studied in many papers. We dedicate the following sections to explain the precise meaning of these questions in more detail and review previous results. Our review is not exhaustive; for a broader survey of results in this field, we refer the reader to [4] and [29]. For a more focused discussion of results directly related to our work, see [6] and [16].
Lindström Extensions
Suppose we are interested in an extension of which includes a certain graph property . One option is to simply take the union . However, this set of properties clearly lacks a basic notion of closure. To avoid such trivialities, we focus on regular extensions. A regular logic is a logic that is closed under negation, conjunction, existential quantification, relativization and substitution (see [7] for more details). We then have the following definition.
Definition 3.
Let be a graph property. The Lindström extension of by , denoted , is the minimal regular extension of that includes .
The term Lindström extension comes from the fact that can be constructed by adjoining the Lindström quantifier of , denoted and defined as follows [26, 27, 7].
Definition 4.
Let be a graph property. Its Lindström quantifier is defined as follows.
-
Syntactically, given a formula with as free variables and a formula with as free variables, it returns the formula in which are quantified and are free.
-
Semantically, the truth value of this formula is defined as follows. Let be a graph and let be a vector of vertices, of the same length as . Let and let be the set of pairs with such that or . Then
It can be shown that is the same as the closure of under quantification with (see [8] for more details).
We can now suggest a more precise formulation of the first question of Blass and Harary: do the Lindström extensions of by Hamiltonicity and by rigidity obey the zero-one law? The answer was given by Dawar and Grädel ([6], also in [5]).
Theorem 5 (Dawar-Grädel).
Fix .
-
1.
The Lindström extension obeys the zero-one law in .
-
2.
The Lindström extension does not obey the zero-one law in .
The latter part of the theorem was demonstrated by encoding Parity – the property of having an even number of vertices. It is worth noting, however, that Parity still allows for the possibility of a modular limit law, as shown by Kolaitis and Kopparty [25]. A far more extreme violation of the zero-one law occurs through the interpretation of a segment of arithmetic, a concept we will elucidate in the subsequent section.
Arithmetization
The second question of Blass and Harary, regarding monadic second order logic , was answered much earlier than the first. The answer was given by Kaufmann and Shelah [23], who proved that disobeys the zero-one law in a very strong sense. Their main result is that can interpret arithmetic in , which roughly means that there are sentences in that define an arithmetic structure on (a subset of) the vertex set. If a language can interpret a segment of arithmetic then it is, in a sense, the farthest possible from obeying the zero-one law. Indeed, in such a case, it is possible to construct sentences whose probability sequence exhibits different kinds of complex behaviors. We shall demonstrate this fact shortly by constructing a sentence whose probability sequence alternates between near-zero values and near-one values, and hence has no limit.
The definition of interpreting arithmetic given below is somewhat weaker than what Kaufmann and Shelah prove for , but describes a more general and more common type of arithmetization results (see review below). In particular, it includes the main result of this paper, Theorem 14).
Recall that for we denote . We begin by defining the language as the second-order language of arithmetic, where:
-
Addition and multiplication are defined as ternary relations (so, for example, we write instead of ). This is a convenient choice when working with finite models such as , where addition and multiplication are restricted.
-
Second order quantification is done only over unary and binary relations.
Example 6.
We can construct a formula in with free variables expressing the property by the following steps.
-
Begin by asserting the existence of a binary relation: .
-
Require that it is single-valued:
-
Define the relation inductively:
-
Finally, require .
For every , the set admits an arithmetic structure with the standard addition and multiplication (restricted to ). Given an interval and a sentence , we say that:
-
1.
holds in if for every .
-
2.
is constant on if holds in or holds in .
Finally, let us say that a function is finite-to-one if for every , the inverse image is a non-empty finite set. Note that if is finite-to-one then is onto and . Examples include and .
Definition 7 (Arithmetization).
Let be a logical language whose signature includes the binary relation symbol , representing adjacency. Fix a parameter , constants and a finite-to-one function . We say that can interpret a segment of arithmetic in with constants and a scaling function if the following holds. For every sentence there exists a sentence such that, given a sequence with such that is constant on for every , we have
To motivate the definition, we remark that it reflects a general strategy of encoding arithmetic in random graphs, which can be roughly summarized as follows:
-
Restrict to a certain -definable subset of size .
-
Use the structure of the random graph to encode unary and binary relations and an arithmetic structure on .
-
Given a sentence , use the encoded structure to convert it into a sentence asserting that is satisfied in .
Proposition 8.
Let be a language that can interpret a segment of arithmetic in . Then there exists a sentence such that the limit does not exist. In particular, disobeys the zero-one law.
Proof.
Let and be the constants and the scaling function for , as in Definition 7. Let . It is straightforward to construct a sentence such that for every , if and only if
Let be a sequence satisfying for every . Such a sequence exists and approaches , because is finite-to-one. We claim that is constant on each interval . Indeed, for every we have
(1) |
where (1) follows from our choice of . When is even, (1) implies . When is odd, (1) implies .
Now let as in Definition 7. Then the probabilities sequence converges to on even values of and converges to on odd values of . This implies that the limit does not exist.
Going back to Kaufmann and Shelah, we can now formulate the following consequence of [23] (which follows from Theorem 1 and the closing remark).
Theorem 9 (Kaufmann-Shelah).
Fix . Then can interpret a segment of arithmetic in (with constants and scaling function ).
As explained, this result provides a strongly negative answer to the second question of Blass and Harary.
In [16], Haber and Shelah prove an arithmetization result for the Lindström extension of Hamiltonicity, thus strengthening Part 2 of Theorem 5.
Theorem 10 (Haber-Shelah).
Fix . Then can interpret a segment of arithmetic in (with scaling function ).
As for other graph properties, Haber and Shelah also proved in [16] that the zero-one law holds for the Lindström extensions and for every fixed . These results also follow from a more general theorem by Dawar and Grädel [6], which also implies that the zero-one law holds for . On the other hand, there are additional graph properties for which it is known that can interpret a segment of arithmetic. These include regularity, the existence of a perfect matching [15] and the existence of a -factor [14]. It is noteworthy that Haber and Shelah [16] employed a strategy to encode the Rescher plurality quantifier [28], resulting in a more expressive logic. In contrast, our finding that equicardinality alone suffices to interpret a segment of arithmetic is unexpected and significantly stronger.
Equicardinality Quantifiers
Common to all the Lindström extensions of which are known to be able to interpret a segment of arithmetic is the ability to express the equicardinality quantifier, also known as the Härtig quantifier [17], which we denote by . This quantifier allows for testing if two definable sets are of the same size.
Definition 11.
The Härtig quantifier is defined as follows.
-
Syntactically, given formulas and with free variables , it returns a formula in which is quantified and are free.
-
Semantically, the truth value of this formula is defined as follows. Let be a finite graph and let be a vector of vertices, of the same length as . Then
The following proposition shows that is indeed expressible in . Similar arguments show that is also expressible in the other Lindström extensions of listed above that are known to be able to interpret a segment of arithmetic.
Proposition 12.
Let and be formulas in with free variables . Then the formula is also expressible in .
Proof.
Fix a graph and a vector of vertices. Let and . Also let (which defines the set ) and (which defines the set ). Define and . Consider the graph defined by these formulas, as in Definition 4. Note that is the complete bipartite graph with sides and . Recall that a complete bipartite graph is Hamiltonian if and only if its sides are of the same size. Therefore
Let denote the closure of under quantification with . This is a natural extension of first-order logic which has been studied quite extensively. For a survey on equicardinality quantifiers in the context of general model theory and abstract logic, see [18]. Equicardinality quantifiers have also been studied in the context of zero-one laws and convergence laws. In [12], Fayolle, Grumbach and Tollu studied zero-one laws for first-order logic enriched by generalized quantifiers, including Härtig quantifiers (equicardinality quantifiers) and Rescher quantifiers (expressing inequalities of cardinalities). Their results show that the zero-one law does hold for , defined in the same way as but with the restriction that free variables are not allowed in the scope of -quantification.
Remark 13.
A simple argument, also mentioned in [12], proves that can express parity in the special case of . Indeed, consider the sentence , asserting the existence of a vertex with the same number of neighbors as non-neighbors. This sentence holds in with probability when is even, and with probability approaching when is odd. In particular, does not satisfy the zero-one law in . As we shall soon see, much more can be said: can express not only parity, but a segment of arithmetic, and for every (Theorem 14).
Finally, we mention that in addition to Lindström quantifiers and equicardinality quantifiers, other generalized quantifiers have also been studied in the context of zero-one laws and convergence laws. In a sequence of three papers [20, 21, 22], Kalia studied almost sure quantifier elimination, providing a method for proving convergence laws for logics with generalized quantifiers. In [24], Keisler and Lotfallah proved almost sure quantifier elimination logics with probability quantifiers.
1.2 Our Results
The main result of the paper is the following theorem.
Theorem 14 (Main Theorem).
Fix . Then can interpret a segment of arithmetic in (with scaling function ).
In particular, from Proposition 8 we get the following corollary.
Corollary 15.
Fix . Then there exists a sentence such that the limit does not exist.
This answers the third question of Blass and Harary [2, Section 5], and provides a general result which immediately implies all known cases of Lindström extensions of which are able to express arithmetic. As mentioned above, these include the Lindström quantifier of Hamiltonicity, regularity, the existence of a perfect matching and the existence of a -factor.
The rest of the paper is dedicated to the proof of Theorem 14. The proof strategy is roughly as follows. Given a sentence , first apply Theorem 9 to convert it into a sentence which expresses on a set of size . Then, the crux of the proof is to convert a sentence into a sentence which expresses on a set of size . To do that, we need to show that can define subsets of logarithmic size, and can also interpret monadic second-order logic on such sets. The proof is divided between Sections 2 and 3. In Section 2 we develop the necessary probabilistic tools, and in Section 3 we put them together in order to complete the proof.
Notation and Conventions
We denote for short. Given a list of variable symbols , let denote the set of first-order formulas (in the language of graphs) with as free variables. Similarly define and .
Throughout the text we maintain the convention of denoting random variables with a boldface font.
For and , we write to indicate that is a random graph with distribution . For two vertices , let denote that they are adjacent in . For a subset , let denote the subgraph of induced by .
We shall use the following notions of asymptotic probabilities. Let be a sequence of events, taken from a sequence of probability spaces.
-
1.
We say that holds with high probability (as ) if
-
2.
We say that holds with exponentially high probability (as ) if
In addition, let , be two sequences of positive random variables. We say that with (exponentially) high probability if there exists a sequence such that the event holds with (exponentially) high probability.
For notational convenience, we sometimes omit dependency on from our notation. The underlying assumption throughout the text is that all quantities implicitly depend on (unless it is explicitly stated that they are constant or fixed) and . We explicitly refer to the dependency on in cases where this convention may cause ambiguity.
Finally, recall the following tail bounds on binomial and Poisson variables, following from Chernoff’s inequality (e.g. see [1, Appendix A]).
-
Let and . Then for every ,
(2) -
Let and . Then for every ,
(3)
2 Some Probabilistic Results
From now fix a constant and consider a binomially distributed random graph .
We begin by fixing, for every , two arbitrary vertices . Let . Define the following (random) vertex sets:
Note that the statements are all expressible as formulas in .
From (2), with exponentially high probability we have
That is, there exists a sequence such that the event (which we denote by )
(4) |
holds with exponentially high probability. It will be convenient to condition on the values of the variables ; that is, to condition on an event of the form where are possible values of . Note that conditioning on does not affect the distribution of .
The rest of the section is as follows. In Section 2.1 we show how to define sets of logarithmic size in . In Section 2.2 we show how to express unary relations (subsets) on such sets in . In both sections, all the probabilities and expected values are assumed to be conditioned on , where we assume that satisfy Equation (4) (that is, we assume ). Finally, in Section 2.3 we apply the law of total probability to obtain non-conditioned results.
2.1 Defining Sets of Logarithmic Size
Recall that , are the fixed values of the random sets , defined above. We construct subsets of in terms of the edges between and .
Definition 16.
-
1.
For every vertex , let denote the -degree of , which is the number of edges between and .
-
2.
For every , let . That is, is the set of vertices from with -degree .
-
3.
For every , let That is, is the set of vertices from with the same -degree as .
Remark 17.
Given a vertex , the statement is expressible as a formula in :
where means and means .
Importantly, note that the -degrees are i.i.d. with distribution .
Theorem 18.
Let be a constant. Then, with exponentially high probability, there exists such that and .
We can reformulate the statement of theorem more explicitly by recalling the definition of exponentially high probability (see Notation and conventions above). Given a positive constant , the statement is that there exists a sequence such that, as , we have and
For the proof of Theorem 18 we use the following normal approximations of binomial probabilities (see [3, Theorems 1.2 and 1.5]).
Claim 19.
Let and . Let and be the mean and standard deviation of the binomial distribution . Let be an integer and let . Write .
-
1.
Assume and . Then
-
2.
Assume , and . Then
In the proof of Theorem 18 we shall use the following notation:
-
1.
and .
-
2.
and .
-
3.
for every .
Lemma 20.
Let be a constant. For every let be the unique positive solution of
and let . Then, for every integer we have (where the asymptotic term is uniform with respect to ).
Proof of Lemma 20.
Proof of Theorem 18.
Note that for every . The variables are not independent, since . However, we can replace them with independent variables by introducing a Poisson process.
Let be i.i.d. variables with distribution and let be independent of . These variables define the Poisson process . For every let count the number of times the value appears in the process; that is, . Then the variables satisfy the following two properties:
-
1.
The distribution of given is identical to the distribution of .
-
2.
are independent and for every .
We now apply Lemma 20 with as the constant. For every integer we then have
From Equation (3) we deduce that there exists a sequence such that for every integer ,
Write
for short. Then, from independence,
Therefore there exists such that with exponentially high probability.
Finally, we condition on the event . By Stirling’s approximation, . Overall
We conclude that, with exponentially high probability, there exists such that , and so as we wanted.
Corollary 21.
Let be a constant. Then, with exponentially high probability, there exists such that .
Proof.
Given such that , pick any and then .
2.2 Expressing Unary Relations
To express subsets of a given set , we use the edges between and .
Definition 22.
For a set and a vertex let . We say that is the subset of defined by .
Proposition 23.
There exists a positive constant such that the following holds with exponentially high probability. For every , if then for every subset there exists such that .
Proof.
Let and choose to be a sufficiently small constant such that and . For this proof only, let us say that a subset is good if for every subset there exists such that .
First, fix of size and a subset . For every ,
Crucially, the subsets of defined by different vertices are independently distributed. Thus
Taking a union bound over possible choices of the subset , we deduce .
Finally, for every we can apply the law of total probability with respect to the possible values of , and deduce that, with exponentially high probability, implies that is good. Taking a union bound over possible choices of , we get the desired result.
We will also need the following analogous proposition, which will be used to control the upper bound on the size of the definable sets.
Proposition 24.
There exists a positive constant such that and the following holds with probability . For every , if then for every , if then .
Again, the purpose of the condition will become apparent in Section 3.
Proof.
Let and choose to be a sufficiently large constant such that and . For this proof only, let us say that a subset is good if for every , if then .
First, fix of size . For every pair of distinct vertices ,
Taking a union bound over choices of , we get
Finally, for every we can apply the law of total probability with respect to the possible values of and deduce that, with probability , implies that is good. Taking a union bound over possible choices of , and recalling that by definition, we get the desired result.
2.3 Non-Conditioned Results
Finally, we lose the conditioning on the events which fix the values of . Note that we still have dependency on the choice of ; we will quantify over in the next section. The following theorem summarizes all the probabilistic results proved in this section.
Theorem 25.
There exist positive constants with and and sequences and such that where is the event that:
-
1.
(we denote this event by );
-
2.
There exists such that
-
3.
For every , if then for every there exists such that ; and
-
4.
For every , if then for every , if then .
Proof.
Let be the sequence from Equation (4). In the previous sections, we conditioned all probabilities on where . However, note that the proofs of Theorem 18 and Propositions 23, 24 do not depend on the specific values , but only on the fact that they satisfy Equation (4). Therefore, they also hold when the conditioning is on the event .
Now, let be the constants from Propositions 23 and 24 (respectively) and let be the sequence from Theorem 18 for . Define as above. Then
That concludes the proof.
Remark 26.
Note that, due to symmetry considerations, does not depend on the choice of .
3 Proof of the Main Theorem
In this section we complete the proof of Theorem 14. We begin with a sequence of short lemmas, which build upon our previous results. Once again, we fix a constant and consider a binomial random graph . Probabilities are now non-conditioned.
We begin with a refinement of Theorem 9.
Lemma 27 (Kaufmann-Shelah).
There exists a sentence such that:
-
1.
.
-
2.
For every sentence there exists a sentence such that, for every and graph with , we have .
Proof.
This follows from Theorem 1 and the closing remark of [23]. Intuitively, the sentence asserts the existence of -formulas expressing a structure of addition and multiplication on the vertices, a necessary ingredient for converting any into . The basic structure of the sentence is given in Theorem 1 of [23].
Lemma 28.
For every sentence there exists a formula such that the following holds. Given the event , for every with we have
Proof.
Given , define as follows:
-
Restrict quantification to : replace every with and every with . Recall that the statement is expressible as a formula in (see Remark 17).
-
Convert unary relations: for every unary relation introduced by , replace with where is a new variable symbol, and also replace every with . Similarly handle . Recall that the statement is expressible the formula , which is in
Given the event , for every with , we know that every subset of is defined by some (see Part 3 of Theorem 25). Therefore
as we wanted. Next, we introduce a formula for upper-bounding the size of definable sets.
Definition 29.
Given a choice of and , we say that is pseudo-logarithmic if there exist such that but .
Note that this property is expressible as a formula in , given by
where is the formula .
Lemma 30.
Given the event , for every ,
-
1.
If is pseudo-logarithmic then .
-
2.
If then is pseudo-logarithmic.
Proof.
Part 1 follows directly from the definition of (see part 4 of Theorem 25 ). Part 2 follows from the pigeonhole principle. Indeed, let and assume . Then the number of subsets of is . Recall that , so . However, given we have . From the pigeonhole principle there must exist such that but , hence is pseudo-logarithmic. Finally, we introduce a formula for comparing sizes of definable sets.
Definition 31.
Given a choice of and two vertices , we say that is pseudo-smaller than if there exists such that .
Note that this property is expressible as a formula in , since belonging to and to and the equicardinality condition are all expressible in .
Lemma 32.
Given the event , for every ,
-
1.
If is pseudo-smaller than then .
-
2.
If then is pseudo-smaller than .
Proof.
Part 1 follows from the definition of pseudo-smaller (in fact, it is true deterministically). Part 2 follows from the definition of (see Part 3 of Theorem 25 ).
We are now ready to prove the main theorem. In the proof, we use the notation for the set of edges in between two disjoint sets of vertices .
Proof of Theorem 14.
We prove that can interpret a segment of arithmetic with constants and scaling function , where are the constants from Theorem 25. That is, for every sentence we construct a sentence such that the following holds. Given a sequence with such that is constant on for every , we have
(5) |
From now on we fix a sentence . First, we apply Lemma 27 to obtain a sentence such that, for every graph with , we have . Second, we apply Lemma 28 to the -sentences and (from Lemma 27) to obtain formulas such that, given the event , for every with we have
(6) | |||||
(7) |
Now define as the sentence claiming the existence of two vertices and a vertex such that:
-
1.
is pseudo-logarithmic and .
-
2.
If is another vertex such that is pseudo-logarithmic and , then is not pseudo-smaller than .
-
3.
.
From Lemmas 30, 32 and (6), (7) above, is indeed expressible as a sentence in . It remains to verify (5).
Let with such that is constant on for every . There are two cases to consider.
Case 1: holds in .
Fix two vertices arbitrarily. We show that, with high probability, there exists a vertex which satisfies the three parts of (along with ).
First, we know that , so from now on we may assume that holds. Recall that the event guarantees a vertex such that
Fix such a vertex . Since , Lemma 32 implies that is pseudo-logarithmic. Let us show that with high probability.
Condition on the values of the sets and on the edge sets and . These values determine the value of the set . Crucially, the induced subgraph depends only on the edge set , and so, given the last conditioning, is still binomially distributed with vertex set and edge probability . From Lemma 27 we get that, given the last conditioning, with high probability. Now apply the law of total probability over the possible values of to conclude that with high probability.
Next, among all vertices such that is pseudo-logarithmic and , pick such that is maximal. By definition, satisfies Part 1 and Part 2 of . We show that it also satisfies Part 3. Since is pseudo-logarithmic, Lemma 30 implies . We also know that
Letting , we deduce . From the assumption of Case 1, . Since , Lemma 27 implies as we wanted.
Case 2: holds in .
We need to prove that with high probability, for every , there is no vertex that satisfies all three parts of . Let . Theorem 25 shows that for every . Taking a union bound the over pairs we get . So from now on we may assume that holds.
Assume that are vertices such that Part 1 and Part 2 of hold and let us show that Part 3 does not hold. Again, guarantees a vertex such that
We prove by contradiction. Indeed, otherwise we have
and from Lemma 30 we get that is pseudo-smaller than . But that contradicts Part 2 of . Therefore
Moreover, is pseudo-logarithmic, so Lemma 30 implies . As before, letting , we get . From the assumption of Case 2, . Since , Lemma 27 implies , as we wanted.
References
- [1] Noga Alon and Joel H. Spencer. The Probabilistic Method. Wiley Publishing, 4th edition, 2016.
- [2] Andreas Blass and Frank Harary. Properties of almost all graphs and complexes. Journal of Graph Theory, 3(3):225–240, 1979. doi:10.1002/JGT.3190030305.
- [3] Béla Bollobás. Random Graphs. Cambridge University Press, 2001.
- [4] Kevin J. Compton. 0-1 laws in logic and combinatorics. In Rival Ivan, editor, Algorithms and Order, volume 255 of Advanced Study Institute Series C: Mathematical and Physical Sciences, pages 353–383. Kluwer Academic Publishers, Dordrecht, 1989.
- [5] Anuj Dawar and Erich Grädel. Generalized quantifiers and 0-1 laws. In Proceedings of the Tenth Annual IEEE Symposium on Logic in Computer Science (LICS 1995), pages 54–64. IEEE Computer Society Press, June 1995. doi:10.1109/LICS.1995.523244.
- [6] Anuj Dawar and Erich Grädel. Properties of almost all graphs and generalized quantifiers. Fundam. Inform., 98(4):351–372, 2010. doi:10.3233/FI-2010-232.
- [7] Heinz-Dieter Ebbinghaus. Extended logics: The general framework. In Jon Barwise and Solomon Feferman, editors, Model-Theoretic Logics, chapter II, pages 25–76. Association for Symbolic Logic, September 1985.
- [8] Heinz-Dieter Ebbinghaus and Jörg Flum. Finite Model Theory. Springer Berlin, Heidelberg, second edition, 2006.
- [9] Paul Erdős and Alfréd Rényi. On random graphs, I. Publicationes Mathematicae, 6:290–297, 1959.
- [10] Paul Erdős and Alfréd Rényi. On the evolution of random graphs. In Publication of the Mathematical Institute of the Hungarian Academy of Sciences, number 5 in Acta Math. Acad. Sci. Hungar., pages 17–61, 1960.
- [11] Ronald Fagin. Probabilities on finite models. The Journal of Symbolic Logic, 41(1):50–58, March 1976. doi:10.1017/S0022481200051756.
- [12] Guy Fayolle, Stéphane Grumbach, and Christophe Tollu. Asymptotic probabilities of languages with generalized quantifiers. In Proceedings Eighth Annual IEEE Symposium on Logic in Computer Science, pages 199–207, 1993. doi:10.1109/LICS.1993.287587.
- [13] Yu. V. Glebskiĭ, D. I. Kogan, M. I. Liogon’kiĭ, and V. A. Talanov. Range and degree of realizability of formulas in the restricted predicate calculus. Cybernetics and Systems Analysis, 5(2):142–154, March 1969. (Russian original: Kibernetika 5(2):17–27, March-April 1969).
- [14] Simi Haber. Generalized quantifiers for simple graph properties in random graphs. , Preprint.
- [15] Simi Haber. Arithmetization for first order logic augmented with perfect matching. , Submitted.
- [16] Simi Haber and Saharon Shelah. Random graphs and Lindström quantifiers for natural graph properties. Accepted, Annales Univ. Sci. Budapest., Sect. Math, 2024+. HbSh:986 in Shelah’s archive.
- [17] Klaus Härtig. Über einen quantifikator mit zwei wirk ungsbereichen. In Laszlo Kalmar, editor, Colloquium on the Foundations of Mathematics, Mathematical Machines and their Applications, pages 31–36. Akademiai Kiado, Budapest, September 1962.
- [18] Heinrich Herre, Michał Krynicki, Alexandr Pinus, and Jouko Väänänen. The Härtig quantifier: a survey. Journal of Symbolic Logic, 56(4):1153–1183, December 1991. doi:10.2307/2275466.
- [19] Svante Janson, Tomasz Łuczak, and Andrzej Ruciński. Random Graphs. John Wiley & Sons, 2000.
- [20] Risto Kaila. On probabilistic elimination of generalized quantifiers. Random Struct. Algorithms, 19(1):1–36, 2001. doi:10.1002/RSA.1016.
- [21] Risto Kaila. Convergence laws for very sparse random structures with generalized quantifiers. Math. Log. Q., 48(2):301–320, 2002. doi:10.1002/1521-3870(200202)48:2\%3C301::AID-MALQ301\%3E3.0.CO;2-Z.
- [22] Risto Kaila. On almost sure elimination of numerical quantifiers. J. Log. Comput., 13(2):273–285, 2003. doi:10.1093/LOGCOM/13.2.273.
- [23] Matt Kaufmann and Saharon Shelah. On random models of finite power and monadic logic. Discrete Mathematics, 54(3):285–293, 1985. doi:10.1016/0012-365X(85)90112-8.
- [24] H. Jerome Keisler and Wafik Boulos Lotfallah. Almost everywhere elimination of probability quantifiers. Journal of Symbolic Logic, 74(4):1121–1142, 2009. doi:10.2178/JSL/1254748683.
- [25] Phokion G. Kolaitis and Swastik Kopparty. Random graphs and the parity quantifier. Journal of the Association for Computing Machinery, 60(5):1–34, October 2013. doi:10.1145/2528402.
- [26] Per Lindström. First order predicate logic with generalized quantifiers. Theoria, 32(3):186–195, 1966.
- [27] Per Lindström. On extensions of elementary logic. Theoria, 35(1):1–11, 1969.
- [28] M. H. Löb. Meeting of the association for symbolic logic, leeds 1962. The Journal of Symbolic Logic, 27(3):373–382, 1962. First abstract: Plurality-quantification by Nicholas Rescher. doi:10.1017/S0022481200118742.
- [29] Peter Winkler. Random structures and zero-one laws. In Sauer N. W., Woodrow R. E., and Sands B., editors, Finite and Infinite Combinatorics in Sets and Logic, Advanced Science Institutes, pages 399–420. Kluwer Academic Publishers, Dordrecht, 1993.