While this submission is a draft, it cannot be used by other submissions.

Contractions of the support of a subdivided base

Lax956329.SupportSequence · concepts/Lax956329/SupportSequence.lean · lax-956329

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

    Count two distinct parts as neighbors whenever an edge joins them. This is the red degree when all starting edges are red. For a fixed base of order nn and maximum degree 44, assigning one leaf to each original vertex on a path with pendant leaves gives a sequence of support degree at most 44 as soon as the number of internal subdivision vertices is at least nn.

    Concept map
    9 concepts; 3 descendants hidden
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

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

    Lean source view on GitHub

    1import Lax956329.Subdivision
    2import Mathlib.Data.Finite.Sum
    3import Mathlib.Data.Finite.Prod
    4import Mathlib.Data.Fintype.Sum
    5import Mathlib.Data.Fintype.Prod
    6
    7/-!
    8---
    9title: Contractions of the support of a subdivided base
    10type: lemma
    11---
    12Count two distinct parts as neighbors whenever an edge joins them. This is
    13the red degree when all starting edges are red. For a fixed base of order nn
    14and maximum degree 44, assigning one leaf to each original vertex on a path
    15with pendant leaves gives a sequence of support degree at most 44 as soon
    16as the number of internal subdivision vertices is at least nn.
    17-/
    18
    19namespace Lax956329.SupportSequence
    20
    21open Lax228581.TwinWidth Instances
    22
    23noncomputable def degree {V : Type} (G : SimpleGraph V) (P : Finset (Finset V)) (A : Finset V) : ℕ :=
    24 {B | B ∈ P ∧ B ≠ A ∧ ∃ u ∈ A, ∃ v ∈ B, G.Adj u v}.ncard
    25
    26def Bounded {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (d : ℕ) : Prop :=
    27 ∃ S : PartitionSequence G d, ∀ i ≤ S.stepCount, ∀ A ∈ S.partition i, degree G (S.partition i) A ≤ d
    28
    29/-- A vertex-injective graph homomorphism lets a subgraph use the sequence on its host. -/
    30axiom subgraph {U V : Type} [Fintype U] [Fintype V] [DecidableEq U] [DecidableEq V]
    31 {G : SimpleGraph U} {H : SimpleGraph V} (f : G →g H) (inj : Function.Injective f) {d : ℕ}
    32 (h : Bounded H d) : Bounded G d
    33
    34noncomputable def restrictionInput (I : Instance) (K : Graph) (f : K.graph →g I.graph) :=
    35 K.bits ++ ((List.ofFn fun v => numeral (f v).val).flatten ++ I.bits)
    36
    37/-- Filter the supplied support-bounded sequence through an explicit subgraph inclusion.
    38The machine writes only genuine merges, and retains the given vertex numbering and threshold. -/
    39axiom restriction : ∃ g : Lax434930.PolynomialTime.Word → Lax434930.PolynomialTime.Word, Poly g ∧
    40 ∀ (I : Instance) (K : Graph) (f : K.graph →g I.graph), Function.Injective f →
    41 (∀ j ≤ I.sequence.stepCount, ∀ A ∈ I.sequence.partition j, degree I.graph (I.sequence.partition j) A ≤ 4) →
    42 ∃ S : PartitionSequence K.graph 4,
    43 (∀ j ≤ S.stepCount, ∀ A ∈ S.partition j, degree K.graph (S.partition j) A ≤ 4) ∧
    44 g (restrictionInput I K f) = (⟨K,S,I.k,I.positive⟩ : Instance).bits
    45
    46axiom bottom (K : Graph) (h : DegreeLE K.graph 4) (l : ℕ) (hl : 0 < l) (hn : K.n ≤ 2*l) :
    47 letI := Fintype.ofFinite (Subdivision.Vertex K l)
    48 letI := Classical.decEq (Subdivision.Vertex K l)
    49 Bounded (Subdivision.graph K l) 4
    50
    51end Lax956329.SupportSequence
    52
    Show ProofShow ProofShow Proof

    Discussion

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

    Loading discussion…