Exact Fourier circuits: symmetric laplacian #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/FourierCircuit/SymmetricLaplacian.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
The tensor difference G ⊗ 1 - 1 ⊗ G.
Equations
- Complexity.ExactFourier.SymLap.lap G = Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) G 1 - Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) 1 G
Instances For
The tensor square of the matrix G.
Equations
- Complexity.ExactFourier.SymLap.tensor G = Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) G G
Instances For
Multiply the tensor difference by the tensor square of the symmetrizing matrix.
Equations
- Complexity.ExactFourier.SymLap.symmetrized G J = Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) J J * Complexity.ExactFourier.SymLap.lap G
Instances For
The polynomial matrix 1 + X • A associated with one linear factor.
Equations
Instances For
Multiply the polynomial factors 1 + X • A in list order.
Equations
Instances For
Remove the constant coefficient and divide each entry of the product by X.
Equations
Instances For
Two distinct coordinates with nonzero coefficients for their opposing off-diagonal entries.
- i : α
The first coordinate of the off-diagonal pair.
- j : α
The second coordinate, distinct from the first.
- a : ℂ
The nonzero coefficient in the first-to-second matrix position.
- b : ℂ
The nonzero coefficient in the second-to-first matrix position.
Instances For
The matrix supported on the two specified off-diagonal positions.
Instances For
The quadratic polynomial controlling invertibility of this pair perturbation.
Equations
- u.den = 1 - Polynomial.X ^ 2 * Polynomial.C (u.a * u.b)
Instances For
The exact polynomial tangent used in the first sparse-reflection specialization.
The matrix Cayley transform (1 + t • A) * (1 - t • A)⁻¹.