Documentation

Complexitylib.BooleanAnalysis.PolynomialCorrelation.Internal.FiniteBound

The finite exponential correlation bound #

Applying the agreement estimate to p and p + 1 bounds both signs of the correlation. The error is the kth power of a single-block middle-band fraction.

theorem Complexity.BooleanAnalysis.PolynomialCorrelation.Internal.correlation_eq_card {α : Type u_1} [Fintype α] (f g : α → ZMod 2) :
correlation f g = |(2 * ↑(Nat.card { x : α // f x = g x }) - ↑(Nat.card α)) / ↑(Nat.card α)|