Trust checks for the Gaussian model integral #
- Known value (
gauss_one_sq): forA = 1the theorem gives the standard Gaussian onℝⁿ,(∫ e^{-|x|²/2} dx)² = (2π)ⁿ. - Independent cross-check (
gauss_diagonal_mathlib): for diagonalA = diag(b)withRe bᵢ > 0, the identityG(A)² det A = (2π)ⁿis proved a second time from Mathlib's product formulaintegral_cexp_neg_sum_mul_add, without the Schur-complement induction. - Non-vacuity with a complex matrix (
gauss_two_complex):A = [[1, i], [i, 2]], withdet A = 3, satisfies the hypotheses and givesG(A)² = (2π)² / 3. - Wrong input (
integral_gauss_sq_mul_det_needs_symm): the non-symmetricB = [[1, 1], [-1, 1]]has the quadratic form of the identity, soG(B) = 2πbutdet B = 2. The identity fails, and the symmetry hypothesis cannot be dropped. - Wrong constant (
gauss_one_sq_ne_pi):(2π)ⁿcannot be replaced byπⁿ.
For the branch, integral_gauss_eq_invSqrtDet:
- Known value (
integral_gauss_one):G(1) = (2π)^{n/2}, sinceinvSqrtDet 1 = 1. - Independent cross-check, branch included (
gauss_diagonal_branch_mathlib): for every diagonalA = diag(b)withRe bᵢ > 0,G(A) = (2π)^{n/2} invSqrtDet Ais proved a second time from Mathlib's product formula, without the path argument. This coversA = (1 + 2i) · I₃, where the principal root ofdet Afails. - Wrong branch (
cpow_det_diagonal_wrong_branch,integral_gauss_principal_det_fails): forA = (1 + 2i) · I₃the principal root ofdet Agives(det A)^{-1/2} = -invSqrtDet A, so the formulaG(A) = (2π)^{3/2} (det A)^{-1/2}is false for a symmetricAwith positive definite real part. - Wrong constant (
integral_gauss_eq_invSqrtDet_wrong_constant):(2π)^{n/2}cannot be replaced byπ^{n/2}.
Independent cross-check for diagonal matrices: G(diag b)² · det (diag b) = (2π)ⁿ for
Re bᵢ > 0, proved from Mathlib's product formula integral_cexp_neg_sum_mul_add and not from
integral_gauss_sq_mul_det.
The complex example A = [[1, i], [i, 2]] (det A = 3) satisfies the hypotheses of
integral_gauss_sq_mul_det, which gives G(A)² = (2π)² / 3.
The non-symmetric matrix [[1, 1], [-1, 1]] has the quadratic form of the identity.
Wrong input: for the non-symmetric B = [[1, 1], [-1, 1]], G(B)² det B = 2 (2π)², twice
the value (2π)² of integral_gauss_sq_mul_det.
The symmetry hypothesis of integral_gauss_sq_mul_det cannot be dropped: without it the
identity fails for [[1, 1], [-1, 1]], which satisfies the positivity hypothesis.
The branch: trust checks for integral_gauss_eq_invSqrtDet #
invSqrtDet 1 = 1: every eigenvalue of the identity is 1.
Independent cross-check of integral_gauss_eq_invSqrtDet for diagonal matrices, branch
included: G(diag b) = (2π)^{n/2} invSqrtDet (diag b) for Re bᵢ > 0, proved from Mathlib's
product formula and not from the path argument.
Wrong branch. For A = (1 + 2i) · I₃, the principal root of det A gives the negative
of invSqrtDet A: (det A)^{-1/2} = -invSqrtDet A. With integral_gauss_eq_invSqrtDet, the
"formula" (2π)^{3/2} (det A)^{-1/2} therefore equals -G(A). The eigenvalue arguments sum to
3 arctan 2 > π.
Wrong branch, integral form. The principal root of the determinant does not give the
Gaussian integral: G(A) = (2π)^{3/2} (det A)^{-1/2} fails for A = (1 + 2i) · I₃, which is
symmetric with positive definite real part. There (2π)^{3/2} (det A)^{-1/2} = -G(A) ≠ G(A).
Wrong constant: (2π)^{n/2} in integral_gauss_eq_invSqrtDet cannot be replaced by
π^{n/2}; already for n = 1 and A = 1 this would give 2π = π.