Documentation

CslibFrontier.Algorithms.Reachability.MinIsolation.Subdivision

Unique double-counting transcripts for subdivided min-isolating graphs #

Vertex-chain subdivision transfers min-isolation to shortest vertex-list walks at every reachable auxiliary vertex. Thus the existing unweighted double-counting scan contract has exactly one successful transcript in each round. Conversely, unique transcripts at every original source in a saturated round certify min-isolation. The criterion applies under any relabeling, including consecutive row-major IDs for the streaming scans.

This is the mathematical transport step of #6747; the streaming branch implementation and its native resource proof are separate.

theorem Cslib.LayeredDigraph.Subdivision.existsUnique_passes_of_isMinIsolating {V : Type u_1} [Fintype V] {G : LayeredDigraph V} {weight : V → ℕ} {bound : ℕ} (hw : ∀ (v : V), weight v ≤ bound) (hG : G.IsMinIsolating weight) (s : V) (k : ℕ) :
∃! w : DoubleCounting.Transcript (Vertex V bound), DoubleCounting.Passes (graph G weight bound).Adj (root bound s) k w

Every breadth-first round of a subdivided min-isolating graph has exactly one successful unweighted scan transcript, including its choices at auxiliary vertices.

theorem Cslib.LayeredDigraph.Subdivision.isMinIsolating_iff_indexedPasses {V : Type u_1} {G : LayeredDigraph V} {weight : V → ℕ} {bound : ℕ} {ι : Type u_2} [Fintype ι] (index : Vertex V bound ≃ ι) (hw : ∀ (v : V), weight v ≤ bound) {k : ℕ} (hk : Fintype.card ι ≤ k + 1) :
G.IsMinIsolating weight ↔ ∀ (s : V), ∃! w : DoubleCounting.Transcript ι, DoubleCounting.Passes (fun (u v : ι) => (graph G weight bound).Adj (index.symm u) (index.symm v)) (index (root bound s)) k w

A saturated scan from each original source detects exactly min-isolation. The indexing equivalence can use equivProd followed by finProdFinEquiv, as required by a scan over consecutive row-major vertex IDs.