Documentation

Complexitylib.RationalHitting.Internal.SmallExpansion

Rational hitting lists: small expansion #

Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a. Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/RationalHitting/SmallExpansion.lean

Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.

The coefficient realization of P_M(K), with its exact degree bound.

Equations
Instances For
    @[simp]
    theorem Complexity.RationalHitting.SmallExpansion.polynomialMap_coeff {K : Type u_1} [Field K] (M : ℕ) (x : Fin M → K) (j : Fin M) :
    ((polynomialMap M) x).coeff ↑j = x j
    theorem Complexity.RationalHitting.SmallExpansion.polynomialMap_coeff_high {K : Type u_1} [Field K] (M : ℕ) (x : Fin M → K) (j : ℕ) (hj : M ≤ j) :
    ((polynomialMap M) x).coeff j = 0
    noncomputable def Complexity.RationalHitting.SmallExpansion.polynomialSpace {K : Type u_1} [Field K] {M : ℕ} (V : Submodule K (Fin M → K)) :

    The polynomial subspace corresponding to a subspace of coefficient vectors.

    Equations
    Instances For
      noncomputable def Complexity.RationalHitting.SmallExpansion.taylorCoordinates {K : Type u_1} [Field K] (M : ℕ) (a : K) :
      (Fin M → K) ≃ₗ[K] Fin M → K

      Change coefficient vectors to Taylor coordinates at the specified point.

      Equations
      Instances For
        theorem Complexity.RationalHitting.SmallExpansion.taylorCoordinates_apply {K : Type u_1} [Field K] (M : ℕ) (a : K) (x : Fin M → K) (j : Fin M) :

        Reverse the order of a finite coefficient vector.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def Complexity.RationalHitting.SmallExpansion.reverseTaylorCoordinates {K : Type u_1} [Field K] (M : ℕ) (a : K) :
          (Fin M → K) ≃ₗ[K] Fin M → K

          Take Taylor coordinates and reverse their order.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            The reverse-Taylor test on bounded-degree polynomials multiplies each Taylor coefficient by t^a and places it in output degree M-1-a.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Kernel of the low Taylor projection is precisely the vanishing filtration.

              The output-side low reverse coordinates mean high ordinary Taylor order.

              The rank form of order reversal, at every threshold.

              theorem Complexity.RationalHitting.SmallExpansion.sum_threshold_counts {h : ℕ} (d : Fin h → ℕ) (L : ℕ) :
              ∑ A ∈ Finset.range L, Fintype.card { j : Fin h // d j ≤ A } = ∑ j : Fin h, (L - d j)

              Counting all thresholds counts each order with its exact multiplicity.

              theorem Complexity.RationalHitting.SmallExpansion.sum_reversed_counts {h : ℕ} (d : Fin h → ℕ) (L : ℕ) (hd : ∀ (j : Fin h), d j ≤ L) :
              ∑ A ∈ Finset.range L, Fintype.card { j : Fin h // L - A ≤ d j } = ∑ j : Fin h, d j

              Summation of order reversal, without selecting incompatible auxiliary subspaces: all inequalities concern the fixed filtration of the same W.

              theorem Complexity.RationalHitting.SmallExpansion.expansion_numeric (w B M N k l : ℕ) (hw : 1 ≤ w) (hN : 1 ≤ N) (hMN : M = N + 2 * w ^ 3 * B) (hk : 1 ≤ k) (hkB : k ≤ B) (hh : w * (k * (M - 1)) ≤ k * (N - 1) + w * ∑ j : Fin k, ↑j + (l * (M - 1) + w * ∑ j : Fin l, ↑j)) :
              (w - 1) * k < l
              theorem Complexity.RationalHitting.SmallExpansion.reduced_degree_bound {K : Type u_1} [Field K] {M N : ℕ} (U : Submodule (LaurentReduction.F K) (Fin M → LaurentReduction.F K)) (hU : ∀ x ∈ U, ∀ (j : Fin M), N ≤ ↑j → x j = 0) (f : Polynomial K) :
              theorem Complexity.RationalHitting.SmallExpansion.small_expansion {K : Type u_1} [Field K] [CharZero K] (w B M N : ℕ) (hw : 1 ≤ w) (hN : 1 ≤ N) (hMN : M = N + 2 * w ^ 3 * B) (points : Fin w → K) (hp : Function.Injective points) (U W : Submodule (LaurentReduction.F K) (Fin M → LaurentReduction.F K)) (hU : ∀ x ∈ U, ∀ (j : Fin M), N ≤ ↑j → x j = 0) (hW : ∀ (i : Fin w), Submodule.map (testMap M (points i)) U ≤ W) (hk : 1 ≤ Module.finrank (LaurentReduction.F K) ↥U) (hkB : Module.finrank (LaurentReduction.F K) ↥U ≤ B) :

              Small-subspace expansion in monomial coordinates in a common output space. The input subspace is restricted to degrees < N, not changed by padding.