Monadically dependent graph classes

Lax185574.MonadicDependence · concepts/Lax185574/MonadicDependence.lean · lax-185574

definition

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural 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
    3 concepts
    100%
    DefinitionThis conceptRelated conceptA → B: B builds on ADescendants are omitted for concepts with more than 10 descendants.

    In the paper

    • page 13 of this submission's paper

    Lean source view on GitHub

    1import Lax185574.FirstOrderLogic
    2import Mathlib.Data.Fin.VecNotation
    3
    4/-!
    5---
    6title: Monadically dependent graph classes
    7type: definition
    8---
    9A graph class C *transduces the class of all graphs* if there are a
    10number k and a first-order formula ψ(x₀, x₁) with k colors such that
    11every graph H can be found inside a k-colored graph from C, with ψ
    12defining the edges of H. That is, there are a graph G ∈ C, a coloring of
    13G with k colors, and an injective map f from the vertices of H to the
    14vertices 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
    18The class C is *monadically dependent* if it does not transduce the
    19class of all graphs.
    20
    21# Formalization notes
    22
    23This is the transduction-based definition of monadic dependence. A
    24general transduction also has a domain formula, which selects the
    25vertices of the output graph. It is not needed here, because the vertex
    26set of H is the image of f, and the class of all graphs is closed under
    27induced subgraphs. A transduction with domain formula δ(x) and edge
    28formula ψ that produces every graph gives an f as above (map H to the
    29vertices of its copy that δ selects). Conversely, f gives the
    30transduction whose domain formula is a fresh color marking the image of
    31f and whose edge formula is ψ(x₀, x₁) ∧ x₀ ≠ x₁. The conjunct x₀ ≠ x₁ is
    32needed because the condition above constrains ψ on distinct vertices
    33only, while the edge formula of a transduction defines the adjacency on
    34all pairs of selected vertices, and a vertex is not adjacent to itself.
    35
    36The 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)
    38holds, and asks for every finite graph as an induced subgraph. Such a φ
    39gives ψ = φ(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
    41neither. So the two definitions agree.
    42
    43Monadic dependence is often defined by forbidding the independence
    44property for formulas on the colorings of the graphs in C. By a theorem
    45of Baldwin and Shelah the two definitions agree.
    46-/
    47
    48namespace Lax185574.MonadicDependence
    49
    50open 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
    54injective map `f` into some `k`-colored graph `G ∈ C`. -/
    55def 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
    61class of all graphs. -/
    62def MonadicallyDependent (C : GraphClass) : Prop :=
    63 ¬ TransducesAllGraphs C
    64
    65end 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.

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…