Documentation

CslibFrontier.Logics.FirstOrder.ZeroOneLaw.Rado

The Rado graph and the almost-sure theory of G(n, 1/2) #

The Rado graph SimpleGraph.radoGraph on ℕ has every extension property, so it is a model of Cslib.Logic.FO.graph.randomGraphTheory. Since that theory is complete, a sentence of the graph language holds almost surely in G(n, 1/2) exactly when it holds in the Rado graph, and holds almost never otherwise [Fag76] [Libkin2004, Section 12.3].

The back-and-forth argument of Cslib.Logic.FO.graph.aleph0_categorical_randomGraphTheory also gives the classical structure theory of the Rado graph: every countable graph with every extension property is isomorphic to it [Libkin2004, Section 12.3], every countable graph is an induced subgraph of it [Rad64], and it is isomorphic to its complement.

Main results #

References #

The extension axioms in finite-set form #

theorem Cslib.Logic.FO.graph.satisfies_extensionAxiom_iff_exists_adj {V : Type u_1} (G : SimpleGraph V) :
(∀ (k : ℕ) (s : Fin k → Bool), Satisfies G (extensionAxiom k s)) ↔ ∀ (A B : Finset V), Disjoint A B → ∃ z ∉ A, z ∉ B ∧ (∀ a ∈ A, G.Adj z a) ∧ ∀ b ∈ B, ¬G.Adj z b

A simple graph satisfies every extension axiom exactly when, for all disjoint finite sets A and B of vertices, some vertex outside A ∪ B is adjacent to every vertex of A and to no vertex of B.

A simple graph with every extension property is a model of the theory of the random graph.

theorem Cslib.Logic.FO.graph.satisfies_extensionAxiom_compl {V : Type u_1} {G : SimpleGraph V} (hG : ∀ (k : ℕ) (s : Fin k → Bool), Satisfies G (extensionAxiom k s)) (k : ℕ) (s : Fin k → Bool) :

The complement of a graph with every extension property has every extension property: a witness for the complementary pattern in G is a witness in Gᶜ.

The Rado graph is a model of the theory of the random graph #

The Rado graph satisfies every extension axiom.

The Rado graph is a model of the theory of the random graph [Libkin2004, Section 12.3].

A sentence of the graph language is a consequence of randomGraphTheory exactly when it holds in the Rado graph: the theory is complete and the Rado graph is a model of it.

The almost-sure theory of G(n, 1/2) is the theory of the Rado graph. A sentence of the graph language holds in G(n, 1/2) with probability tending to 1 exactly when it holds in the Rado graph [Libkin2004, Section 12.3].

A sentence of the graph language holds in G(n, 1/2) with probability tending to 0 exactly when it fails in the Rado graph.

Uniqueness, universality and self-complementarity #

Uniqueness of the Rado graph. Every countable simple graph with every extension property is isomorphic to the Rado graph, by the back-and-forth argument [Libkin2004, Section 12.3].

Universality of the Rado graph. Every countable simple graph is an induced subgraph of the Rado graph [Rad64].