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

Writing the expanded skeleton and its bag lift

Lax833301.SkeletonOutput · concepts/Lax833301/SkeletonOutput.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

    For fixed d,td,t, recursively substitute the probe gadgets, number the graph vertices, and write the adjacency and bag incidence matrices. The underlying skeleton bags have size bounded in terms of dd. The transducer writes these same matrices on every unary input, independently of its answer.

    Concept map
    15 concepts
    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.

    In the paper

    • page 4 of this submission's paper

    Lean source view on GitHub

    1import Lax833301.PathBags
    2import Lax833301.Tracks
    3import Mathlib.Combinatorics.SimpleGraph.Maps
    4
    5/-!
    6---
    7title: Writing the expanded skeleton and its bag lift
    8type: lemma
    9---
    10For fixed d,td,t, recursively substitute the probe gadgets, number the graph
    11vertices, and write the adjacency and bag incidence matrices. The underlying
    12skeleton bags have size bounded in terms of dd. The transducer writes
    13these same matrices on every unary input, independently of its answer.
    14-/
    15
    16namespace Lax833301.SkeletonOutput
    17
    18open Schedules Expansion Realization ThreePartition Tracks Instances PathBags
    19open Lax183560.PathDecomposition Lax434930.PolynomialTime
    20
    21noncomputable def preimageBag {V : Type} {n : ℕ} (e : Fin n ≃ V) (S : Finset V) : Finset (Fin n) := by
    22 classical exact Finset.univ.filter (fun v => e v ∈ S)
    23
    24/-- The same bounded-width layout works on positive and negative instances.
    25For fixed depth its number of bags is polynomial in the input length. -/
    26axiom bounded_bags (d : ℕ) :
    27 ∃ h k : ℕ, ∀ I : Instance, ∃ D : PathDecomposition (skeleton (template I) d),
    28 (∀ j, (D.bag j).card ≤ h) ∧ D.length ≤ (20 * (I.bits.length + 10))^k
    29
    30axiom encode_graph (d t : ℕ) (hd : 0 < d) (ht : 0 < t) :
    31 ∃ h : ℕ, ∃ F : Word → Word, Poly F ∧ ∀ I : Instance,
    32 ∃ D : PathDecomposition (skeleton (template I) d), (∀ j, (D.bag j).card ≤ h) ∧
    33 ∃ n : ℕ, ∃ e : Fin n ≃ Vertex (template I) d t,
    34 F I.bits = encode ((graph (template I) d t).comap e) D.length
    35 (fun j => preimageBag e (bag (D.bag j)))
    36
    37end Lax833301.SkeletonOutput
    38
    Show ProofShow Proof

    Discussion

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

    Loading discussion…