LownerHeinzCore.one_div_operatorConvexOn_Ioi
theoremverifiedformalizationimported Lean
LownerHeinzCore.one_div_operatorConvexOn_Ioi
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open LownerHeinzCore in universe u v in open CFC in variable {π : Type u} in variable [CStarAlgebra π] [PartialOrder π] [StarOrderedRing π] in variable [Nontrivial π] in variable [NonnegSpectrumClass β π] in theorem LownerHeinzCore.one_div_operatorConvexOn_Ioi : OperatorConvexOn (π := π) (Set.Ioi (0 : β)) (fun x : β β¦ 1 / x)
- Formalizes
- QuantumInfo, `LownerHeinzCore.one_div_operatorConvexOn_Ioi`
- Lean proof
- By Kei Tsukamoto, Kento Mori, Hayata Yamasaki, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2026 Hayata Yamasaki. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.LownerHeinzCore.one_div_operatorConvexOn_Ioi← LownerHeinzCore.one_div_operatorConvexOn_Ioi (QuantumInfo/ForMathlib/HayataGroup/TraceInequality/LownerHeinzCore.lean:330): verbatim
- Verified
- 17 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- LownerHeinzCore.spectrum_convexCombo_IoiLownerHeinzCore.spectrum_convexCombo_Ioi
- LownerHeinzCore.posSemidef_block_one_invLownerHeinzCore.posSemidef_block_one_inv
- LownerHeinzCore.OperatorConvexOnFixed-space operator convexity on
sfor the ambient algebraπ. - LownerHeinzCore.schur_conj_eq_diagonalLownerHeinzCore.schur_conj_eq_diagonal
- LownerHeinzCore.cfcRLownerHeinzCore.cfcR
- LinearPMap.IsSelfAdjoint.smulLinearPMap.IsSelfAdjoint.smul
- Used by 1
- LownerHeinzCore.one_div_add_t_operatorConvexOn_IciLownerHeinzCore.one_div_add_t_operatorConvexOn_Ici
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open LownerHeinzCore in universe u v in open CFC in variable {π : Type u} in variable [CStarAlgebra π] [PartialOrder π] [StarOrderedRing π] in variable [Nontrivial π] in variable [NonnegSpectrumClass β π] in theorem LownerHeinzCore.one_div_operatorConvexOn_Ioi : OperatorConvexOn (π := π) (Set.Ioi (0 : β)) (fun x : β β¦ 1 / x) := by dsimp [OperatorConvexOn] intro A B t hA hB ht0 ht1 As Bs -- rewrite `1/x` as `xβ»ΒΉ` simp only [one_div] set C : π := (1 - t) β’ A + t β’ B have hC : IsSelfAdjoint C := by simpa [C] using (IsSelfAdjoint.all (1 - t)).smul hA |>.add ((IsSelfAdjoint.all t).smul hB) have specC : spectrum β C β Set.Ioi (0 : β) := by simpa [C] using spectrum_convexCombo_Ioi (A := A) (B := B) (t := t) hA hB ht0 ht1 As Bs set invA : π := cfcR (fun x : β β¦ xβ»ΒΉ) A set invB : π := cfcR (fun x : β β¦ xβ»ΒΉ) B set invC : π := cfcR (fun x : β β¦ xβ»ΒΉ) C set D : π := (1 - t) β’ invA + t β’ invB let M_A : Matrix (Fin 2) (Fin 2) (π) := !![A, 1; 1, invA] let M_B : Matrix (Fin 2) (Fin 2) (π) := !![B, 1; 1, invB] let M : Matrix (Fin 2) (Fin 2) (π) := (1 - t) β’ M_A + t β’ M_B have posA : Matrix.PosSemidef M_A := by simpa [M_A, invA] using posSemidef_block_one_inv (A := A) hA As have posB : Matrix.PosSemidef M_B := by simpa [M_B, invB] using posSemidef_block_one_inv (A := B) hB Bs have posM : Matrix.PosSemidef M := by simpa [M] using Matrix.PosSemidef.add (Matrix.PosSemidef.smul (x := M_A) (a := (1 - t)) posA (sub_nonneg.mpr ht1)) (Matrix.PosSemidef.smul (x := M_B) (a := t) posB ht0) have hM : M = !![C, 1; 1, D] := by ext i j fin_cases i <;> fin_cases j Β· simp [M, M_A, M_B, C] Β· have h1 : (1 - t) β’ (1 : π) + t β’ (1 : π) = (1 : π) := by calc (1 - t) β’ (1 : π) + t β’ (1 : π) = ((1 - t) + t) β’ (1 : π) := by simpa using (add_smul (1 - t) t (1 : π)).symm _ = (1 : π) := by simp [sub_add_cancel] simp [M, M_A, M_B, h1] Β· have h1 : (1 - t) β’ (1 : π) + t β’ (1 : π) = (1 : π) := by calc (1 - t) β’ (1 : π) + t β’ (1 : π) = ((1 - t) + t) β’ (1 : π) := by simpa using (add_smul (1 - t) t (1 : π)).symm _ = (1 : π) := by simp [sub_add_cancel] simp [M, M_A, M_B, h1] Β· simp [M, M_A, M_B, D] let U : Matrix (Fin 2) (Fin 2) (π) := !![(1 : π), -invC; 0, 1] have hU : IsUnit U := by let V : Matrix (Fin 2) (Fin 2) (π) := !![(1 : π), invC; 0, 1] refine β¨β¨U, V, ?_, ?_β©, rflβ© Β· dsimp [U, V] simp [Matrix.one_fin_two] Β· dsimp [U, V] simp [Matrix.one_fin_two] have hconj : star U * (!![C, 1; 1, D] : Matrix (Fin 2) (Fin 2) (π)) * U = Matrix.diagonal (fun i : Fin 2 => if i = 0 then C else D - invC) := by have hInvC_sa : IsSelfAdjoint invC := by dsimp [invC, cfcR] exact cfc_predicate _ _ have hcont_inv : ContinuousOn (fun x : β β¦ xβ»ΒΉ) (spectrum β C) := fun x hx => (continuousAt_invβ (ne_of_gt (specC hx))).continuousWithinAt have invC_mul_C : invC * C = (1 : π) := by dsimp [invC, cfcR] have hmul : cfcR (fun x : β β¦ xβ»ΒΉ) C * C = cfcR (fun x : β β¦ xβ»ΒΉ * x) C := by simpa [cfc_id' (R := β) (a := C) (ha := hC)] using (cfc_mul (fun x : β β¦ xβ»ΒΉ) (fun x : β β¦ x) C hcont_inv continuousOn_id).symm rw [hmul, β cfc_const_one β C] apply cfc_congr intro x hx have hxne : x β 0 := ne_of_gt (specC hx) simp [hxne] have C_mul_invC : C * invC = (1 : π) := by dsimp [invC, cfcR] have hmul : C * cfcR (fun x : β β¦ xβ»ΒΉ) C = cfcR (fun x : β β¦ x * xβ»ΒΉ) C := by simpa [cfc_id' (R := β) (a := C) (ha := hC)] using (cfc_mul (fun x : β β¦ x) (fun x : β β¦ xβ»ΒΉ) C continuousOn_id hcont_inv).symm rw [hmul, β cfc_const_one β C] apply cfc_congr intro x hx have hxne : x β 0 := ne_of_gt (specC hx) simp [hxne] simpa [U] using schur_conj_eq_diagonal (C := C) (D := D) (invC := invC) hInvC_sa invC_mul_C C_mul_invC have posDiag : Matrix.PosSemidef (Matrix.diagonal (fun i : Fin 2 => if i = 0 then C else D - invC)) := by have posConj : Matrix.PosSemidef (star U * M * U) := by simpa [Matrix.star_eq_conjTranspose] using (posM.conjTranspose_mul_mul_same U) have posConj' : Matrix.PosSemidef (star U * (!![C, 1; 1, D] : Matrix (Fin 2) (Fin 2) π) * U) := by -- rewrite the middle block matrix as `M` rw [β hM] exact posConj -- rewrite the goal using the computed conjugation rw [β hconj] exact posConj' have hinvC : invC β€ D := by have hDinvC : 0 β€ D - invC := by simpa using (Matrix.posSemidef_diagonal_iff (R := π) (d := fun i : Fin 2 => if i = 0 then C else D - invC)).1 posDiag (1 : Fin 2) exact le_of_sub_nonneg hDinvC exact hinvC