NLA-lib Explorer

NLAlib.measurePreserving_curry_pi

Library · theorem

Currying is measure preserving from the product law on the index type m × n to the nested product law on matrices. This is the step that reads a random matrix with independent entries as a random vector indexed by m × n (through its inverse, Function.uncurry), and back.

NLAlib.measurePreserving_curry_pi.{u_2, u_3, u_4} {m : Type u_2} {n : Type u_3} {α : Type u_4}
  [Fintype m] [Fintype n] [MeasurableSpace α] {ν : m → n → Measure α}
  [∀ (i : m) (j : n), IsProbabilityMeasure (ν i j)] :
  MeasurePreserving (⇑(MeasurableEquiv.curry m n α)) (Measure.pi fun p ↦ ν p.1 p.2)
    (Measure.pi fun i ↦ Measure.pi fun j ↦ ν i j)

Full source on GitHub

Import NLAlib.Probability.Law.