Theorem 3.2.14: Bartlett's decomposition of
ProvedMuirheadMST.bartlett_decompositionLet . Let be a random upper-triangular matrix with independent entries: for , with a standard Gaussian vector in , so that ; and for . Then
Muirhead states the decomposition in the other direction: if and with upper triangular with positive diagonal, then the are independent with the laws above. The two directions are equivalent because a positive definite matrix has exactly one such factorization, depending measurably on the matrix, and is positive definite almost surely when . This statement uses the constructive direction because Mathlib has no Cholesky factorization; deducing the source's direction from it additionally requires that uniqueness and measurability fact.
Bartlett's decomposition reduces Wishart computations to independent chi-square and normal variables; for example is a product of independent variables.
Formalization Note Indices start at in Lean, so there. The entries are sampled as a full array of which only the entries above the diagonal are used.
import Mathlib import Definitions.Def_MuirheadMST_Wishart open MeasureTheory ProbabilityTheory
namespace MuirheadMST
theorem bartlett_decomposition (m n : ℕ) (hmn : m ≤ n) :
(bartlettLaw m n).map (fun ω j k => ∑ i, bartlettFactor ω i j * bartlettFactor ω i k) =
wishart m n 1 := by sorry
end MuirheadMSTRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be natural numbers (either may be ; no other hypotheses; is excluded).
Sample space and law. An outcome is with , (0-based indices; since the dimensions are all at least , so the natural-number subtraction never truncates), and an real array. Under the product measure, are independent of each other and of , each is standard Gaussian , and all entries are independent .
Triangular factor. (Euclidean norm) if , if , and if . So is upper triangular with nonnegative diagonal, and is the norm of independent coordinates, i.e. coordinates in 1-based row number . The entries with are unused.
Claim. The image of this law under , (that is, , transpose on the left), equals : the law of , , where the rows are independent standard Gaussian (Mathlib's multivariate Gaussian with covariance ).
Scope. Only covariance . Both sides are measures on all real arrays with the product Borel σ-algebra, and the claim is equality on every measurable set. Both maps are continuous, so the image measures are ordinary pushforwards.
Edge cases. : both sides are the unit point mass on the empty array. : the last diagonal entry is , the absolute value of one variable.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.