Trivariate Sheppard orthant formula and Gaussian reflection symmetry #
For unit vectors u, v, w in a finite-dimensional real inner product space E and a standard
Gaussian vector x ~ stdGaussian E, the trivariate positive orthant probability is
P(0 < ⟪u, x⟫ ∧ 0 < ⟪v, x⟫ ∧ 0 < ⟪w, x⟫)
= 1/2 - (arccos ⟪u, v⟫ + arccos ⟪u, w⟫ + arccos ⟪v, w⟫) / (4π).
The proof sums the open positive and closed negative orthants via the three-sign identity
1[p ∧ q ∧ r] + 1[¬p ∧ ¬q ∧ ¬r] = 1 - (1[p ≠ q] + 1[p ≠ r] + 1[q ≠ r]) / 2 and integrates
using ProbabilityTheory.measureReal_stdGaussian_zero_mem_uIoc_eq_arccos and reflection symmetry
x ↦ -x.
Adapted from the MIT-licensed Lean 4 companion of [Gas26]
(doi:10.5281/zenodo.23883489, module CubicPathwidth.C3.Sheppard), wired directly to the
library's bivariate Sheppard formula in
CslibFrontier.Foundations.Probability.Gaussian.Sheppard.
Main results #
Cslib.Circuits.Frontier.Switched.measure_neg_preimage_stdGaussian: reflection invariance ofstdGaussian E.Cslib.Circuits.Frontier.Switched.stdGaussian_inner_ne_zero_ae: a nonzero projection vanishes almost nowhere.Cslib.Circuits.Frontier.Switched.stdGaussian_real_pos_orthant_three: the trivariate orthant formula.
References #
Reflection invariance of the standard Gaussian measure under x ↦ -x.
Real-valued reflection invariance of stdGaussian E.
Under stdGaussian E, a nonzero linear projection vanishes with probability zero.
Almost surely under stdGaussian E, ⟪u, x⟫ ≠ 0 for any nonzero u.
Almost surely, ⟪u, x⟫ = 0 is impossible when ⟪u, u⟫ = 1.
Under stdGaussian E, a unit vector projects to gaussianReal 0 1.
The covariance of two linear projections under stdGaussian E equals their inner product.
Pairwise sign-disagreement probability for unit vectors, using the strict/non-strict sign
predicate 0 < ⟪u, x⟫.
Trivariate Sheppard orthant formula. For unit vectors u, v, w : E,
P(0 < ⟪u, x⟫ ∧ 0 < ⟪v, x⟫ ∧ 0 < ⟪w, x⟫) equals
1/2 - (arccos ⟪u, v⟫ + arccos ⟪u, w⟫ + arccos ⟪v, w⟫) / (4π).