Documentation

Complexitylib.Algebraic.LowerBound.Cutwidth.PathDecomposition.Bisection.RedBlack

Small components and thin paths in the red/black argument #

These are the first two witness constructions in Monien and Preis's core red/black lemma. A red edge inside one small black component, or between two such components, gives a positive set. A black path with many red attachments relative to its length also gives a uniformly bounded positive set: choose three nearby attachments, retain the subpath between them, and add their black components.

WeightedTree supplies the light adjacent-pair lemma, RedBlack.Restoration the local compensation for deleted black edges, and Restoration.Family a uniform bound for restoring a whole family. CycleRemoval selects regions to isolate in a supplied degree-two family and excludes all cycles through that family. PathSystem constructs the family from eligible vertices and their actual red attachments. Its initial attachment marks and their shared budget with small cyclic components are counted exactly. Preserving marks through the tree reorganization is not formalized: RedBlack.Clusters proves the red/black density lemma by bounded connected partitions instead, and Bisection.exists_bisectionBound uses it. These constructions also apply after black-edge deletions; they do not require cubic regularity.

Both endpoints characterize membership among the internal red edges.

theorem Algebraic.Cutwidth.Bisection.RedBlack.internalEdges_mono {V E : Type} [Fintype E] (R : Multigraph V E) {X Y : Finset V} (h : X ⊆ Y) :

Adding vertices preserves every existing internal red edge.

theorem Algebraic.Cutwidth.Bisection.RedBlack.exists_positive_of_component_edge {V E : Type} [Fintype V] [Fintype E] (B : SimpleGraph V) (R : Multigraph V E) (C D : B.ConnectedComponent) (M : ℕ) (smallC : Fintype.card ↥C ≤ M) (smallD : Fintype.card ↥D ≤ M) {e : E} (hfst : R.fst e ∈ C.supp) (hsnd : R.snd e ∈ D.supp) :
∃ (X : Finset V), X.card ≤ 2 * M ∧ Positive B R X

A red edge joining small black components gives a positive set of size at most 2 M. The two components may coincide.

theorem Algebraic.Cutwidth.Bisection.RedBlack.exists_positive_of_attachments {V E : Type} [Fintype V] [Fintype E] (B : SimpleGraph V) (R : Multigraph V E) (P : Finset V) (edges : Finset E) (A : E → Finset V) (M : ℕ) (cut : (B.cutFinset P).card < edges.card) (closed : ∀ e ∈ edges, B.cutFinset (A e) = ∅) (small : ∀ e ∈ edges, (A e).card ≤ M) (attached : ∀ e ∈ edges, R.fst e ∈ P ∧ R.snd e ∈ A e ∨ R.snd e ∈ P ∧ R.fst e ∈ A e) :
∃ (X : Finset V), X.card ≤ P.card + edges.card * M ∧ Positive B R X

Attach sets with empty black cuts to a connecting set. More distinct red attachments than black crossing edges suffice for positivity.

theorem Algebraic.Cutwidth.Bisection.RedBlack.card_cut_le_two_of_connected {V : Type} [Fintype V] (B : SimpleGraph V) {P : Finset V} (connected : (SimpleGraph.induce {v : V | v ∈ P} B).Connected) (degree : ∀ v ∈ P, B.degree v ≤ 2) :

A nonempty connected set whose vertices have black degree at most two has at most two external black edges.

theorem Algebraic.Cutwidth.Bisection.RedBlack.exists_adjacent_pair_le_three_average {n : ℕ} (w : Fin (n + 2) → ℕ) :
∃ (i : Fin (n + 1)), (n + 2) * (w i.castSucc + w i.succ) ≤ 3 * ∑ j : Fin (n + 2), w j

Among at least two nonnegative integer weights, two adjacent weights have sum at most three times the average. This is the gap estimate in Monien and Preis's thin-path construction, stated without division.

theorem Algebraic.Cutwidth.Bisection.RedBlack.exists_three_close_positions {n : ℕ} (pos : Fin (n + 3) → ℕ) (ordered : Monotone pos) :
∃ (i : Fin (n + 1)), (n + 2) * (pos i.succ.succ - pos i.castSucc.castSucc) ≤ 3 * (pos (Fin.last (n + 2)) - pos 0)

Three consecutive marked positions have span at most three times the average gap between all marked positions.

theorem Algebraic.Cutwidth.Bisection.RedBlack.exists_positive_of_thin_walk {V E : Type} [Fintype V] [Fintype E] (B : SimpleGraph V) (R : Multigraph V E) {u v : V} (p : B.Walk u v) {n : ℕ} (edge : Fin (n + 3) ↪ E) (pos : Fin (n + 3) → ℕ) (A : E → Finset V) (M : ℕ) (ordered : Monotone pos) (within : ∀ (i : Fin (n + 3)), pos i ≤ p.length) (degree : ∀ w ∈ p.support, B.degree w ≤ 2) (thin : p.length ≤ M * (n + 3)) (closed : ∀ (i : Fin (n + 3)), B.cutFinset (A (edge i)) = ∅) (small : ∀ (i : Fin (n + 3)), (A (edge i)).card ≤ M) (attached : ∀ (i : Fin (n + 3)), R.fst (edge i) = p.getVert (pos i) ∧ R.snd (edge i) ∈ A (edge i) ∨ R.snd (edge i) = p.getVert (pos i) ∧ R.fst (edge i) ∈ A (edge i)) :
∃ (X : Finset V), X.card ≤ 8 * M + 1 ∧ Positive B R X

A walk of black degree at most two with n + 3 distinct red attachments and length at most M * (n + 3) gives a positive set of at most 8 M + 1 vertices, provided each attached set has at most M vertices and an empty black cut. The proof uses three nearby attachments and their connecting subwalk.