Exact Fourier circuits: port matrices #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/FourierCircuit/PortMatrices.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
The shared coordinate is explicitly a single PUnit port, not an unspecified padding block.
Equations
- Complexity.ExactFourier.OnePort.splitRight ι κ = (Equiv.prodSumDistrib ι PUnit.{?u.1 + 1} κ).trans ((Equiv.prodPUnit ι).sumCongr (Equiv.refl (ι × κ)))
Instances For
Distribute a product over a sum whose distinguished left factor is a singleton.
Equations
- Complexity.ExactFourier.OnePort.splitLeft ι κ = (Equiv.sumProdDistrib ι PUnit.{?u.1 + 1} κ).trans ((Equiv.refl (ι × κ)).sumCongr (Equiv.punitProd κ))
Instances For
Apply the first matrix on the selected singleton port and fix the remaining block.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply copies of the first matrix away from the selected singleton port.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply the second matrix on the selected singleton port of the first factor.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply copies of the second matrix away from the first factor's selected port.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The selected row and column have one shared coordinate. Their complement is exactly the Cartesian product of the two unshared data sets.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Extend the first port matrix by the identity on the second matrix's remaining coordinates.
Equations
Instances For
Extend the second port matrix by the identity on the first matrix's remaining coordinates.
Equations
Instances For
Apply the first and then the second matrix on their union with one shared port.
Equations
Instances For
The upper block shear with identity diagonal and off-diagonal block G.
Equations
Instances For
The lower block shear with identity diagonal and off-diagonal block G.
Equations
Instances For
Necessary pre-corner price bound: both the forward and inverse circuits are charged.