Exact Fourier circuits: slot assembly #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/FourierCircuit/SlotAssembly.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
The collection of copies of each species in an inventory.
Equations
- Complexity.ExactFourier.Packing.Inventory k = ((t : τ) × Fin (k t))
Instances For
The dependent coordinate space of all active species copies.
Equations
- Complexity.ExactFourier.Packing.ActiveSpace D k = ((i : Complexity.ExactFourier.Packing.Inventory k) × D i.fst)
Instances For
The block diagonal action of every matrix copy in the active inventory.
Equations
Instances For
Extend the active inventory matrix by an identity block of spare coordinates.
Equations
Instances For
One full slot, with spectators carrying arbitrary data, is exactly one J call.
A species' coordinate type, with a singleton for the identity species.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
The species matrix, using a one-coordinate identity for the absent species.
Equations
Instances For
The number of copies of an active species or of the identity species.
Equations
Instances For
Coordinates grouped by species, copy index, and coordinate within a copy.
Equations
Instances For
Regroup active inventory and spare coordinates by their optional species.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The product coordinate type for a live pair of species.
Equations
Instances For
The tensor product of the two matrices of a live species pair.
Equations
Instances For
Separate live pair coordinates from the identity-only tensor-square coordinates.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A monomial factor followed in matrix-product order by one embedded species call.
The monomial matrix factor attached to the call.
- monomial : MonomialMatrix self.mono
- type : τ
The species called by this frame.
The ambient coordinates occupied by the species call.
Instances For
The product of the frame's monomial factor and its embedded species matrix.
Instances For
Multiply an additional monomial factor into the front of a frame.
Equations
Instances For
A list of species-call frames together with a final monomial factor.
The ordered list of monomial-and-call frames.
The final monomial matrix in the word's product.
- tail_monomial : MonomialMatrix self.tail
Instances For
Multiply all frame matrices in order and then the final monomial factor.
Instances For
The ordered sequence of species called by the frames.
Equations
Instances For
Absorb a leading monomial factor into the first frame or the final tail.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Collect monomial steps into adjacent call frames and a final monomial tail.
Equations
Instances For
Expand one frame into its monomial step and embedded species call.
Equations
Instances For
The identity word or one full-coordinate call to the selected species.
Equations
Instances For
Realize a live pair by the standard tensor product of its species words.
Equations
Instances For
The number of calls to each species in the standard pair realization.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact two-factor comparison; identity factors have width one and zero price.
- pair : LivePair τ
The live pair being realized by the comparison word.
- word : Word D A (PairDomain D self.pair)
The alternative word realizing the same live pair matrix.
Instances For
The signed call savings relative to the standard pair realization.
Instances For
Extend species prices by assigning zero to the identity species.
Equations
Instances For
Adjoin a singleton coordinate factor without changing the coordinate space.
Equations
Instances For
Regard any realization of one species as a comparison for its singleton pair.
Equations
- One or more equations did not get rendered due to their size.