The components left by deleting a separator

Lax263307.SeparatorComponents · concepts/Lax263307/SeparatorComponents.lean · lax-263307

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

    Deleting a vertex set SS partitions the remaining vertices into connected components. Every undeleted vertex belongs to exactly one part, and every edge with undeleted endpoints has both endpoints in one part. These are the properties used to combine the recursive independent sets.

    Concept map
    2 concepts
    100%
    DefinitionThis conceptRelated conceptA → B: B builds on ADescendants are omitted for concepts with more than 10 descendants.

    Lean source view on GitHub

    1import Lax263307.LinearRelaxation
    2import Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
    3
    4/-!
    5---
    6title: The components left by deleting a separator
    7type: definition
    8---
    9Deleting a vertex set SS partitions the remaining vertices into connected
    10components. Every undeleted vertex belongs to exactly one part, and every
    11edge with undeleted endpoints has both endpoints in one part. These are the
    12properties used to combine the recursive independent sets.
    13
    14# Formalization notes
    15
    16`Partition` also permits grouping connected components together. Its parts
    17are finite sets in the original vertex type. The proof package constructs
    18the canonical partition into connected components of G−SG-S.
    19-/
    20
    21namespace Lax263307.SeparatorComponents
    22
    23/-- A partition of the undeleted vertices, closed under undeleted edges. -/
    24structure Partition {n : ℕ} (G : SimpleGraph (Fin n))
    25 (S : Finset (Fin n)) (ι : Type) where
    26 /-- The original vertices in each part. -/
    27 vertices : ι → Finset (Fin n)
    28 /-- Parts exclude the deleted vertices. -/
    29 outside : ∀ i v, v ∈ vertices i → v ∉ S
    30 /-- Every undeleted vertex belongs to exactly one part. -/
    31 unique : ∀ v, v ∉ S → ∃! i, v ∈ vertices i
    32 /-- No undeleted edge leaves a part. -/
    33 closed : ∀ i u v, u ∈ vertices i → v ∉ S → G.Adj u v → v ∈ vertices i
    34
    35/-- The recursive answer is the union of the answers on the parts. -/
    36def combine {n : ℕ} {ι : Type} [Fintype ι] (I : ι → Finset (Fin n)) :
    37 Finset (Fin n) := Finset.univ.biUnion I
    38
    39end Lax263307.SeparatorComponents
    40
    Formalization notes

    PartitionPartition also permits grouping connected components together. Its parts are finite sets in the original vertex type. The proof package constructs the canonical partition into connected components of G−SG-S.

    Discussion

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

    Loading discussion…