Bounded-VC duality

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

proven

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

    Lemma

    For a graph G and sets S, X ⊆ V(G), the set S dominates X if every vertex of X ∖ S has a neighbor in S, and S antidominates X if every vertex of X ∖ S has a nonneighbor in S.

    For every d ∈ ℕ there is some k ∈ ℕ with the following property. Let G be a graph of VC-dimension at most d, and let X, Y ⊆ V(G) be two (possibly overlapping) sets with at least one of X, Y finite. Then there exists a set sample(X, Y) of size at most k such that at least one of the following holds:

    1. sample(X, Y) is contained in Y and dominates X,
    2. sample(X, Y) is contained in X and antidominates Y.

    This is a corollary of the (p, q)-theorem for bounded VC-dimension.

    Concept map
    4 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    In the paper

    • page 24 of this submission's paper

    Lean source view on GitHub

    1import Lax185574.VCDimension
    2
    3/-!
    4---
    5title: Bounded-VC duality
    6type: lemma
    7---
    8For a graph G and sets S, X ⊆ V(G), the set S *dominates* X if every
    9vertex of X ∖ S has a neighbor in S, and S *antidominates* X if every
    10vertex of X ∖ S has a nonneighbor in S.
    11
    12For every d ∈ ℕ there is some k ∈ ℕ with the following property. Let G
    13be a graph of VC-dimension at most d, and let X, Y ⊆ V(G) be two
    14(possibly overlapping) sets with at least one of X, Y finite. Then there
    15exists a set sample(X, Y) of size at most k such that at least one of
    16the following holds:
    17
    181. sample(X, Y) is contained in Y and dominates X,
    192. sample(X, Y) is contained in X and antidominates Y.
    20
    21This is a corollary of the (p, q)-theorem for bounded VC-dimension.
    22
    23# Formalization notes
    24
    25The graph is finite, so the hypothesis that X or Y is finite always
    26holds and is omitted. The paper also allows infinite graphs. Every
    27application in the paper, through the ball-flip lemma inside the proof
    28of the closure theorem, is to a finite graph. The bound k is chosen
    29before the graph. VC-dimension is `VCDimension.vcDim`.
    30-/
    31
    32namespace Lax185574.VCDuality
    33
    34open Lax185574.VCDimension
    35
    36universe u
    37
    38variable {V : Type u}
    39
    40/-- `S` dominates `X` in `G`: every vertex of `X ∖ S` has a neighbor in
    41`S`. -/
    42def Dominates (G : SimpleGraph V) (S X : Set V) : Prop :=
    43 ∀ x ∈ X \ S, ∃ y ∈ S, G.Adj x y
    44
    45/-- `S` antidominates `X` in `G`: every vertex of `X ∖ S` has a
    46nonneighbor in `S`. -/
    47def Antidominates (G : SimpleGraph V) (S X : Set V) : Prop :=
    48 ∀ x ∈ X \ S, ∃ y ∈ S, ¬ G.Adj x y
    49
    50/-- **Bounded-VC duality.** In a finite graph of VC-dimension at most
    51`d`, for any two vertex sets `X` and `Y`, some set of at most `k(d)`
    52vertices of `Y` dominates `X`, or some set of at most `k(d)` vertices of
    53`X` antidominates `Y`. -/
    54axiom vc_duality (d : ℕ) :
    55 ∃ k : ℕ, ∀ (V : Type u) [Finite V] (G : SimpleGraph V), vcDim G ≤ d →
    56 ∀ X Y : Set V, ∃ S : Finset V, S.card ≤ k ∧
    57 (((S : Set V) ⊆ Y ∧ Dominates G S X) ∨
    58 ((S : Set V) ⊆ X ∧ Antidominates G S Y))
    59
    60end Lax185574.VCDuality
    61
    Show Proof
    Formalization notes

    The graph is finite, so the hypothesis that X or Y is finite always holds and is omitted. The paper also allows infinite graphs. Every application in the paper, through the ball-flip lemma inside the proof of the closure theorem, is to a finite graph. The bound k is chosen before the graph. VC-dimension is VCDimension.vcDimVCDimension.vcDim.

    Builds on
    Used by

    none

    From Mathlib

    none

    Discussion

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

    Loading discussion…