Documentation

LeanPool.PersistentSOS.MomentGeneral

Linear moment functionals and finite Gram forms #

A single exponent-indexed function supplies every occurrence of a monomial.

@[reducible, inline]

Exponent vectors of ordinary polynomials in fourteen variables.

Equations
Instances For

    A base - five key used only to index the explicit finite moment table.

    Equations
    Instances For
      @[simp]
      theorem PersistentSOS.exponentKey_single (i : Fin 14) (n : ℕ) :
      exponentKey (Finsupp.single i n) = n * 5 ^ ↑i

      Extend any moment table linearly to ordinary real multivariate polynomials.

      Equations
      Instances For
        @[simp]
        theorem PersistentSOS.momentLinearMap_monomial (m : ℕ → ℤ) (d : Exponent) (c : ℝ) :
        (momentLinearMap m) ((MvPolynomial.monomial d) c) = c * ↑(m (exponentKey d)) / 1000000000
        theorem PersistentSOS.block_nonneg {κ : Type u_1} [Fintype κ] (size : κ → ℕ) (A : (k : κ) → Fin (size k) → Fin (size k) → ℝ) (hA : ∀ (k : κ), IsPSD (A k)) (x : (k : κ) × Fin (size k) → ℝ) :
        0 ≤ ∑ k : κ, quadraticForm (A k) fun (i : Fin (size k)) => x ⟨k, i⟩

        A block - diagonal collection of nonnegative quadratic forms is nonnegative.