Exact Fourier circuits: main #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/FourierCircuit/Main.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
A polynomial upper bound large enough to contain the required prime inventory.
Instances For
The explicit layer-depth bound used to transfer a finite win to Fourier circuits.
Equations
- Complexity.ExactFourier.FourierTransfer.depth q m = 8388608 * (Nat.log 2 (Complexity.ExactFourier.PrimeInventory.upper q m) + 2) ^ 2 + 5
Instances For
An actual finite win transfers to arbitrarily large exact Fourier DAGs, with every scalar multiplication charged.
Existence of an exact circuit in every width, used only to define the minimum.
The least number of source scalar gates computing the exact Fourier transform.
Equations
Instances For
The liminf formulation of the main theorem, for the literal minimum scalar gate count.