AFTD Auto-Formalizing Theoretical Domains

GeneralizedPerspectiveFunction.conj_le_conj

theoremverifiedformalizationimported Lean

GeneralizedPerspectiveFunction.conj_le_conj

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
universe u in
open LownerHeinzTheorem in
variable {ℋ : Type u} in
variable [NormedAddCommGroup ℋ] [InnerProductSpace ℂ ℋ] [CompleteSpace ℋ] in
variable [Nontrivial ℋ] in
omit [Nontrivial ℋ] in
lemma GeneralizedPerspectiveFunction.conj_le_conj {X Y T : L ℋ} (hXY : X ≤ Y) (hT : IsSelfAdjoint T) :
    T * X * T ≤ T * Y * T
Formalizes
QuantumInfo, `GeneralizedPerspectiveFunction.conj_le_conj`
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.
Verified
17 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 10
Used by 1

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
universe u in
open LownerHeinzTheorem in
variable {ℋ : Type u} in
variable [NormedAddCommGroup ℋ] [InnerProductSpace ℂ ℋ] [CompleteSpace ℋ] in
variable [Nontrivial ℋ] in
omit [Nontrivial ℋ] in
lemma GeneralizedPerspectiveFunction.conj_le_conj {X Y T : L ℋ} (hXY : X ≤ Y) (hT : IsSelfAdjoint T) :
    T * X * T ≤ T * Y * T := by
  have hnonneg : 0 ≤ Y - X := sub_nonneg.mpr hXY
  have hconj : 0 ≤ T * (Y - X) * T := by
    simpa using hT.conjugate_nonneg hnonneg
  have hsub : T * (Y - X) * T = T * Y * T - T * X * T := by
    simp [sub_eq_add_neg, mul_add, add_mul, mul_assoc]
  exact sub_nonneg.mp (by simpa [hsub] using hconj)
See it in the graphDiscuss this resultChallenge it