Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6.6 β€” each component of 𝒯[v] βˆ’ {v} meets at most two enhancements of the clique

Proved
TwinWidthI.MinorFree.lemma_6_6

by mikedeng1 Β· Oct 8, 2026 Β· Mathlib 0df444a (Lean v4.33.1)

Let (v1,…,vn;T)(v_1,\dots,v_n;\mathcal T)(v1​,…,vn​;T) be a depth-first search of a finite graph GGG. Let B1,…,BkB_1,\dots,B_kB1​,…,Bk​ be vertex sets, each consecutive in the discovery order, with BjB_jBj​ entirely preceding Bjβ€²B_{j'}Bj′​ when j<jβ€²j<j'j<jβ€², and let Bjβˆ—B^*_jBjβˆ—β€‹ be the vertex set of the minimal subtree of T\mathcal TT containing BjB_jBj​. Let JβŠ†[k]J\subseteq[k]JβŠ†[k] (the clique CCC of the intersection graph of the Bjβˆ—B^*_jBjβˆ—β€‹) and let vvv be a vertex contained in every Bjβˆ—B^*_jBjβˆ—β€‹, j∈Jj\in Jj∈J. If ccc is a child of vvv in T\mathcal TT, so that the subtree T[c]\mathcal T[c]T[c] is a connected component of T[v]βˆ’{v}\mathcal T[v]-\{v\}T[v]βˆ’{v}, then

∣{ j∈J:Β Bjβˆ—βˆ©T[c]β‰ βˆ…β€‰}βˆ£β‰€2.\bigl|\{\,j\in J:\ B^*_j\cap\mathcal T[c]\neq\emptyset\,\}\bigr|\le 2 .​{j∈J:Β Bjβˆ—β€‹βˆ©T[c]ξ€ =βˆ…}​≀2.

In the proof of Theorem 6.3 this shows that the enhancements of the clique CCC essentially intersect only at vvv, so the sets DjD_jDj​ can be handled one component at a time.

Formalization Note The components C1,…,CsC_1,\dots,C_sC1​,…,Cs​ of T[v]βˆ’{v}\mathcal T[v]-\{v\}T[v]βˆ’{v} are the subtrees rooted at the children of vvv; a child is a vertex cβ‰ vc\neq vcξ€ =v whose parent is vvv. The vertex vvv is a hypothesis (the paper obtains it from the Helly property), as are the properties of the blocks that the proof uses.

Preamble
import Mathlib
import Definitions.Def_TwinWidthI_MinorFree_LexDFS
Formal statement
namespace TwinWidthI.MinorFree

open Classical in
/-- Lemma 6.6, p. 3:28. In a DFS (`Οƒ`, `par`) of `G`, let `B j` (`j < k`) be blocks, each
consecutive in the discovery order, with `B j` entirely before `B j'` for `j < j'`, and let `J`
be a set of indices (the clique `C` of the intersection graph `H`) such that every
`B*_j = MinSubtree par (B j)`, `j ∈ J`, contains the vertex `v`. Let `c` be a child of `v`,
so that `𝒯[c] = {x | IsAncestor par c x}` is a connected component of `𝒯[v] βˆ’ {v}`. Then at
most two of the `B*_j`, `j ∈ J`, intersect `𝒯[c]`. -/
theorem lemma_6_6 {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) {n : β„•}
    (Οƒ : V ≃ Fin n) (par : V β†’ V) (hdfs : IsDFSOrder G Οƒ par) {k : β„•}
    (B : Fin k β†’ Set V)
    (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)
    (J : Finset (Fin k)) (v : V) (hv : βˆ€ j ∈ J, v ∈ MinSubtree par (B j))
    (c : V) (hc : par c = v) (hcv : c β‰  v) :
    (J.filter fun j => βˆƒ x ∈ MinSubtree par (B j), IsAncestor par c x).card ≀ 2 := 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:28, Lemma 6.6 and the sentence defining C_1, …, C_s before it
Human review
  • Endorsed by Shuze Chen Β· Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 Β· Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
Β© 2026 Prove2Me