Documentation

CslibFrontier.Algorithms.Reachability.MinIsolation.Generator

An executable family of min-isolating weights #

Use a finite-label Justesen code in Hoza's base-six assignment. The seed length is logarithmic in the size of the layered vertex set, and the weights are polynomially bounded. Every layered digraph on the vertex set admits an isolating seed. These are the combinatorial and magnitude guarantees of [Hoza2026NLUL, Theorem 1.3]. Use a graph on Fin (n + 1) × Fin w, with layer first and column second. Supply hlayer : ∀ z, G.layer z = z.1.val. The path weight sums only internal vertices. The seed length bound is Code.JustesenFamily.codeLength_bounds. CslibFrontierTests.LayeredDigraph checks the existence theorem, seed-length bound, and polynomial magnitude bound through ordinary imports. The native evaluator space bound is proved separately in Cslib.Reachability.Hoza.SeedWeight.Dimensions.generatedWeight_computesInTimeAndSpace.

Main definitions #

Main results #

Evaluate the weight of a vertex from its layer, column, and binary seed.

theorem Cslib.Reachability.Hoza.exists_generatedWeight_isMinIsolating {w n : ℕ} (G : LayeredDigraph (Fin (n + 1) × Fin w)) (hlayer : ∀ (z : Fin (n + 1) × Fin w), G.layer z = ↑z.1) :

Some seed in the Justesen-based family min-isolates any simple layered graph.

A seed-independent chain bound using the actual code length and the binary width of the final layer.

The executable chain bound is valid for every seed and vertex.

theorem Cslib.Reachability.Hoza.generatedWeight_polynomial :
∃ (C : ℕ), ∀ (w n : ℕ) (seed : Fin (Code.JustesenFamily.codeLength w n) → Bool) (z : Fin (n + 1) × Fin w), generatedWeight seed z < (2 * (w * (n + 1) + 1)) ^ C

One polynomial bounds every generated weight, uniformly in the graph dimensions.