Lifting the bags of the expanded skeleton
Lax833301.PathBags · concepts/Lax833301/PathBags.lean · lax-833301
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural 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
Evidence
Lean source view on GitHub
| 1 | import Lax833301.Realization |
| 2 | import Lax183560.PathDecomposition |
| 3 | import Mathlib.Data.Fintype.Pi |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Lifting the bags of the expanded skeleton |
| 8 | type: lemma |
| 9 | --- |
| 10 | Replace each event in a skeleton bag by its event vertices. Include all the |
| 11 | coordinate vertices and, for each interval with an endpoint in the bag, its |
| 12 | auxiliary event and marker groups. The two endpoints share a bag, so their |
| 13 | bag intervals have a connected union. Distinct intervals have distinct |
| 14 | endpoints, which bounds the number of interval gadgets in each bag. |
| 15 | -/ |
| 16 | |
| 17 | namespace Lax833301.PathBags |
| 18 | |
| 19 | open Schedules Expansion Realization Lax183560.PathDecomposition |
| 20 | |
| 21 | def 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 | |
| 24 | def 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 | |
| 27 | def 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 | |
| 33 | noncomputable 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 skeleton vertices. -/ |
| 37 | def sizeBound (d t h : ℕ) := 7^d*t + h*(2*t+t^2)*2^t |
| 38 | |
| 39 | axiom 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 | |
| 44 | axiom 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 | |
| 48 | end Lax833301.PathBags |
| 49 |
Used by
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments