Exact Fourier circuits: parameter algebra #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/FourierCircuit/ParameterAlgebra.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
Evaluate a matrix of multivariate polynomials at one parameter vector.
Equations
Instances For
Form a diagonal matrix as a continuous complex linear map.
Equations
Instances For
Project a vector on a sum of coordinate types to its left block.
Equations
Instances For
Project a vector on a sum of coordinate types to its right block.
Equations
Instances For
A fixed positive word with polynomial diagonal parameters and its exact derivative.
- Vars : Type
The finite parameter-coordinate type of the polynomial family.
- poly : Matrix α α (MvPolynomial self.Vars ℂ)
The matrix of polynomials describing the parameterized positive words.
- calls : ℕ
The fixed number of calls to
Ain every nonzero-parameter instance. The derivative of the polynomial family at the all-ones parameter vector.
- deriv : HasStrictFDerivAt (evalMatrix self.poly) self.derivative fun (x : self.Vars) => 1
Instances For
The initial diagonal polynomial family with no calls to A.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Append a fixed matrix and a fresh diagonal parameter block to the family.
Equations
- P.nextPoly s = (MvPolynomial.rename Sum.inl).mapMatrix P.poly * MvPolynomial.C.mapMatrix s * Matrix.diagonal fun (i : α) => MvPolynomial.X (Sum.inr i)
Instances For
The product-rule derivative after appending a matrix and diagonal parameters.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Extend a parameterized family by a reachable matrix and its diagonal directions.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The continuous linear equivalence flattening a finite matrix into its entries.
Equations
Instances For
The polynomial substitution homomorphism defined by the parameterized matrix entries.
Equations
- P.hom = MvPolynomial.aeval fun (ij : α × α) => P.poly ij.1 ij.2
Instances For
Nonempty Zariski basic opens in complex affine space are Euclidean dense.
Positive generation, with a common strictly positive number of forward calls.