NLA-lib Explorer

The projection of a uniform unit vector is Beta

Library · Result group

Theorem (hasLaw_norm_conjTranspose_mulVec_sq_of_hasLaw_uniformSphereVector). The projection of a uniform unit vector is Beta: for \mathbf{u} uniform on the unit sphere of \mathbb{R}^n (law uniformSphereVector n) and \mathbf{V} with k orthonormal columns, 0 < k < n, \|\mathbf{V}^{\mathsf{H}}\mathbf{u}\|^2 \sim \mathrm{Beta}\Big(\frac{k}{2}, \frac{n-k}{2}\Big)\,. No printed source.

Headline General form: sizes are index types

Lean statement and details
NLAlib.hasLaw_norm_conjTranspose_mulVec_sq_of_hasLaw_uniformSphereVector.{u_1, u_2, u_3}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} {k : Type u_3} [Fintype n]
  [Fintype k] [DecidableEq k] {u : Ω → n → ℝ} {V : Matrix n k ℝ}
  (hu : HasLaw u (uniformSphereVector n) μ) (hV : HasOrthonormalCols V) (hk : 0 < Fintype.card k)
  (hkn : Fintype.card k < Fintype.card n) :
  HasLaw (fun ω ↦ ‖WithLp.toLp 2 (Vᴴ *ᵥ u ω)‖ ^ 2)
    (betaMeasure (↑(Fintype.card k) / 2) ((↑(Fintype.card n) - ↑(Fintype.card k)) / 2)) μ

Full source on GitHub

Copy link

General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.