p. 3:26 — a Lex-DFS can be performed from any vertex of a connected graph
ProvedTwinWidthI.MinorFree.lexDFS_existsdepth-first-searchgraph-searchlex-dfsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be a finite connected graph and any vertex of . Then there is a Lex-DFS discovery order of starting at : an ordering of all vertices with a DFS tree such that each new vertex is a neighbour of the current active vertex, chosen in a component of the undiscovered vertices with lexicographically maximal word,
The proof of Theorem 6.3 orders the adjacency matrix by this discovery order; the statement says that the search is well defined ("since is connected, the active vertex is always well-defined").
Formalization Note The discovery order is an equivalence , with at position .
Preamble
import Mathlib import Definitions.Def_TwinWidthI_MinorFree_LexDFS
Formal statement
namespace TwinWidthI.MinorFree
/-- p. 3:26: from an arbitrary vertex `v₁` of a connected finite graph the Lex-DFS can be
performed: there is a Lex-DFS discovery order `σ` with DFS tree `par` that starts at `v₁`. -/
theorem lexDFS_exists {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V)
(hconn : G.Connected) (v₁ : V) :
∃ (σ : V ≃ Fin (Fintype.card V)) (par : V → V),
IsLexDFSOrder G σ par ∧ (σ v₁ : ℕ) = 0 := by sorry
end TwinWidthI.MinorFree
Source
Bonnet, Kim, Thomassé and Watrigant, Twin-width I: Tractable FO Model Checking, J. ACM 69(1), Article 3 (2021), p. 3:26, proof of Theorem 6.3, "Definition of the appropriate Lex-DFS"
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.