Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A positive-semidefinite perturbation cannot decrease a positive-definite determinant

Proved
EulerMascheroni.Hankel.det_le_det_add_smul_posSemidef

by shivm · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

euler-mascheroniirrationalitylinear-algebra

Let RRR be a real positive-definite n×nn\times nn×n matrix, SSS positive semidefinite, and g>0g>0g>0. Then

det⁡R  ≤  det⁡(R+gS).\det R\;\le\;\det(R+gS).detR≤det(R+gS).

Proof sketch. Write R+gS=R1/2(I+gR−1/2SR−1/2)R1/2R+gS=R^{1/2}\bigl(I+gR^{-1/2}SR^{-1/2}\bigr)R^{1/2}R+gS=R1/2(I+gR−1/2SR−1/2)R1/2. The middle factor is III plus a positive-semidefinite matrix, so each of its eigenvalues is at least 111 and its determinant is at least 111; multiplying by det⁡R\det RdetR gives the claim.

Why this matters for Euler's constant. It obstructs the most natural attempt at EulerMascheroni.Hankel.gamma_affine_hankel_data. That node asks for affine Hankel data (ai+j+bi+jX)(a_{i+j}+b_{i+j}X)(ai+j​+bi+j​X) which is positive definite at X=γX=\gammaX=γ and whose determinant is eventually smaller than e−cn2e^{-cn^2}e−cn2 after clearing denominators. The only ansatz making positive definiteness automatic is μ=ν+γλ\mu=\nu+\gamma\lambdaμ=ν+γλ with ν,λ\nu,\lambdaν,λ positive measures, giving R,SR,SR,S both positive semidefinite moment matrices. The inequality above then forces det⁡(R+γS)≥det⁡R\det(R+\gamma S)\ge\det Rdet(R+γS)≥detR, and since mdet⁡Rm\det RmdetR is a nonzero integer whenever mmm clears the denominators, the cleared form has absolute value at least 111 and cannot tend to zero. Hence any solution of that node must use an indefinite γ\gammaγ-part.

Preamble
import Mathlib
Formal statement
theorem EulerMascheroni.Hankel.det_le_det_add_smul_posSemidef {n : ℕ}
    (R S : Matrix (Fin n) (Fin n) ℝ) (hR : R.PosDef) (hS : S.PosSemidef)
    (g : ℝ) (hg : 0 < g) :
    R.det ≤ (R + g • S).det := by
  sorry
Source
Standard consequence of the congruence R + gS = R^{1/2}(I + g R^{-1/2} S R^{-1/2}) R^{1/2}; recorded as an obstruction for EulerMascheroni.Hankel.gamma_affine_hankel_data.

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