Exact Fourier circuits: words #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/FourierCircuit/Words.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
A permutation matrix times an invertible diagonal matrix, literally P D.
Equations
Instances For
A fixed coordinate relabeling of the ordinary Kronecker tensor power.
Equations
- Complexity.ExactFourier.tensorCoordinates q b = (Equiv.cast ⋯).trans (Fintype.equivFin (Fin b → Fin q)).symm
Instances For
noncomputable def
Complexity.ExactFourier.tensorPower
{q : ℕ}
(A : Matrix (Fin q) (Fin q) ℂ)
(b : ℕ)
:
The ordinary matrix tensor power under the fixed finite-coordinate numbering.
Equations
- Complexity.ExactFourier.tensorPower A b i j = ∏ k : Fin b, A ((Complexity.ExactFourier.tensorCoordinates q b) i k) ((Complexity.ExactFourier.tensorCoordinates q b) j k)
Instances For
An invertible nonmonomial matrix has a tensor power using fewer calls than the standard construction.
Equations
- One or more equations did not get rendered due to their size.