Exact Fourier circuits: signed price #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/FourierCircuit/SignedPrice.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
Use the next bit-string order on the sum representation of longer bit strings.
Equations
Instances For
Use the strict order induced by the next bit-string order.
Equations
Instances For
The initial block matrix used to compare consecutive signed-bit constructions.
Equations
Instances For
The input-side block factor retaining the previous signed-bit transformation.
Equations
Instances For
Apply the previous signed-bit transformation on the first block alone.
Equations
Instances For
The transition matrix comparing the old input and output block factorizations.
Equations
Instances For
The coordinates in the lower half of the recursive bit-string representation.
Equations
Instances For
Recursive signed coordinate swaps indexed by a Boolean choice of sign convention.
Equations
- Complexity.ExactFourier.SignedBits.J 0 x✝ = 1
- Complexity.ExactFourier.SignedBits.J m.succ false = Matrix.fromBlocks 0 (Complexity.ExactFourier.SignedBits.J m true) (Complexity.ExactFourier.SignedBits.J m true) 0
- Complexity.ExactFourier.SignedBits.J m.succ true = Matrix.fromBlocks 0 (Complexity.ExactFourier.SignedBits.J m false) (-Complexity.ExactFourier.SignedBits.J m false) 0
Instances For
The signed-bit involution with diagonal blocks D m and -D m.
Equations
Instances For
Conjugate a matrix by U, using the nonsingular matrix inverse.
Equations
- Complexity.ExactFourier.Similarity.conj U A = U * A * U⁻¹
Instances For
View a real matrix as a complex matrix by embedding each entry.