Lemma 3.1 — the extension and disjointness matrices commute
ProvedWeightedDirectedKPath.lemma_3_1graph-theoryparameterized-complexity
Over an additively idempotent semiring, adjoining a specified element on the left of the disjointness matrix equals multiplying by the transposed extension matrix on the right.
Preamble
import Definitions.Def_WeightedDirectedKPath_Interfaces
Formal statement
namespace WeightedDirectedKPath
theorem lemma_3_1 :
∀ (S : Type*) [Semiring S], (∀ x : S, x + x = x) →
∀ (n k : ℕ), k ≤ n → ∀ e : Fin n,
extend S e * disjointMatrix S n k =
disjointMatrix S n k * (extend S e).transpose := by sorry
end WeightedDirectedKPathSource
Jesper Nederlof, arXiv:2512.08583, §§1–3. https://arxiv.org/abs/2512.08583 Lemma 3.1.
Read-back
What the Lean code literally says, in plain math · GPT-6
In any semiring with for every , adjoining a fixed vertex to the first or the second set of a disjointness test gives the matrix identity
Matrix entries
Take any natural numbers with and any vertex . Rows and columns range over all subsets . The entry is if and , and otherwise. The entry is if and , and otherwise. Products use the semiring operations.
At both products have entry in the case , and , and entry otherwise. At both products are zero. At there is no to choose.