Exact Fourier circuits: toeplitz cross #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/FourierCircuit/ToeplitzCross.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
The finite convolution sum describing the cross block of a truncated Toeplitz product.
Equations
- Complexity.ExactFourier.ToeplitzLayers.cross s h g i j = ∑ l ∈ Finset.range (s - j), h (i - j - l) * g l
Instances For
Symmetric Gaussian factorization, avoiding an appeal to LDU uniqueness.
The formal series of reciprocals of the Newton normalization products.
Equations
- Complexity.ExactFourier.NewtonFourier.invH ω = PowerSeries.mk fun (i : ℕ) => (Complexity.ExactFourier.NewtonFourier.H ω i)⁻¹
Instances For
Exact-width Fourier layer theorem, with an absolute constant and a stronger quadratic logarithmic bound.
Identify indices below a positive modulus with its residue classes.
Equations
Instances For
Embed one residue coordinate into a product of residue-class groups.
Equations
- Complexity.ExactFourier.FourierCRT.singleAdd r i = { toFun := fun (x : ZMod (r i)) => Function.update 0 i x, map_zero' := ⋯, map_add' := ⋯ }
Instances For
Restrict the product modulus's standard character to one Chinese-remainder component.