NLA-lib Explorer

Rademacher variables and vectors

Library · Source module

Rademacher variables and vectors

NLAlib.rademacherMeasure is the law of a random sign: \pm 1 with probability 1/2 each. NLAlib.rademacherVector n is the law of a vector of independent signs, an abbrev for the product. This file proves, for random variables with these laws, the interfaces and moments the probability layers use: proxy 1, X^2 = 1 almost surely, \mathbb{E}[X^4] = 1, the moment generating function \cosh, and isotropy of the vector. The law is symmetric, and flipping one coordinate of a vector of independent signs preserves its law: the symmetries behind the Rademacher moment recursion of the noncommutative Khintchine inequality (NLAlib/Probability/MatrixConcentration/Khintchine.lean). The symmetries are stated for the measures; statements with HasLaw ε (rademacherVector n) μ transport through integral_map.

NLAlib.integrable_rademacherMeasure and NLAlib.integral_rademacherMeasure are stated for the measure: they are its constructors (as Mathlib's integral_bernoulliMeasure is), from which the random-variable forms follow.

Main definitions

* NLAlib.rademacherMeasure, NLAlib.rademacherVector n.

Main results

* NLAlib.integral_rademacherMeasure: \int f = (f(1) + f(-1)) / 2. * NLAlib.hasSubgaussianMGF_of_hasLaw_rademacherMeasure: proxy 1. * NLAlib.isIsotropic_of_hasLaw_rademacherVector. * NLAlib.memLp_of_hasLaw_rademacherVector: the coordinates are in every L^p. * NLAlib.isIsotropic_ofReal_of_hasLaw_rademacherVector and its companions: the signs read in an RCLike field. * NLAlib.measurePreserving_neg_rademacherMeasure, NLAlib.measurePreserving_update_neg_rademacherVector: sign-flip symmetry.

Declarations