The exact absolute first moment of a biased Fourier character
ProvedNarrowDNF.Fourier.character_abs_meancombinatoricsnarrow-dnf-authors-importprobabilitystoc-2027
Let be finite, , and . For with independent Bernoulli- coordinates, use the normalized character
Then
The support subset is represented by a Boolean mask in the formal statement, with degree . This computes the precise first absolute moment of the orthonormal basis function and supplies the factor needed for a safe Fourier coefficient bound at arbitrary bias.
Preamble
import Mathlib.Algebra.BigOperators.GroupWithZero.Finset
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Algebra.Order.BigOperators.Group.Finset
import Mathlib.Algebra.Order.BigOperators.Ring.Finset
import Mathlib.Analysis.SpecialFunctions.Sqrt
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Fintype.Pi
import Mathlib.Data.Real.Basic
import Mathlib.Logic.Equiv.Prod
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
import Definitions.Def_NarrowDNF_Fourier
import Definitions.Def_NarrowDNF_Influence
import Definitions.Def_NarrowDNF_ProductMeasure
namespace NarrowDNF.FiberShift
end NarrowDNF.FiberShift
namespace NarrowDNF.Fourier
end NarrowDNF.Fourier
namespace NarrowDNF.Influence
end NarrowDNF.Influence
namespace NarrowDNF.ProductMeasure
end NarrowDNF.ProductMeasure
noncomputable section
open scoped BigOperators
open NarrowDNF
open NarrowDNF.Fourier
section Cube
variable {ι : Type*} [Fintype ι] [DecidableEq ι]
Formal statement
theorem NarrowDNF.Fourier.character_abs_mean {p : ℝ} (hp0 : 0 < p) (hp1 : p < 1) (s : ι → Bool) :
ProductMeasure.expectation p (fun x => |character p s x|) =
(2 * Real.sqrt (p * (1-p))) ^ degree s := by sorrySource