Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Lemma 4.1, EC p. 6 — G is positive definite, Sherman–Morrison form of G⁻¹, and 1ᵀG⁻¹1 ≠ 0

Proved
SystemicHoldings.FEfficient.shockMoment_facts

by mikedeng1 · Oct 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

linear-algebrap2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1positive-definitesherman-morrison

Let K≥1K\ge 1K≥1, μ∈RK\mu\in\mathbb R^Kμ∈RK, and σ∈RK\sigma\in\mathbb R^Kσ∈RK with σk>0\sigma_k>0σk​>0 for all kkk. Let G=μμ⊤+Diag(σ2)G=\mu\mu^\top+\mathrm{Diag}(\sigma^2)G=μμ⊤+Diag(σ2) and write μ/σ2\mu/\sigma^2μ/σ2 and 1/σ21/\sigma^21/σ2 for the componentwise quotients. Then

  1. GGG is symmetric positive definite;
  2. its inverse is given by the Sherman–Morrison formula
G−1=Diag(1σ2)−μσ2(μσ2)⊤1+(μσ2)⊤μ;G^{-1} = \mathrm{Diag}\Big(\frac{1}{\sigma^2}\Big) - \frac{\frac{\mu}{\sigma^2}\big(\frac{\mu}{\sigma^2}\big)^\top}{1+\big(\frac{\mu}{\sigma^2}\big)^\top\mu};G−1=Diag(σ21​)−1+(σ2μ​)⊤μσ2μ​(σ2μ​)⊤​;
1K⊤G−11K=(1σ2)⊤1K−(1K⊤μσ2)21+(μσ2)⊤μ;\mathbf 1_K^\top G^{-1}\mathbf 1_K = \Big(\frac{1}{\sigma^2}\Big)^\top\mathbf 1_K - \frac{\big(\mathbf 1_K^\top \frac{\mu}{\sigma^2}\big)^2}{1+\big(\frac{\mu}{\sigma^2}\big)^\top\mu};1K⊤​G−11K​=(σ21​)⊤1K​−1+(σ2μ​)⊤μ(1K⊤​σ2μ​)2​;
  1. 1K⊤G−11K≠0\mathbf 1_K^\top G^{-1}\mathbf 1_K\neq 01K⊤​G−11K​=0.

These facts make the vector z=G−11Kz=G^{-1}\mathbf 1_Kz=G−11K​ and the scalar 1K⊤z\mathbf 1_K^\top z1K⊤​z in Lemma 4.1 well defined and nonzero, which every later formula divides by.

Formalization Note K≥1K\ge1K≥1 is added: for K=0K=0K=0 the sum 1K⊤G−11K\mathbf 1_K^\top G^{-1}\mathbf 1_K1K⊤​G−11K​ is empty and equals 000. Positive definiteness is Mathlib's Matrix.PosDef (which includes symmetry).

Preamble
import Mathlib
import Definitions.Def_SystemicHoldings_FEfficient_Model
Formal statement
namespace SystemicHoldings.FEfficient
open Matrix

theorem shockMoment_facts {K : ℕ} (hK : 1 ≤ K) (μ σ : Fin K → ℝ) (hσ : ∀ k, 0 < σ k) :
    (shockMoment μ σ).PosDef ∧
    (shockMoment μ σ)⁻¹ =
      diagonal (fun k => 1 / σ k ^ 2) -
        (1 / (1 + (fun k => μ k / σ k ^ 2) ⬝ᵥ μ)) •
          vecMulVec (fun k => μ k / σ k ^ 2) (fun k => μ k / σ k ^ 2) ∧
    (fun _ => (1 : ℝ)) ⬝ᵥ ((shockMoment μ σ)⁻¹ *ᵥ (fun _ => (1 : ℝ))) =
      (fun k => 1 / σ k ^ 2) ⬝ᵥ (fun _ => (1 : ℝ)) -
        ((fun _ => (1 : ℝ)) ⬝ᵥ (fun k => μ k / σ k ^ 2)) ^ 2 /
          (1 + (fun k => μ k / σ k ^ 2) ⬝ᵥ μ) ∧
    (fun _ => (1 : ℝ)) ⬝ᵥ ((shockMoment μ σ)⁻¹ *ᵥ (fun _ => (1 : ℝ))) ≠ 0 := by sorry

end SystemicHoldings.FEfficient
Source
Awiszus, Capponi & Weber, Market Efficient Portfolios in a Systemic Economy, arXiv:2003.10121v3, E-Companion p. 6 (PDF 36), proof of Lemma 4.1 (EC.1.3.2)
Human review
  • Endorsed by Shuze Chen · Oct 19, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 19, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me