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

Lifting the bags of the expanded skeleton

Lax833301.PathBags · concepts/Lax833301/PathBags.lean · lax-833301

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 event in a skeleton bag by its event vertices. Include all the coordinate vertices and, for each interval with an endpoint in the bag, its auxiliary event and marker groups. The two endpoints share a bag, so their bag intervals have a connected union. Distinct intervals have distinct endpoints, which bounds the number of interval gadgets in each bag.

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

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

    1 lift proven

    2 size proven

    Lean source view on GitHub

    1import Lax833301.Realization
    2import Lax183560.PathDecomposition
    3import Mathlib.Data.Fintype.Pi
    4
    5/-!
    6---
    7title: Lifting the bags of the expanded skeleton
    8type: lemma
    9---
    10Replace each event in a skeleton bag by its event vertices. Include all the
    11coordinate vertices and, for each interval with an endpoint in the bag, its
    12auxiliary event and marker groups. The two endpoints share a bag, so their
    13bag intervals have a connected union. Distinct intervals have distinct
    14endpoints, which bounds the number of interval gadgets in each bag.
    15-/
    16
    17namespace Lax833301.PathBags
    18
    19open Schedules Expansion Realization Lax183560.PathDecomposition
    20
    21def skeleton (T : Template) (d : ℕ) := SimpleGraph.fromRel fun u v =>
    22 arc T d u v ∨ ∃ i, u = endpoint T d i false ∧ v = endpoint T d i true
    23
    24def near {T : Template} {d : ℕ} (S : Finset (Event T d)) (i : Interval T d) : Prop :=
    25 endpoint T d i false ∈ S ∨ endpoint T d i true ∈ S
    26
    27def occurs {T : Template} {d t : ℕ} (S : Finset (Event T d)) : Vertex T d t → Prop
    28 | .inl (.inl v,_,_) => v ∈ S
    29 | .inl (.inr i,_,_) => near S i
    30 | .inr (.inl _) => True
    31 | .inr (.inr (i,_,_)) => near S i
    32
    33noncomputable def bag {T : Template} {d t : ℕ} (S : Finset (Event T d)) :
    34 Finset (Vertex T d t) := by classical exact Finset.univ.filter (occurs S)
    35
    36/-- A bound for a bag expanded from hh skeleton vertices. -/
    37def sizeBound (d t h : ℕ) := 7^d*t + h*(2*t+t^2)*2^t
    38
    39axiom lift {T : Template} {d t : ℕ} (D : PathDecomposition (skeleton T d))
    40 (meet : ∀ i, ∃ j, endpoint T d i false ∈ D.bag j ∧ endpoint T d i true ∈ D.bag j) :
    41 ∃ P : PathDecomposition (graph T d t),
    42 ∃ e : Fin D.length ≃o Fin P.length, ∀ j, P.bag (e j) = bag (D.bag j)
    43
    44axiom size {T : Template} {d t : ℕ} (S : Finset (Event T d))
    45 (separate : Function.Injective (fun p : Interval T d × Bool => endpoint T d p.1 p.2)) :
    46 (bag (t := t) S).card ≤ sizeBound d t S.card
    47
    48end Lax833301.PathBags
    49
    Show ProofShow Proof

    Discussion

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

    Loading discussion…