The integrated all-pairs inequality #
Let f be a real function on the cube with a row a x at every point x, and let w > 0.
Integrating the all-pairs inequality at the level t (level_allPairs) over all real t
(level_integration) gives the integrated all-pairs inequality (Proposition 7.4 of the paper):
∑_{(x,y) : f y < f x} (f x - f y)^3 / (6 s_xy) ≤ 4^(n-1) ∑_j L_j / w_j,
s_xy = ∑_{j ∈ Δ(x,y)} w_j a^x_j a^y_j, L_j = meanAbsIncr f j = E_x |f x - f (x^j)|.
Level.integrated_core— the form that comes out of the integration;Level.integrated_four_mul— multiplied by4, so that4^nappears;integratedAllPairs_of_allPairs : AllPairsInequality → IntegratedAllPairsInequality— with4^(n-1)as printed above (forn = 0both sides are0).
The denominators are positive: Level.pairSum_pos in Level/AllPairs.lean.
The integrated all-pairs inequality, in the form that comes out of the integration over the level.
The integrated all-pairs inequality, multiplied by 4: for a real function f on the cube,
rows a x of f and weights w > 0,
4 ∑_{(x,y) : f y < f x} (f x - f y)^3 / (6 ∑_{j ∈ Δ(x,y)} w_j a^x_j a^y_j) ≤ 4^n ∑_j L_j / w_j,
where L_j = meanAbsIncr f j = E_x |f x - f (x^j)|.
The integrated all-pairs inequality (Proposition 7.4 of the paper) from the all-pairs inequality for Boolean functions (Proposition 5.2).