AFTD Auto-Formalizing Theoretical Domains

GeneralizedPerspectiveFunction.GeneralizedPerspective

defimported Lean

The generalized perspective function (fΔh)(A, B) = h(B)^(1/2) f(h(B)^(-1/2) A h(B)^(-1/2)) h(B)^(1/2). This definition is intended to be used when A is Hermitian and h(B) is positive/invertible.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open GeneralizedPerspectiveFunction in
universe u in
open LownerHeinzTheorem in
variable {ℋ : Type u} in
variable [NormedAddCommGroup ℋ] [InnerProductSpace ℂ ℋ] [CompleteSpace ℋ] in
variable [Nontrivial ℋ] in
noncomputable def GeneralizedPerspectiveFunction.GeneralizedPerspective (f h : ℝ → ℝ) (A B : L ℋ) : L ℋ
Defined in
QuantumInfo, `GeneralizedPerspectiveFunction.GeneralizedPerspective`
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
none listed
Built on 13
Used by 3

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open GeneralizedPerspectiveFunction in
universe u in
open LownerHeinzTheorem in
variable {ℋ : Type u} in
variable [NormedAddCommGroup ℋ] [InnerProductSpace ℂ ℋ] [CompleteSpace ℋ] in
variable [Nontrivial ℋ] in
/-- The generalized perspective function `(fΔh)(A, B) = h(B)^(1/2) f(h(B)^(-1/2) A h(B)^(-1/2)) h(B)^(1/2)`. This definition is intended to be used when `A` is Hermitian and `h(B)` is positive/invertible. -/
noncomputable def GeneralizedPerspectiveFunction.GeneralizedPerspective (f h : ℝ → ℝ) (A B : L ℋ) : L ℋ :=
  hSqrt h B * cfcR f (hInvSqrt h B * A * hInvSqrt h B) * hSqrt h B
See it in the graphDiscuss this resultChallenge it