The exact rank-two compression update
DefinitionDerivativeChainContinuation_CompressionRankTwocontinuation-20261026derivative-chainsgeometric-budgets
Define the explicit two-column and two-row factors used to express the root-compression Gram matrix as a diagonal matrix plus a rank-two update. Their entries retain the source centroid sum and the exact factors ; no centering assumption is inserted.
Definition code
import Mathlib
import Definitions.Def_DerivativeChainPrivate_foundations
set_option autoImplicit false
set_option backward.isDefEq.respectTransparency false
set_option maxHeartbeats 1000000
namespace DerivativeChainContinuation
open Matrix
open scoped BigOperators
noncomputable def compressionUpdateLeft {n : ℕ} (a : Fin n → ℂ) : Matrix (Fin n) (Fin 2) ℂ :=
Matrix.of (fun i j => ![star (a i),star (a i)*a i] j)
noncomputable def compressionUpdateRight {n : ℕ} (a : Fin n → ℂ) : Matrix (Fin 2) (Fin n) ℂ :=
Matrix.of (fun j k => ![((∑ i,a i)/(n:ℂ)-a k)/(n:ℂ),-(n:ℂ)⁻¹] j)
end DerivativeChainContinuation
Source