Evaluating dense dyadic rows from twisted geometric sequences
ProvedPvsNP.dyadic_twisted_geometric_rowsalgebracomplexity-theoryformal-verification
Suppose each coefficient of a dyadic-length row is a sum of ring-homomorphism images of weighted geometric sequences. Evaluating the row equals a sum, over sequences and homomorphisms, of one product with a factor for each binary place in the row index.
Preamble
import Mathlib set_option autoImplicit false
Formal statement
theorem PvsNP.dyadic_twisted_geometric_rows {R J K : Type} [CommSemiring R]
(features : Finset J) (twists : Finset K) (twist : K → R →+* R)
(payload ratio : J → R) (u : R) (width : ℕ) :
(∑ i ∈ Finset.range (2^width),
(∑ k ∈ twists, twist k (∑ j ∈ features, payload j * (ratio j)^i)) * u^i) =
∑ j ∈ features, ∑ k ∈ twists, twist k (payload j) *
∏ i ∈ Finset.range width, (1+(twist k (ratio j) * u)^(2^i)) := by sorrySource
Native symbol binary Horner construction in PvsNPNativeSymbolGeometricRows.lean.