Exact span propagation for linear transitions with a finite-state filter
ProvedPvsNP.span_linear_route_reachabilitycomplexity-theoryformal-verificationlinear-algebra
Run a sequence of linear maps driven by bits and route each prefix into a state according to the same bits. At each state, the span of reachable vectors evolves exactly by mapping the predecessor spans through the routed linear maps and taking their sum.
Preamble
import Mathlib
Formal statement
theorem PvsNP.span_linear_route_reachability {F V Q : Type*} [Field F] [AddCommGroup V]
[Module F V] [DecidableEq Q]
(route : ℕ → Q → Bool → Q) (step : ℕ → Bool → V →ₗ[F] V) (initial : Q → Set V)
(reachable : ℕ → Q → Set V) (summarized : ℕ → Q → Submodule F V)
(reachStart : ∀ q, reachable 0 q = initial q)
(summaryStart : ∀ q, summarized 0 q = Submodule.span F (initial q))
(reachAdvance : ∀ n q, reachable (n + 1) q = ⋃ p, ⋃ bit,
if route n p bit = q then step n bit '' reachable n p else ∅)
(summaryAdvance : ∀ n q, summarized (n + 1) q = ⨆ p, ⨆ bit,
if route n p bit = q then (summarized n p).map (step n bit) else ⊥) :
∀ n q, Submodule.span F (reachable n q) = summarized n q := by sorrySource
Compact compilation of ordered pivot schedules from feature dictionaries represented by linear transitions.