Documentation

CslibFrontier.Computability.Circuit.Frontier.Layouts.Switched.Sheppard

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 #

References #

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.

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π).