NLA-lib Explorer

NLAlib.measurePreserving_update_neg_rademacherVector

Library · theorem

Flipping the sign of one coordinate of a vector of independent random signs preserves its law: \mathbf{x} \mapsto \mathbf{x} with \mathbf{x}_i replaced by -\mathbf{x}_i preserves rademacherVector n.

NLAlib.measurePreserving_update_neg_rademacherVector.{u_2} {n : Type u_2} [Fintype n]
  [DecidableEq n] (i : n) :
  MeasurePreserving (fun x ↦ Function.update x i (-x i)) (rademacherVector n) (rademacherVector n)

Full source on GitHub

Import NLAlib.Probability.Distributions.Rademacher.