Laws of random vectors and random matrices
Library · Source module
Laws of random vectors and random matrices
Statements in NLAlib take a random variable X with Mathlib's HasLaw X ν μ, never a canonical measure space. "Independent coordinates with laws \nu_i" is the single hypothesis HasLaw X (Measure.pi ν) μ, and a random matrix with independent entries has the nested product law Measure.pi fun i => Measure.pi fun j => ν i j. This file takes those hypotheses apart into independence and marginals, and back, and transports integrability and MemLp along a law.
Main definitions
* NLAlib.iidSequence: the law of an i.i.d. sequence, the product measure Measure.infinitePi fun _ : ℕ => ν.
Main results
* NLAlib.hasLaw_pi_iff: a product law is independence plus marginals. * NLAlib.hasLaw_infinitePi_iff: the same for a countable family, which unfolds the i.i.d.-sequence hypothesis HasLaw ξ (NLAlib.iidSequence ν) μ. * ProbabilityTheory.HasLaw.comp_of_injective: finitely many distinct terms of an i.i.d. sequence have the product law. * ProbabilityTheory.HasLaw.eval, ProbabilityTheory.HasLaw.iIndepFun_eval: its two halves. * NLAlib.hasLaw_pi_pi_iff: the same for the entries of a random matrix, indexed by the product type m × n. * ProbabilityTheory.HasLaw.entry, ProbabilityTheory.HasLaw.iIndepFun_entry. * NLAlib.iIndepFun_row_of_iIndepFun_entry: independent entries give independent rows (Mathlib has the converse, ProbabilityTheory.iIndepFun_uncurry'). * ProbabilityTheory.HasLaw.integrable_comp_iff, ProbabilityTheory.HasLaw.memLp_comp_iff: integrability depends only on the law. (The bridge to IdentDistrib is Mathlib's ProbabilityTheory.HasLaw.identDistrib.)
Declarations
- NLAlib.hasLaw_infinitePi_iff
- NLAlib.hasLaw_pi_iff
- NLAlib.hasLaw_pi_pi_iff
- NLAlib.iIndepFun_row_of_iIndepFun_entry
- NLAlib.iidSequence
- NLAlib.measurePreserving_curry_pi
- ProbabilityTheory.HasLaw.comp_of_injective
- ProbabilityTheory.HasLaw.entry
- ProbabilityTheory.HasLaw.eval
- ProbabilityTheory.HasLaw.iIndepFun_entry
- ProbabilityTheory.HasLaw.iIndepFun_eval
- ProbabilityTheory.HasLaw.integrable_comp_iff
- ProbabilityTheory.HasLaw.memLp_comp_iff