Lemma 6.4 — the vertices a_{i,j} lie on a single branch of the DFS tree
ProvedTwinWidthI.MinorFree.lemma_6_4Let be a depth-first search of a finite graph , and let . Suppose vertices and () satisfy:
- is an edge of for all ;
- in the discovery order whenever ;
- for all .
Then any two of the are in ancestor–descendant relation in : if , then is an ancestor of ,
So all the lie on a single branch, first , then , and so on.
In the proof of Theorem 6.3, , and , where are consecutive blocks of the discovery order preceding the consecutive blocks ; the lemma lets the paper contract the paths into the branch sets of a minor. As the paper notes, only the definition of a DFS is used, not the Lex-DFS tie-break.
Formalization Note Hypotheses 1–3 are exactly the properties of the proof's vertices that the lemma uses; the blocks themselves are not needed. The "In particular" clause (the minimal subtrees are pairwise-disjoint paths) is not stated separately.
import Mathlib import Definitions.Def_TwinWidthI_MinorFree_LexDFS
namespace TwinWidthI.MinorFree
/-- Lemma 6.4, p. 3:27. In a DFS (`σ`, `par`) of `G`, let `a i j` (`i, j < k`, the paper's
`a_{i+1,j+1} ∈ A_{i+1}`) be vertices with a neighbour `b i j` (`∈ B_{j+1}`), such that every
`a i j` is discovered before every `a i' j'` with `i < i'` (the `A_i` are consecutive blocks in
this order) and before every `b i' j'` (all of `⋃ A_i` precedes `⋃ B_j`). Then all the `a i j`
lie on a single branch of the DFS tree: an earlier one is an ancestor of a later one. -/
theorem lemma_6_4 {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) (hab : ∀ i j, G.Adj (a i j) (b i j))
(ha : ∀ i j i' j', i < i' → σ (a i j) < σ (a i' j'))
(hb : ∀ i j i' j', σ (a i j) < σ (b i' j')) :
∀ i j i' j', σ (a i j) ≤ σ (a i' j') → IsAncestor par (a i j) (a i' j') := by sorry
end TwinWidthI.MinorFree
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.