The cube of the second weighted moment is bounded by the first and fourth moments
ProvedPvsNP.second_moment_cube_le_first_sq_mul_fourthcomplexity-theoryformal-verification
For finitely many nonnegative values with nonnegative weights, the cube of the weighted second moment is at most the square of the weighted first moment times the weighted fourth moment.
Preamble
import Mathlib.Algebra.Order.BigOperators.Ring.Finset import Mathlib.Data.Real.Basic import Mathlib.Tactic.Ring set_option autoImplicit false
Formal statement
theorem PvsNP.second_moment_cube_le_first_sq_mul_fourth {Sample : Type*} (samples : Finset Sample)
(mass value : Sample → ℝ) (massNonneg : ∀ j ∈ samples, 0 ≤ mass j)
(valueNonneg : ∀ j ∈ samples, 0 ≤ value j) :
(∑ j ∈ samples, mass j * value j ^ 2) ^ 3 ≤
(∑ j ∈ samples, mass j * value j) ^ 2 * ∑ j ∈ samples, mass j * value j ^ 4 := by sorrySource
Moment inequality for square-root approximation of unobserved labels.