Documentation

Complexitylib.Algebraic.LowerBound.Cutwidth.Extractor.Strong.Block.Recursion.Scheduled.Matched.Program.Internal

Uniform computation of the shared-scale matched extractor #

Bounded numerical-state iteration computes every actual width and its seed cost. A finite sum gives the exact total seed prefix before the unchanged payload program runs. Safe parameters certify this complete computation on all inputs; on the valid branch they equal the supplied parameters. Depth is bounded by 64 when generating powers, and every intermediate numerical and payload state uses the existing global reserve bound.

theorem Algebraic.Cutwidth.Extractor.Internal.scheduledSeedBits_unaryFn {n h Q E ell : List Bool → ℕ} (hn : Complexity.UnaryFn n) (hh : Complexity.UnaryFn h) (hentropy : Complexity.UnaryFn fun (z : List Bool) => recursiveBlockEntropy (h z) (Q z) 0) (hE : Complexity.UnaryFn E) (hell : Complexity.UnaryFn ell) (budget : ∀ (z : List Bool), 3 * (24 * explicitCondenserBudget (scheduledBlockInitialWidth (n z) (h z) (Q z) (E z)) (recursiveBlockEntropy (h z) (Q z) 0) (E z)) + 6 * E z ≤ 2 * Q z) :
Complexity.UnaryFn fun (z : List Bool) => scheduledBlockSeedBits (n z) (h z) (Q z) (E z) (ell z)

Bounded schedule iteration computes the exact seed width at any certified depth.

theorem Algebraic.Cutwidth.Extractor.Internal.matchedBlockExtractorRuntime_mem_FP {h L e : List Bool → ℕ} {source seeds : List Bool → List Bool} (hh : Complexity.UnaryFn h) (hL : Complexity.UnaryFn L) (he : Complexity.UnaryFn e) (hsource : source ∈ Complexity.FP) (hseeds : seeds ∈ Complexity.FP) :
(fun (z : List Bool) => matchedBlockExtractorRuntime (h z) (L z) (e z) (source z) (seeds z)) ∈ Complexity.FP