Fringes and auxiliary partitions
Lax528502.Fringes · concepts/Lax528502/Fringes.lean · lax-528502
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
In a red path select the edges between two degree-2 parts. In a red cycle of length at least 5 select every edge. Starting at a selected edge , trace its unique red lift backwards until there is no lift, or an endpoint of the lift has red degree 1. The fringe is empty in the first case and is that endpoint in the second. Move the vertices of a fringe to the opposite part of the selected edge.
Delete the selected edges from the red graph and group vertices according to the component containing their receiving part. Every nonempty auxiliary part has its cut covered by at most 4 chain subgraphs (Lemma 3.5).
Concept map
Evidence
In the paper
- page 5 of this submission's paper
Lean source view on GitHub
| 1 | import Lax528502.ChainCuts |
| 2 | import Lax228581.TwinWidth |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Fringes and auxiliary partitions |
| 7 | type: lemma |
| 8 | --- |
| 9 | In a red path select the edges between two degree-2 parts. In a red cycle of |
| 10 | length at least 5 select every edge. Starting at a selected edge , trace |
| 11 | its unique red lift backwards until there is no lift, or an endpoint of the |
| 12 | lift has red degree 1. The fringe is empty in the first case and is that |
| 13 | endpoint in the second. Move the vertices of a fringe to the opposite part |
| 14 | of the selected edge. |
| 15 | |
| 16 | Delete the selected edges from the red graph and group vertices according |
| 17 | to the component containing their receiving part. Every nonempty auxiliary |
| 18 | part has its cut covered by at most 4 chain subgraphs (Lemma 3.5). |
| 19 | -/ |
| 20 | |
| 21 | namespace Lax528502.Fringes |
| 22 | |
| 23 | open Lax228581.TwinWidth |
| 24 | |
| 25 | variable {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) |
| 26 | |
| 27 | /-- The bipartite graph between two distinct parts of a 1-sequence is a chain graph. -/ |
| 28 | axiom one_sequence (S : PartitionSequence G 1) (i : ℕ) (hi : i ≤ S.stepCount) |
| 29 | (X Y : Finset V) (hX : X ∈ S.partition i) (hY : Y ∈ S.partition i) (hne : X ≠ Y) : |
| 30 | ChainCuts.ChainOn G X Y |
| 31 | |
| 32 | /-- Red adjacency at a partition. -/ |
| 33 | def Red (P : Finset (Finset V)) (A B : Finset V) : Prop := |
| 34 | A ∈ P ∧ B ∈ P ∧ A ≠ B ∧ ¬ Homogeneous G A B |
| 35 | |
| 36 | /-- The two other red neighbors are distinct and nonadjacent precisely in |
| 37 | the path and long-cycle cases of a red graph of maximum degree 2. -/ |
| 38 | def Selected (P : Finset (Finset V)) (B C : Finset V) : Prop := |
| 39 | Red G P B C ∧ ∃ A D, Red G P A B ∧ Red G P C D ∧ |
| 40 | A ≠ C ∧ B ≠ D ∧ A ≠ D ∧ ¬ Red G P A D |
| 41 | |
| 42 | /-- Red edges between earlier parts contained in the two current parts. -/ |
| 43 | noncomputable def lifts (P : Finset (Finset V)) (B C : Finset V) : Finset (Finset V × Finset V) := by |
| 44 | classical |
| 45 | exact (P ×ˢ P).filter fun e => e.1 ⊆ B ∧ e.2 ⊆ C ∧ Red G P e.1 e.2 |
| 46 | |
| 47 | def Continues (P : Finset (Finset V)) (B C : Finset V) : Prop := |
| 48 | ∃ e, lifts G P B C = {e} ∧ redDegree G P e.1 = 2 ∧ redDegree G P e.2 = 2 |
| 49 | |
| 50 | /-- The last earlier partition where tracing the unique degree-2 edge stops. |
| 51 | At that partition collect the endpoints of red degree 1. -/ |
| 52 | noncomputable def fringe (S : PartitionSequence G 2) (i : ℕ) (B C : Finset V) : Finset V := by |
| 53 | classical |
| 54 | let stops := (Finset.range i).filter fun j => ¬ Continues G (S.partition j) B C |
| 55 | exact if hs : stops.Nonempty then |
| 56 | let P := S.partition (stops.max' hs) |
| 57 | (lifts G P B C).biUnion fun e => |
| 58 | (if redDegree G P e.1 = 1 then e.1 else ∅) ∪ (if redDegree G P e.2 = 1 then e.2 else ∅) |
| 59 | else ∅ |
| 60 | |
| 61 | /-- Each vertex is moved at most once, from the part containing it. -/ |
| 62 | def Receives (S : PartitionSequence G 2) (i : ℕ) (v : V) (Q : Finset V) : Prop := |
| 63 | ∃ P ∈ S.partition i, v ∈ P ∧ |
| 64 | ((Selected G (S.partition i) P Q ∧ v ∈ fringe G S i P Q) ∨ |
| 65 | (Q = P ∧ ¬ ∃ R, Selected G (S.partition i) P R ∧ v ∈ fringe G S i P R)) |
| 66 | |
| 67 | /-- Group the receivers by red connectivity after deleting selected edges. -/ |
| 68 | noncomputable def auxiliary (S : PartitionSequence G 2) (i : ℕ) : Finset (Finset V) := by |
| 69 | classical |
| 70 | let P := S.partition i |
| 71 | let remaining := fun A B => Red G P A B ∧ ¬ Selected G P A B |
| 72 | let part := fun R => Finset.univ.filter fun v => |
| 73 | ∃ Q, Receives G S i v Q ∧ Relation.ReflTransGen remaining Q R |
| 74 | exact (P.image part).erase ∅ |
| 75 | |
| 76 | /-- Every cut used in the auxiliary partitions has a cover by 4 chains. -/ |
| 77 | axiom four_chains (S : PartitionSequence G 2) (i : ℕ) (hi : i ≤ S.stepCount) |
| 78 | (X : Finset V) (hX : X ∈ auxiliary G S i) : Nonempty (ChainCuts.Cover G X 4) |
| 79 | |
| 80 | end Lax528502.Fringes |
| 81 |
Used by
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments