Means over large windows #
The price argument of VP ≠ VNP over every field [Ant26] (module Nc.Cat.Mean)
averages functions on two sheets of ℤ² over windows: for
every n the window has two sheets (Bool), 0 ≤ i < n² and 0 ≤ k < n. A window function
f : WindowFn is one function f n for every n. Its mean is the limit of the means over the
n-th window along a fixed free ultrafilter (Mathlib's hyperfilter ℕ), which exists for bounded
functions. The result is a positive linear functional on bounded window functions that is
invariant under translations and satisfies the inequality of Cauchy and Schwarz.
Main definitions #
WindowFn,WindowFn.Bounded: window functions and the bounded ones.window n,windowAvg n f: then-th window and the mean over it (Finset.expect).WindowFn.mean,WindowFn.rms: the mean over large windows, and the root of the mean square.
Main results #
WindowFn.mean_add,WindowFn.mean_smul,WindowFn.mean_const,WindowFn.mean_mono: linearity and positivity.WindowFn.mean_shift: invariance under translations.WindowFn.mean_steps,WindowFn.le_mean_tele: telescoping sums of differences.WindowFn.mean_mul_le,WindowFn.rms_add_le: the inequalities of Cauchy–Schwarz and Minkowski.
Functions on two sheets of ℤ², one for every window size n.
The mean over the n-th window, as Finset.expect.
Bounded window functions.
The mean of a window function over large windows: the limit of the window means along
hyperfilter ℕ. For bounded functions the limit exists (WindowFn.tendsto_mean).
Translations #
A telescoping sum: the mean of the scaled differences n² (F(i+1) − F(i)) is at least
c₀/2 when the differences across the window, summed over both sheets, are eventually at least
c n → c₀.
Cauchy and Schwarz #
The root of the mean square.