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

A contraction pass across the sheets of an ordered cover

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

    Every fiber has a prefix part and singleton parts for all remaining sheets. Internal positions with identity matchings move first, transposition endpoints next and original vertices last. Throughout a pass every part has at most 44 neighboring parts in the support.

    Concept map
    12 concepts
    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.PermutationCovers
    2import Lax956329.SheetPrefixes
    3import Lax956329.SupportSequence
    4
    5/-!
    6---
    7title: A contraction pass across the sheets of an ordered cover
    8type: lemma
    9---
    10Every fiber has a prefix part and singleton parts for all remaining sheets.
    11Internal positions with identity matchings move first, transposition endpoints
    12next and original vertices last. Throughout a pass every part has at most
    1344 neighboring parts in the support.
    14-/
    15
    16namespace Lax956329.CoverPass
    17
    18open PermutationCovers SheetPrefixes Instances
    19
    20def label {V : Type} {r : ℕ} (p : V → ℕ) (x : V × Fin r) : V × ℕ := (x.1,part (p x.1) x.2.val)
    21
    22def visible {V : Type} {G : SimpleGraph V} {r : ℕ} (M : Matchings G (Fin r)) (p : V → ℕ) (a : V × ℕ) :
    23 Set (V × ℕ) := {b | b ≠ a ∧ ∃ x y, label p x = a ∧ label p y = b ∧ (graph M).Adj x y}
    24
    25/-- The three possible neighborhoods along the subdivided base. The order is used
    26only on identity edges whose far prefix must be updated before the near one. -/
    27def Ordered {V : Type} {G : SimpleGraph V} {r : ℕ} (M : Matchings G (Fin r)) (phase : V → ℕ) : Prop :=
    28 ∀ a, ((G.neighborSet a).ncard ≤ 4 ∧ ∀ b, G.Adj a b → M.move a b = Equiv.refl _ ∧ phase b < phase a) ∨
    29 ((G.neighborSet a).ncard ≤ 2 ∧ ∀ b, G.Adj a b → M.move a b = Equiv.refl _) ∨
    30 (∃ c d, (∀ b, G.Adj a b → b = c ∨ b = d) ∧ phase c < phase a ∧ M.move a c = Equiv.refl _ ∧
    31 (M.move a d = Equiv.refl _ ∨ ∃ i j, M.move a d = Equiv.swap i j))
    32
    33axiom width {V : Type} [Fintype V] {G : SimpleGraph V} {r j : ℕ}
    34 (M : Matchings G (Fin r)) (phase p : V → ℕ) (order : Ordered M phase)
    35 (one : ∀ v, j ≤ p v ∧ p v ≤ j+1) (early : ∀ u v, phase u < phase v → p v ≤ p u)
    36 (a : V × ℕ) : (visible M p a).ncard ≤ 4
    37
    38/-- Collapse every sheet fiber in phase order, then follow the supplied base sequence. -/
    39axiom lift {V : Type} [Fintype V] [DecidableEq V] {G : SimpleGraph V} {r : ℕ}
    40 (M : Matchings G (Fin r)) (phase : V → ℕ) (order : Ordered M phase)
    41 (base : SupportSequence.Bounded G 4) : SupportSequence.Bounded (graph M) 4
    42
    43/-- A numbered matching presentation of the upper graph over a supplied lower sequence. -/
    44structure Presentation where
    45 upper : Graph
    46 base : Instance
    47 sheets : ℕ
    48 positive : 0 < sheets
    49 M : Matchings base.graph (Fin sheets)
    50 phase : Fin base.n → ℕ
    51 phaseBound : ∀ a, phase a ≤ 2
    52 ordered : Ordered M phase
    53 lift : upper.graph →g PermutationCovers.graph M
    54 inj : Function.Injective lift
    55 small : ∀ i ≤ base.sequence.stepCount, ∀ A ∈ base.sequence.partition i,
    56 SupportSequence.degree base.graph (base.sequence.partition i) A ≤ 4
    57
    58/-- Upper adjacency, sheet count, and one unary array each for projection,
    59sheet rank and phase, followed by the numbered lower instance. -/
    60noncomputable def Presentation.bits (D : Presentation) : Lax434930.PolynomialTime.Word :=
    61 D.upper.bits ++ (numeral D.sheets ++
    62 ((List.ofFn fun x => numeral (D.lift x).1.val).flatten ++
    63 ((List.ofFn fun x => numeral (D.lift x).2.val).flatten ++
    64 ((List.ofFn fun x => numeral (D.phase (D.lift x).1)).flatten ++ D.base.bits))))
    65
    66axiom sequence : ∃ g : Lax434930.PolynomialTime.Word → Lax434930.PolynomialTime.Word, Poly g ∧
    67 ∀ D : Presentation, ∃ S : Lax228581.TwinWidth.PartitionSequence D.upper.graph 4,
    68 (∀ j ≤ S.stepCount, ∀ A ∈ S.partition j, SupportSequence.degree D.upper.graph (S.partition j) A ≤ 4) ∧
    69 g D.bits = (⟨D.upper,S,D.base.k,D.base.positive⟩ : Instance).bits
    70
    71end Lax956329.CoverPass
    72
    Show ProofShow ProofShow Proof

    Discussion

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

    Loading discussion…