Documentation

Complexitylib.Circuits.ExactFourier.Internal.ParameterAlgebra

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.

noncomputable def Complexity.ExactFourier.PositiveGeneration.evalMatrix {α κ : Type} [Fintype α] [DecidableEq α] (F : Matrix α α (MvPolynomial κ ℂ)) (x : κ → ℂ) :
Matrix α α ℂ

Evaluate a matrix of multivariate polynomials at one parameter vector.

Equations
Instances For
    @[simp]
    theorem Complexity.ExactFourier.PositiveGeneration.evalMatrix_apply {α κ : Type} [Fintype α] [DecidableEq α] (F : Matrix α α (MvPolynomial κ ℂ)) (x : κ → ℂ) (i j : α) :
    evalMatrix F x i j = (MvPolynomial.aeval x) (F i j)
    @[simp]
    theorem Complexity.ExactFourier.PositiveGeneration.evalMatrix_rename {α κ : Type} [Fintype α] [DecidableEq α] {τ : Type} (e : κ → τ) (F : Matrix α α (MvPolynomial κ ℂ)) (x : τ → ℂ) :
    @[simp]
    noncomputable def Complexity.ExactFourier.PositiveGeneration.leftProj {α κ : Type} :
    (κ ⊕ α → ℂ) →L[ℂ] κ → ℂ

    Project a vector on a sum of coordinate types to its left block.

    Equations
    Instances For
      noncomputable def Complexity.ExactFourier.PositiveGeneration.rightProj {α κ : Type} :
      (κ ⊕ α → ℂ) →L[ℂ] α → ℂ

      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.

        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
            noncomputable def Complexity.ExactFourier.PositiveGeneration.Param.nextPoly {α : Type} [Fintype α] [DecidableEq α] {A p : Matrix α α ℂ} {U : Submodule ℂ (Matrix α α ℂ)} (P : Param A p U) (s : Matrix α α ℂ) :
            Matrix α α (MvPolynomial (P.Vars ⊕ α) ℂ)

            Append a fixed matrix and a fresh diagonal parameter block to the family.

            Equations
            Instances For
              @[simp]
              theorem Complexity.ExactFourier.PositiveGeneration.Param.eval_nextPoly {α : Type} [Fintype α] [DecidableEq α] {A p : Matrix α α ℂ} {U : Submodule ℂ (Matrix α α ℂ)} (P : Param A p U) (s : Matrix α α ℂ) (x : P.Vars ⊕ α → ℂ) :
              noncomputable def Complexity.ExactFourier.PositiveGeneration.Param.nextDerivative {α : Type} [Fintype α] [DecidableEq α] {A p : Matrix α α ℂ} {U : Submodule ℂ (Matrix α α ℂ)} (P : Param A p U) (s : Matrix α α ℂ) :
              (P.Vars ⊕ α → ℂ) →L[ℂ] Matrix α α ℂ

              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
                @[simp]
                theorem Complexity.ExactFourier.PositiveGeneration.Param.nextDerivative_apply {α : Type} [Fintype α] [DecidableEq α] {A p : Matrix α α ℂ} {U : Submodule ℂ (Matrix α α ℂ)} (P : Param A p U) (s : Matrix α α ℂ) (x : P.Vars ⊕ α → ℂ) :
                theorem Complexity.ExactFourier.PositiveGeneration.Param.next_deriv {α : Type} [Fintype α] [DecidableEq α] {A p : Matrix α α ℂ} {U : Submodule ℂ (Matrix α α ℂ)} (P : Param A p U) (s : Matrix α α ℂ) :
                HasStrictFDerivAt (evalMatrix (P.nextPoly s)) (P.nextDerivative s) fun (x : P.Vars ⊕ α) => 1
                theorem Complexity.ExactFourier.PositiveGeneration.Param.base_unit {α : Type} [Fintype α] [DecidableEq α] {A p : Matrix α α ℂ} {U : Submodule ℂ (Matrix α α ℂ)} (P : Param A p U) (hA : IsUnit A) :
                noncomputable def Complexity.ExactFourier.PositiveGeneration.Param.snoc {α : Type} [Fintype α] [DecidableEq α] {A p : Matrix α α ℂ} {U : Submodule ℂ (Matrix α α ℂ)} (P : Param A p U) (hA : IsUnit A) (s : Matrix α α ℂ) (hs : Reach A s) :
                Param A (p * s) (U ⊔ diagConj (p * s))

                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

                  Identify a matrix with the vector of entries indexed by pairs of coordinates.

                  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
                      @[simp]
                      theorem Complexity.ExactFourier.PositiveGeneration.flatCLM_apply {α : Type} [Fintype α] (M : Matrix α α ℂ) (ij : α × α) :
                      flatCLM M ij = M ij.1 ij.2

                      The polynomial substitution homomorphism defined by the parameterized matrix entries.

                      Equations
                      Instances For
                        theorem Complexity.ExactFourier.PositiveGeneration.Param.open_word {α : Type} [Fintype α] [DecidableEq α] {A p : Matrix α α ℂ} (P : Param A p ⊤) (hA : IsUnit A) :
                        ∃ (g : MvPolynomial (α × α) ℂ), g ≠ 0 ∧ ∀ (H : Matrix α α ℂ), (MvPolynomial.aeval (flatCLM H)) g ≠ 0 → Pattern A P.calls H

                        Nonempty Zariski basic opens in complex affine space are Euclidean dense.

                        theorem Complexity.ExactFourier.PositiveGeneration.positive_generation {α : Type} [Fintype α] [DecidableEq α] (A : Matrix α α ℂ) (hA : IsUnit A) (hn : ¬MonomialMatrix A) :
                        ∃ (h : ℕ), 0 < h ∧ ∀ (H : Matrix α α ℂ), IsUnit H → Pattern A h H

                        Positive generation, with a common strictly positive number of forward calls.