Lemma 2.4(b) — at any instant of FOREST, a u–v path in E*_j gives u–v paths in every E*_i with i < j
ProvedNagamochiIbaraki.NodeConn.lemma_2_4_bLet be a graph with and no self-loop, and consider any run of Procedure FOREST on . Fix a time instant and let be the classes at that instant. For indices and nodes :
Connectivity is thus monotone across the classes: a later forest never joins two nodes that an earlier forest leaves apart. The proof of Lemma 3.2 uses it to produce the paths , to which Lemma 3.1 is applied.
Formalization Note "Connected by a path in " is reachability in the spanning subgraph ; a path exists exactly when a walk does.
import Mathlib import Definitions.Def_NagamochiIbaraki_NodeConn_Multigraph import Definitions.Def_NagamochiIbaraki_NodeConn_Forest
namespace NagamochiIbaraki.NodeConn
theorem lemma_2_4_b
{V E : Type*} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
(hV : 2 ≤ Fintype.card V)
(ends : E → Sym2 V) (hloop : ∀ e, ¬ (ends e).IsDiag)
(σ : ℕ → State V E) (K : ℕ) (hrun : IsRun ends σ K) :
∀ k, k ≤ K → ∀ (i j : ℕ) (u v : V), 1 ≤ i → i < j → j ≤ Fintype.card E →
(edgeGraph ends (cls (σ k) j)).Reachable u v →
(edgeGraph ends (cls (σ k) i)).Reachable u v := by sorry
end NagamochiIbaraki.NodeConn
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The setting and hypotheses are:
- finite types (nodes) and (edges), both with decidable equality, where ;
- an endpoint map with no loops;
- parallel edges are allowed;
- a sequence of states that is a run of length . A run starts from the initial state and each follows from by a select, scan or finish step, for every .
The steps.
-
Select. With no current node, choose an unscanned node of maximum label among the unscanned nodes as current, and append it to the order list.
-
Scan. With current node and an edge of index with :
- set ;
- raise by one if ;
- raise by one.
All three updates use the old values of .
-
Finish. Once every edge incident to the current node has nonzero index, mark it scanned and clear the current node.
Notation. For a state :
- ;
- is the simple graph on all of in which iff and some has .
Claim. For every time , all integers with , and all nodes :
Degenerate cases.
- . Both sides hold trivially, since every node reaches itself.
- . No pair exists, so the claim is vacuous.
- . Every class of positive index is empty, so the hypothesis holds only for .
- Not covered. The claim says nothing about index or about times after .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.