Monadically dependent graph classes
Lax185574.MonadicDependence · concepts/Lax185574/MonadicDependence.lean · lax-185574
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A graph class C transduces the class of all graphs if there are a number k and a first-order formula ψ(x₀, x₁) with k colors such that every graph H can be found inside a k-colored graph from C, with ψ defining the edges of H. That is, there are a graph G ∈ C, a coloring of G with k colors, and an injective map f from the vertices of H to the vertices of G such that for all distinct vertices u and v of H
u and v are adjacent in H ⟺ ψ(f(u), f(v)) holds in the colored G.
The class C is monadically dependent if it does not transduce the class of all graphs.
Concept map
In the paper
- page 13 of this submission's paper
Lean source view on GitHub
| 1 | import Lax185574.FirstOrderLogic |
| 2 | import Mathlib.Data.Fin.VecNotation |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Monadically dependent graph classes |
| 7 | type: definition |
| 8 | --- |
| 9 | A graph class C *transduces the class of all graphs* if there are a |
| 10 | number k and a first-order formula ψ(x₀, x₁) with k colors such that |
| 11 | every graph H can be found inside a k-colored graph from C, with ψ |
| 12 | defining the edges of H. That is, there are a graph G ∈ C, a coloring of |
| 13 | G with k colors, and an injective map f from the vertices of H to the |
| 14 | vertices of G such that for all distinct vertices u and v of H |
| 15 | |
| 16 | u and v are adjacent in H ⟺ ψ(f(u), f(v)) holds in the colored G. |
| 17 | |
| 18 | The class C is *monadically dependent* if it does not transduce the |
| 19 | class of all graphs. |
| 20 | |
| 21 | # Formalization notes |
| 22 | |
| 23 | This is the transduction-based definition of monadic dependence. A |
| 24 | general transduction also has a domain formula, which selects the |
| 25 | vertices of the output graph. It is not needed here, because the vertex |
| 26 | set of H is the image of f, and the class of all graphs is closed under |
| 27 | induced subgraphs. A transduction with domain formula δ(x) and edge |
| 28 | formula ψ that produces every graph gives an f as above (map H to the |
| 29 | vertices of its copy that δ selects). Conversely, f gives the |
| 30 | transduction whose domain formula is a fresh color marking the image of |
| 31 | f and whose edge formula is ψ(x₀, x₁) ∧ x₀ ≠ x₁. The conjunct x₀ ≠ x₁ is |
| 32 | needed because the condition above constrains ψ on distinct vertices |
| 33 | only, while the edge formula of a transduction defines the adjacency on |
| 34 | all pairs of selected vertices, and a vertex is not adjacent to itself. |
| 35 | |
| 36 | The definition of the paper is of this form. It starts from a formula |
| 37 | φ(x, y), takes the graph with the edges uv such that φ(u, v) or φ(v, u) |
| 38 | holds, and asks for every finite graph as an induced subgraph. Such a φ |
| 39 | gives ψ = φ(x₀, x₁) ∨ φ(x₁, x₀) here. Conversely, a ψ as above serves as |
| 40 | φ, since on the image of f it holds of u and v in both orders or in |
| 41 | neither. So the two definitions agree. |
| 42 | |
| 43 | Monadic dependence is often defined by forbidding the independence |
| 44 | property for formulas on the colorings of the graphs in C. By a theorem |
| 45 | of Baldwin and Shelah the two definitions agree. |
| 46 | -/ |
| 47 | |
| 48 | namespace Lax185574.MonadicDependence |
| 49 | |
| 50 | open Lax185574.Graphs Lax185574.FirstOrderLogic |
| 51 | |
| 52 | /-- The class `C` transduces the class of all graphs: some formula |
| 53 | `ψ(x₀, x₁)` with `k` colors defines every graph `H` on the image of an |
| 54 | injective map `f` into some `k`-colored graph `G ∈ C`. -/ |
| 55 | def TransducesAllGraphs (C : GraphClass) : Prop := |
| 56 | ∃ (k : ℕ) (ψ : Formula (Fin k) 2), |
| 57 | ∀ H : Graph, ∃ G ∈ C, ∃ (col : Fin k → Set (Fin G.n)) (f : Fin H.n ↪ Fin G.n), |
| 58 | ∀ u v : Fin H.n, u ≠ v → (H.Adj u v ↔ ψ.Holds G col ![f u, f v]) |
| 59 | |
| 60 | /-- A graph class is monadically dependent if it does not transduce the |
| 61 | class of all graphs. -/ |
| 62 | def MonadicallyDependent (C : GraphClass) : Prop := |
| 63 | ¬ TransducesAllGraphs C |
| 64 | |
| 65 | end Lax185574.MonadicDependence |
| 66 |
Formalization notes
This is the transduction-based definition of monadic dependence. A general transduction also has a domain formula, which selects the vertices of the output graph. It is not needed here, because the vertex set of H is the image of f, and the class of all graphs is closed under induced subgraphs. A transduction with domain formula δ(x) and edge formula ψ that produces every graph gives an f as above (map H to the vertices of its copy that δ selects). Conversely, f gives the transduction whose domain formula is a fresh color marking the image of f and whose edge formula is ψ(x₀, x₁) ∧ x₀ ≠ x₁. The conjunct x₀ ≠ x₁ is needed because the condition above constrains ψ on distinct vertices only, while the edge formula of a transduction defines the adjacency on all pairs of selected vertices, and a vertex is not adjacent to itself.
The definition of the paper is of this form. It starts from a formula φ(x, y), takes the graph with the edges uv such that φ(u, v) or φ(v, u) holds, and asks for every finite graph as an induced subgraph. Such a φ gives ψ = φ(x₀, x₁) ∨ φ(x₁, x₀) here. Conversely, a ψ as above serves as φ, since on the image of f it holds of u and v in both orders or in neither. So the two definitions agree.
Monadic dependence is often defined by forbidding the independence property for formulas on the colorings of the graphs in C. By a theorem of Baldwin and Shelah the two definitions agree.
Builds on
Used by
Lax185574.BallTypesLax185574.BoundedVCClassesLax185574.ChainTheoremLax185574.ClosureTheoremLax185574.ClosureTheoremTuplesLax185574.ComputingChainsLax185574.DefinableSequencesLax185574.DefinableToTypesLax185574.FewTypesLax185574.FlipsMonadicallyDependentLax185574.ForbiddenPhiPatternsLax185574.ForbiddenPhiPsiPatternsLax185574.IndependencePropertyLax185574.ModelCheckingLax185574.TypeBound
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments