A planar covariance expressed by complex second moments
ProvedDerivativeChainContinuation.covariance_moment_formulacompression-deficitcontinuation-20261026derivative-chains
For a finite complex list , let be its mean squared norm and its mean square as a complex number. Its second-moment matrix is
For centered input this is the covariance matrix; the formula also covers the empty list using totalized division.
Preamble
import Mathlib import Definitions.Def_DerivativeChainContinuation_Covariance import Definitions.Def_DerivativeChainPrivate_foundations open DerivativeChainPrivate set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Polynomial Matrix open scoped BigOperators set_option maxHeartbeats 1000000
Formal statement
theorem DerivativeChainContinuation.covariance_moment_formula {n : ℕ} (a : Fin n → ℂ) :
covariance a =
!![(secondMoment a + (holomorphicMoment a).re)/2, (holomorphicMoment a).im/2;
(holomorphicMoment a).im/2, (secondMoment a - (holomorphicMoment a).re)/2] := by sorrySource