Extension axioms and the theory of the random graph #
The k-variable extension axiom with adjacency pattern s : Fin k → Bool says that for all
pairwise distinct x₀, …, x_{k-1} there is a vertex z, distinct from every xᵢ, adjacent to
xᵢ exactly when s i = true. The theory of the random graph consists of the axioms of
simple graphs and all extension axioms [Fag76] [Libkin2004, Section 12.2].
Its models are infinite, and between any two of them the finite partial isomorphisms have the
back-and-forth property: a finite partial isomorphism extends to any new element of the domain by
choosing a witness of the extension axiom given by the adjacency pattern of the new element.
Two countable models are therefore isomorphic
(Cslib.Logic.FO.graph.aleph0_categorical_randomGraphTheory).
Completeness of the theory, which also needs its satisfiability, is in
CslibFrontier.Logics.FirstOrder.ZeroOneLaw.
Main definitions #
Cslib.Logic.FO.graph.IsExtensionWitness: a witness of the extension of a tuple by a pattern.Cslib.Logic.FO.graph.HasExtension: the extension property for a fixed pattern.Cslib.Logic.FO.graph.extensionAxiom: the extension axiom as a first-order sentence.Cslib.Logic.FO.graph.extensionAxioms: the set of all extension axioms.Cslib.Logic.FO.graph.randomGraphTheory: the simple-graph axioms together with all extension axioms.Cslib.Logic.FO.graph.Satisfies: satisfaction of a sentence of the graph language by a simple graph.
Main results #
Cslib.Logic.FO.graph.realize_extensionAxiom: an extension axiom holds exactly when the extension property does.Cslib.Logic.FO.graph.satisfies_extensionAxiom_iff: the same statement for simple graphs.Cslib.Logic.FO.graph.model_randomGraphTheory_iff: models of the theory are simple graphs with all extension properties.Cslib.Logic.FO.graph.infinite_of_model_randomGraphTheory: such models are infinite.Cslib.Logic.FO.graph.isExtensionPair_of_hasExtension: the forth step of the back-and-forth argument.Cslib.Logic.FO.graph.aleph0_categorical_randomGraphTheory: the theory isℵ₀-categorical.
References #
- R. Fagin, Probabilities on finite models
- L. Libkin, Elements of Finite Model Theory, Sections 12.2 and 12.3.
z witnesses the extension of the tuple x by the adjacency pattern s: it differs from
every x i and is adjacent to x i exactly when s i = true.
An extension axiom holds exactly when the corresponding extension property does.
The set of all extension axioms.
The theory of the random graph: the axioms of simple graphs together with all extension axioms [Fag76] [Libkin2004, Section 12.2]. Its countable model is the Rado graph.
The sentences of the theory of the random graph are the simple-graph axioms and the extension axioms.
A structure models all extension axioms exactly when it has every extension property.
The models of the theory of the random graph are the simple graphs with every extension property.
A structure with every extension property is infinite: in a finite structure, the tuple listing all elements has no witness.
Models of the theory of the random graph are infinite.
Forth step. If N is a simple graph with every extension property, then every embedding
of a finitely generated (that is, finite) substructure of a simple graph M into N extends to
any further element of M.
The theory of the random graph is ℵ₀-categorical: any two countable models are isomorphic,
by a back-and-forth argument [Libkin2004, Chapter 12].
Simple graphs #
A simple graph G satisfies a sentence φ of the graph language when φ holds in the
structure G.structure (Mathlib's interpretation of adjacency by G.Adj).
A simple graph satisfies the negation of a sentence exactly when it does not satisfy the sentence.
Every simple graph satisfies the axioms of simple graphs.
A simple graph satisfies the extension axiom for s exactly when every tuple of k distinct
vertices has a vertex outside it adjacent to x i exactly when s i = true.