Lemma 6.5 (corrected) — the enhancements B*_j avoid the paths A′_i, except the last ones
ProvedTwinWidthI.MinorFree.lemma_6_5Let be a depth-first search of a finite graph and let . Let , () be vertices and vertex sets such that:
- is an edge of , and ;
- whenever ;
- each is consecutive in the discovery order, and entirely precedes when ;
- every vertex of every comes after every .
Let be the vertex set of the minimal subtree of containing , and that of the minimal subtree containing (the enhancement of ). Then
In the proof of Theorem 6.3 () this lets each enhancement be contracted without destroying the paths .
Formalization Note The paper states the lemma for every . For the last block it can fail: the proof's claim that every lies in the subtree , the first vertex of , holds for the blocks before (they are discovered between and ) but not for vertices of discovered after is exhausted. A five-vertex DFS (which is also a Lex-DFS) satisfying all hypotheses with for is checked in Lean in the sanity file. The statement therefore excludes the last block as well as the last ; the rest of the proof of Theorem 6.3 has room to discard one more block.
import Mathlib import Definitions.Def_TwinWidthI_MinorFree_LexDFS
namespace TwinWidthI.MinorFree
/-- Lemma 6.5, p. 3:27, corrected. Context of Lemma 6.4 (a DFS, vertices `a i j` with neighbours
`b i j`, the `a i j` increasing in `i` and preceding every `b i' j'`), together with the blocks
`B j ∋ b i j`: each `B j` is consecutive in the discovery order, `B j` entirely precedes `B j'`
for `j < j'`, and every vertex of every `B j` is discovered after every `a i j`. Let
`A'_i = MinSubtree par {a i j | j}` and `B*_j = MinSubtree par (B j)`. Then `B*_j ∩ A'_i = ∅`
for every `i` and every `j` except the last ones (`i, j < k - 1`).
The page states it for every `j ∈ [g(t)/2]`; for the last block `B_{g(t)/2}` it can fail (its
vertices after `b_{g(t)/2, g(t)/2}` need not be in the subtree `𝒯[u]` the proof uses), so the
last block is excluded, like the last `A'_i`. -/
theorem lemma_6_5 {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) {n : ℕ}
(σ : V ≃ Fin n) (par : V → V) (hdfs : IsDFSOrder G σ par) {k : ℕ}
(a b : Fin k → Fin k → V) (B : Fin k → Set V)
(hab : ∀ i j, G.Adj (a i j) (b i j))
(ha : ∀ i j i' j', i < i' → σ (a i j) < σ (a i' j'))
(hbB : ∀ i j, b i j ∈ B j)
(hBcons : ∀ j x y z, x ∈ B j → z ∈ B j → σ x ≤ σ y → σ y ≤ σ z → y ∈ B j)
(hBord : ∀ j j' x y, j < j' → x ∈ B j → y ∈ B j' → σ x < σ y)
(hAB : ∀ i j j' x, x ∈ B j' → σ (a i j) < σ x) :
∀ i j : Fin k, (i : ℕ) + 1 < k → (j : ℕ) + 1 < k →
Disjoint (MinSubtree par (B j)) (MinSubtree par (Set.range (a i))) := by sorry
end TwinWidthI.MinorFree
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.