Writing the expanded skeleton and its bag lift
Lax833301.SkeletonOutput · concepts/Lax833301/SkeletonOutput.lean · lax-833301
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
For fixed , 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 . The transducer writes these same matrices on every unary input, independently of its answer.
Concept map
Evidence
In the paper
- page 4 of this submission's paper
Lean source view on GitHub
| 1 | import Lax833301.PathBags |
| 2 | import Lax833301.Tracks |
| 3 | import Mathlib.Combinatorics.SimpleGraph.Maps |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Writing the expanded skeleton and its bag lift |
| 8 | type: lemma |
| 9 | --- |
| 10 | For fixed , recursively substitute the probe gadgets, number the graph |
| 11 | vertices, and write the adjacency and bag incidence matrices. The underlying |
| 12 | skeleton bags have size bounded in terms of . The transducer writes |
| 13 | these same matrices on every unary input, independently of its answer. |
| 14 | -/ |
| 15 | |
| 16 | namespace Lax833301.SkeletonOutput |
| 17 | |
| 18 | open Schedules Expansion Realization ThreePartition Tracks Instances PathBags |
| 19 | open Lax183560.PathDecomposition Lax434930.PolynomialTime |
| 20 | |
| 21 | noncomputable 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. |
| 25 | For fixed depth its number of bags is polynomial in the input length. -/ |
| 26 | axiom 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 | |
| 30 | axiom 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 | |
| 37 | end Lax833301.SkeletonOutput |
| 38 |
Builds on
Used by
none
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments