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

Replacing each vertex by an odd path

Lax956329.PortPaths · concepts/Lax956329/PortPaths.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

    Replace each vertex by a path on 2h+12h+1 vertices. Attach each inter-path edge to an even index at each end, indexing from 00. Selecting every even index gains one vertex above the baseline of hh. The paths attaining this gain correspond to an independent set in the original graph.

    Concept map
    8 concepts; 1 descendant hidden
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Lax956329.Instances
    2
    3/-!
    4---
    5title: Replacing each vertex by an odd path
    6type: lemma
    7---
    8Replace each vertex by a path on 2h+12h+1 vertices. Attach each inter-path edge
    9to an even index at each end, indexing from 00. Selecting every even index
    10gains one vertex above the baseline of hh. The paths attaining this gain
    11correspond to an independent set in the original graph.
    12-/
    13
    14namespace Lax956329.PortPaths
    15
    16variable {V : Type}
    17abbrev Position (h : ℕ) := Fin (2 * h + 1)
    18
    19def graph (J : SimpleGraph V) (h : ℕ) (port : V → V → Fin (h + 1)) :
    20 SimpleGraph (V × Position h) :=
    21 SimpleGraph.fromRel fun u v =>
    22 (u.1 = v.1 ∧ u.2.val + 1 = v.2.val) ∨
    23 (J.Adj u.1 v.1 ∧ u.2.val = 2 * (port u.1 v.1).val ∧ v.2.val = 2 * (port v.1 u.1).val)
    24
    25axiom independence [Fintype V] (J : SimpleGraph V) (h : ℕ) (port : V → V → Fin (h + 1)) :
    26 (graph J h port).indepNum = h * Fintype.card V + J.indepNum
    27
    28end Lax956329.PortPaths
    29
    Show Proof
    Builds on
    Used by
    From Mathlib

    none

    Discussion

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

    Loading discussion…