NLA-lib Explorer

NLAlib.uniformSphereVector_eq_map_toSphere

Library · theorem

The uniform law on the sphere is normalised surface measure: uniformSphereVector n is Mathlib's Measure.toSphere of the volume on EuclideanSpace ℝ n, normalised to mass one and pushed forward to n → ℝ. The bridge of docs/design/Mathlib-deviations.md entry 16. Needs nonempty n: for empty n the sphere is empty, while uniformSphereVector n is a point mass.

NLAlib.uniformSphereVector_eq_map_toSphere.{u_2} {n : Type u_2} [Fintype n] [Nonempty n] :
  uniformSphereVector n = Measure.map (fun x ↦ (↑x).ofLp) ((ℙ.toSphere Set.univ)⁻¹ • ℙ.toSphere)

Full source on GitHub

Import NLAlib.RandomMatrix.Haar.Uniqueness.