The hierarchy of auxiliary parts

Lax528502.PartitionHierarchy · concepts/Lax528502/PartitionHierarchy.lean · lax-528502

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

    Every part of the next auxiliary partition is a union of at most 5 parts of the current partition. Keep a node when its part persists, and give every new part the nodes of its constituent parts as children. Starting with the singletons gives the rooted tree of Lemma 3.10. All its nodes are auxiliary parts and it can be constructed in polynomial time.

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

    This concept declares 5 statements. Each proof establishes one of them relative to its assumptions.

    Lean source view on GitHub

    1import Lax528502.Fringes
    2import Lax528502.AuxiliaryTree
    3
    4/-!
    5---
    6title: The hierarchy of auxiliary parts
    7type: lemma
    8---
    9Every part of the next auxiliary partition is a union of at most 5 parts of
    10the current partition. Keep a node when its part persists, and give every
    11new part the nodes of its constituent parts as children. Starting with the
    12singletons gives the rooted tree of Lemma 3.10. All its nodes are auxiliary
    13parts and it can be constructed in polynomial time.
    14-/
    15
    16namespace Lax528502.PartitionHierarchy
    17
    18open Lax228581.TwinWidth Lax759944.RamPolytime AuxiliaryTree
    19
    20variable {V : Type} [Fintype V] [DecidableEq V]
    21
    22/-- The old auxiliary blocks contained in the specified new block. -/
    23noncomputable def constituents (G : SimpleGraph V) (S : PartitionSequence G 2) (i : ℕ)
    24 (Y : Finset V) : Finset (Finset V) := by
    25 classical
    26 exact (Fringes.auxiliary G S i).filter (· ⊆ Y)
    27
    28/-- The auxiliary partitions are nested under each contraction. -/
    29axiom refines (G : SimpleGraph V) (S : PartitionSequence G 2) (i : ℕ) (hi : i < S.stepCount)
    30 (X : Finset V) (hx : X ∈ Fringes.auxiliary G S i) :
    31 ∃ Y ∈ Fringes.auxiliary G S (i+1), X ⊆ Y
    32
    33/-- Each new block is the union of at most 5 old blocks. -/
    34axiom child_bound (G : SimpleGraph V) (S : PartitionSequence G 2) (i : ℕ) (hi : i < S.stepCount)
    35 (Y : Finset V) (hy : Y ∈ Fringes.auxiliary G S (i+1)) :
    36 (constituents G S i Y).card ≤ 5 ∧ (constituents G S i Y).biUnion id = Y
    37
    38/-- Leaves are the vertices, and each node records a part at a valid stage. -/
    39def FromPartitions {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V)
    40 (S : PartitionSequence G 2) : Option (AuxiliaryTree.Tree V) → Prop
    41 | none => IsEmpty V
    42 | some h => h.refine.Valid Finset.univ ∧ h.All fun s =>
    43 ∃ i ≤ S.stepCount, s.support ∈ Fringes.auxiliary G S i
    44
    45/-- The structural hierarchy, with all of its nodes witnessed by auxiliary parts. -/
    46axiom exists_tree (G : SimpleGraph V) (S : PartitionSequence G 2) : ∃ h, FromPartitions G S h
    47
    48/-- The order, the number of stages, and the auxiliary equivalence matrices in stage order. -/
    49noncomputable def tables {n : ℕ} (order : Fin n ≃ V) (G : SimpleGraph V) (S : PartitionSequence G 2) :
    50 List ℕ :=
    51 n :: (S.stepCount+1) :: (List.range (S.stepCount+1)).flatMap fun i =>
    52 ContractionInput.matrix n n fun a b => ∃ X ∈ Fringes.auxiliary G S i, order a ∈ X ∧ order b ∈ X
    53
    54/-- A single polynomial-time RAM computes every auxiliary equivalence matrix. -/
    55axiom compute_partitions :
    56 ∃ build : List ℕ → List ℕ, RamPolytime build ∧
    57 ∀ {V : Type} [Fintype V] [DecidableEq V] {n : ℕ} (order : Fin n ≃ V)
    58 (G : SimpleGraph V) (S : PartitionSequence G 2), build (ContractionInput.encode order G S) = tables order G S
    59
    60axiom construct :
    61 ∃ build : List ℕ → List ℕ, RamPolytime build ∧
    62 ∀ {V : Type} [Fintype V] [DecidableEq V] {n : ℕ} (order : Fin n ≃ V)
    63 (G : SimpleGraph V) (S : PartitionSequence G 2), ∃ h, FromPartitions G S h ∧
    64 build (ContractionInput.encode order G S) = AuxiliaryTree.encode order h
    65
    66end Lax528502.PartitionHierarchy
    67
    Show ProofShow ProofShow ProofShow ProofShow Proof
    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…