Documentation

Atlas.BooleanFunctions.code.InfluenceFourier

noncomputable def BooleanFourier.influenceReal {n : } (f : (Fin nBool)) (i : Fin n) :
Instances For
    theorem BooleanFourier.chi_flipAt_of_not_mem {n : } (S : Finset (Fin n)) (i : Fin n) (hi : iS) (x : Fin nBool) :
    chi S (flipAt i x) = chi S x
    theorem BooleanFourier.chi_mul_chi_eq {n : } (S S' : Finset (Fin n)) (x : Fin nBool) :
    chi S x * chi S' x = chi (symmDiff S S') x
    theorem BooleanFourier.sum_chi_mul_chi_x {n : } (S S' : Finset (Fin n)) :
    x : Fin nBool, chi S x * chi S' x = if S = S' then 2 ^ n else 0
    theorem BooleanFourier.influenceReal_eq_sum_fourierCoeff_sq {n : } (f : (Fin nBool)) (i : Fin n) :
    influenceReal f i = S : Finset (Fin n) with i S, fourierCoeff f S ^ 2
    noncomputable def BooleanFourier.totalInfluenceReal {n : } (f : (Fin nBool)) :
    Instances For
      noncomputable def BooleanFourier.varianceReal {n : } (f : (Fin nBool)) :
      Instances For
        theorem BooleanFourier.sq_eq_self_of_zero_one {n : } (f : (Fin nBool)) (hf : ∀ (x : Fin nBool), f x = 0 f x = 1) (x : Fin nBool) :
        f x ^ 2 = f x
        theorem BooleanFourier.varianceReal_eq_quarter_of_balanced {n : } (f : (Fin nBool)) (hf : ∀ (x : Fin nBool), f x = 0 f x = 1) (hbal : fourierCoeff f = 1 / 2) :
        varianceReal f = 1 / 4
        theorem BooleanFourier.totalInfluenceReal_ge_quarter_of_balanced {n : } (f : (Fin nBool)) (hf : ∀ (x : Fin nBool), f x = 0 f x = 1) (hbal : fourierCoeff f = 1 / 2) :