mathlib4 review helperopen PRs by @themathqueen on leanprover-community/mathlib4

← queue

#42805 feat(Analysis/InnerProductSpace): CFC for RCLike Hilbert spaces

blocked-by-other-PR merge-conflict t-analysis CI success

+782 −9 · 5 files · 13 commits · head 0ff91ff · updated 42 days ago · Files changed on GitHub

In plain words

Builds the continuous functional calculus for self-adjoint operators on a Hilbert space over or , including real Hilbert spaces. It reuses the C⋆-algebra CFC of the complexified operator on from #42744. For real , commutes with conjugation and with multiplication by , so it decomplexifies to an operator on . With this CFC available, StarOrder.lean can make StarOrderedRing (H →L[𝕜] H) an instance for every RCLike 𝕜, not only . The PR also proves that complexification commutes with cfc, cfcₙ, CFC.sqrt and CFC.abs. Its copy of Complexification/Basic.lean is an older revision of #42744: it lacks realLinearIsometryEquivComplex_apply/_symm_apply and TensorProduct.lean, so a rebase is needed.

Transcriptions are drafted with an LLM from the diff and are a reading aid, not a verified statement: the Lean code is the reference.

PR description

via complexification


![Open in Gitpod](gitpod.io/from-referrer/)

Conversation on GitHub 3
github-actions[bot] · comment · 2026-08-15
PR summary 0ff91ff69a

<details><summary>

Import changes for modified files

</summary>

Dependency changes

| File | Base Count | Head Count | Change | | --- | --- | --- | --- | | Mathlib.Analysis.InnerProductSpace.StarOrder | 2862 | 2867 | +5 (+0.17%) |

<details><summary>Import changes for all files</summary>

|Files|Import difference| |-|-| | Mathlib.Analysis.InnerProductSpace.StarOrder|5| | Mathlib.Analysis.InnerProductSpace.Complexification.Basic (new file)|2544| | Mathlib.Analysis.InnerProductSpace.Complexification.Transfers (new file)|2866|

</details>

</details>


<details><summary>

Declarations diff (regex)

</summary>

+ Complexification + I_smul + I_smul_mk + IsSelfAdjoint.norm_add_eq_max + _root_.Submodule.complexification + _root_.Submodule.exists_complexification_eq_iff + _root_.Submodule.mem_complexification + adjoint_toComplexification + bijective_toComplexification_iff + cfcHomAux + commute_cfcHom_toComplexification_algebraMapCLM_I + conj + conj_I_smul + conj_conj + conj_eq_self_iff + conj_mk + conjugate + conjugateStarAlgEquiv + conjugateStarAlgEquiv_comp_cfcHom_toComplexification + conjugate_adjoint + conjugate_cfcHom_toComplexification + conjugate_comp + conjugate_conjugate + conjugate_id + conjugate_mul + conjugate_one + conjugate_star + conjugate_toComplexification + continuous_im + continuous_mk + continuous_mk_zero_left + continuous_mk_zero_right + continuous_re + continuous_toComplexification + continuous_toComplexificationStarAlgHom + exists_toComplexification_eq_iff + ext + im + imL + im_add + im_inner + im_mk + im_neg + im_real_smul + im_smul + im_sub + im_zero + inclusion + injective_toComplexification_iff + inner_conj_conj + inner_conj_left + inner_conj_right + inner_def + instCFC + instInner + instInnerProductSpace + instIsometricCFC + instSMul + instance : Module ℂ (Complexification 𝕜 E) + instance : NormedSpace ℂ (Complexification 𝕜 E) where norm_smul_le z v := (norm_smul_eq z v).le + instance [NormedAddCommGroup E] : NormedAddCommGroup (Complexification 𝕜 E) + instance [NormedAddCommGroup E] [CompleteSpace E] : CompleteSpace (Complexification 𝕜 E) + instance [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E] (a : E →L[𝕜] E) : + isIdempotentElem_toComplexification_iff + isPositive_toComplexification_iff + isSelfAdjoint_toComplexification_iff + isStarNormal_toComplexification_iff + isStarProjection_toComplexification_iff + isUnit_toComplexification_iff + isometry_mk_zero_left + isometry_mk_zero_right + isometry_toComplexification + isometry_toComplexification_iff + ker_toComplexification + lipschitzWith_im + lipschitzWith_re + mk + mk_add_mk + mk_eq_add_I_smul + mk_re_im + mk_sub_mk + mk_zero_zero + neg_mk + norm_eq + norm_im_le + norm_mk_zero_left + norm_mk_zero_right + norm_re_le + norm_smul_eq + norm_sq_eq + ofComplexification + ofComplexification_id + ofComplexification_one + ofComplexification_toComplexification + ofComplexification_zero + opENorm_toComplexification + opNNNorm_toComplexification + opNorm_toComplexification + quasispectrum_toComplexification + quasispectrum_toComplexification_real + range_toComplexification + re + reL + re_add + re_inner + re_mk + re_neg + re_real_smul + re_smul + re_sub + re_zero + realLinearIsometryEquivComplex + restrictScalars_ofComplexification + smul_def + spectralRadius_toComplexification + spectrum_toComplexification + spectrum_toComplexification_real + star_toComplexification + surjective_toComplexification_iff + symm_conj + symm_conjugate + symm_conjugateStarAlgEquiv + toComplexification + toComplexificationStarAlgHom + toComplexification_abs + toComplexification_cfc + toComplexification_cfcHomAux + toComplexification_cfcₙ + toComplexification_comp + toComplexification_id + toComplexification_inj + toComplexification_injective + toComplexification_le_toComplexification_iff + toComplexification_mul + toComplexification_nonneg_iff + toComplexification_ofComplexification + toComplexification_one + toComplexification_sqrt - instStarOrderedRing <details> <summary>You can run this locally as follows</summary>

## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

</details>

The doc-module for scripts/pr_summary/declarations_diff.sh in the undefined repository contains some details about this script.

</details>

<details><summary>

Declarations diff (Lean)

</summary>

✅ Lean-aware diff — post-build, computed from the Lean environment (commit 0ff91ff).

  • +152 new declarations
  • −1 removed declarations
+Complexification
+Complexification.I_smul
+Complexification.I_smul_mk
+Complexification.conj
+Complexification.conj_I_smul
+Complexification.conj_apply
+Complexification.conj_conj
+Complexification.conj_eq_self_iff
+Complexification.conj_mk
+Complexification.continuous_im
+Complexification.continuous_mk
+Complexification.continuous_mk_zero_left
+Complexification.continuous_mk_zero_right
+Complexification.continuous_re
+Complexification.ext
+Complexification.ext_iff
+Complexification.im
+Complexification.imL
+Complexification.imL_apply
+Complexification.im_add
+Complexification.im_inner
+Complexification.im_mk
+Complexification.im_neg
+Complexification.im_real_smul
+Complexification.im_smul
+Complexification.im_sub
+Complexification.im_zero
+Complexification.inclusion
+Complexification.inclusion.congr_simp
+Complexification.inclusion_apply
+Complexification.inner_conj_conj
+Complexification.inner_conj_left
+Complexification.inner_conj_right
+Complexification.inner_def
+Complexification.instInner
+Complexification.instInnerProductSpace
+Complexification.instModuleComplex
+Complexification.instNormedSpaceComplex
+Complexification.instSMul
+Complexification.isometry_mk_zero_left
+Complexification.isometry_mk_zero_right
+Complexification.lipschitzWith_im
+Complexification.lipschitzWith_re
+Complexification.mk
+Complexification.mk_add_mk
+Complexification.mk_eq_add_I_smul
+Complexification.mk_re_im
+Complexification.mk_sub_mk
+Complexification.mk_zero_zero
+Complexification.neg_mk
+Complexification.norm_eq
+Complexification.norm_im_le
+Complexification.norm_mk_zero_left
+Complexification.norm_mk_zero_right
+Complexification.norm_re_le
+Complexification.norm_smul_eq
+Complexification.norm_sq_eq
+Complexification.re
+Complexification.reL
+Complexification.reL.congr_simp
+Complexification.reL_apply
+Complexification.re_add
+Complexification.re_inner
+Complexification.re_mk
+Complexification.re_neg
+Complexification.re_real_smul
+Complexification.re_smul
+Complexification.re_sub
+Complexification.re_zero
+Complexification.realLinearIsometryEquivComplex
+Complexification.smul_def
+Complexification.symm_conj
+ContinuousLinearEquiv.arrowCongrEquivₛₗ.congr_simp
+ContinuousLinearMap.IsSelfAdjoint.norm_add_eq_max
+ContinuousLinearMap.adjoint_toComplexification
+ContinuousLinearMap.bijective_toComplexification_iff
+ContinuousLinearMap.conjugate
+ContinuousLinearMap.conjugateStarAlgEquiv
+ContinuousLinearMap.conjugateStarAlgEquiv_apply
+ContinuousLinearMap.conjugateStarAlgEquiv_comp_cfcHom_toComplexification
+ContinuousLinearMap.conjugate_adjoint
+ContinuousLinearMap.conjugate_apply_apply
+ContinuousLinearMap.conjugate_cfcHom_toComplexification
+ContinuousLinearMap.conjugate_comp
+ContinuousLinearMap.conjugate_conjugate
+ContinuousLinearMap.conjugate_id
+ContinuousLinearMap.conjugate_mul
+ContinuousLinearMap.conjugate_one
+ContinuousLinearMap.conjugate_star
+ContinuousLinearMap.conjugate_toComplexification
+ContinuousLinearMap.continuous_toComplexification
+ContinuousLinearMap.continuous_toComplexificationStarAlgHom
+ContinuousLinearMap.exists_toComplexification_eq_iff
+ContinuousLinearMap.injective_toComplexification_iff
+ContinuousLinearMap.instCFC
+ContinuousLinearMap.instCompactSpaceElemRealSpectrumId
+ContinuousLinearMap.instIsometricCFC
-ContinuousLinearMap.instStarOrderedRing
+ContinuousLinearMap.isIdempotentElem_toComplexification_iff
+ContinuousLinearMap.isPositive_toComplexification_iff
+ContinuousLinearMap.isSelfAdjoint_toComplexification_iff
+ContinuousLinearMap.isStarNormal_toComplexification_iff
+ContinuousLinearMap.isStarProjection_toComplexification_iff
+ContinuousLinearMap.isUnit_toComplexification_iff
+ContinuousLinearMap.isometry_toComplexification
+ContinuousLinearMap.isometry_toComplexification_iff
+ContinuousLinearMap.ker_toComplexification
+ContinuousLinearMap.ofComplexification
+ContinuousLinearMap.ofComplexification.congr_simp
+ContinuousLinearMap.ofComplexification_apply
+ContinuousLinearMap.ofComplexification_id
+ContinuousLinearMap.ofComplexification_one
+ContinuousLinearMap.ofComplexification_toComplexification
+ContinuousLinearMap.ofComplexification_zero
+ContinuousLinearMap.opENorm_toComplexification
+ContinuousLinearMap.opNNNorm_toComplexification
+ContinuousLinearMap.opNorm_toComplexification
+ContinuousLinearMap.quasispectrum_toComplexification
+ContinuousLinearMap.quasispectrum_toComplexification_real
+ContinuousLinearMap.range_toComplexification
+ContinuousLinearMap.restrictScalars_ofComplexification
+ContinuousLinearMap.spectralRadius_toComplexification
+ContinuousLinearMap.spectrum_toComplexification
+ContinuousLinearMap.spectrum_toComplexification_real
+ContinuousLinearMap.star_toComplexification
+ContinuousLinearMap.surjective_toComplexification_iff
+ContinuousLinearMap.symm_conjugate
+ContinuousLinearMap.symm_conjugateStarAlgEquiv
+ContinuousLinearMap.toComplexification
+ContinuousLinearMap.toComplexificationStarAlgHom
+ContinuousLinearMap.toComplexificationStarAlgHom_apply
+ContinuousLinearMap.toComplexification_abs
+ContinuousLinearMap.toComplexification_apply_apply
+ContinuousLinearMap.toComplexification_cfc
+ContinuousLinearMap.toComplexification_cfcₙ
+ContinuousLinearMap.toComplexification_comp
+ContinuousLinearMap.toComplexification_id
+ContinuousLinearMap.toComplexification_inj
+ContinuousLinearMap.toComplexification_injective
+ContinuousLinearMap.toComplexification_le_toComplexification_iff
+ContinuousLinearMap.toComplexification_mul
+ContinuousLinearMap.toComplexification_nonneg_iff
+ContinuousLinearMap.toComplexification_ofComplexification
+ContinuousLinearMap.toComplexification_one
+ContinuousLinearMap.toComplexification_sqrt
+IsIdempotentElem.toComplexification
+IsSelfAdjoint.toComplexification
+IsStarNormal.toComplexification
+Submodule.complexification
+Submodule.exists_complexification_eq_iff
+Submodule.mem_complexification
+instCompleteSpaceComplexification
+instNormedAddCommGroupComplexification

</details>


No changes to strong technical debt.

No changes to weak technical debt.

Current commit 0ff91ff69a Reference commit 5642d94db3

This script lives in the undefined repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
mathlib-dependent-issues[bot] · comment · 2026-08-15

This PR/issue depends on:

  • leanprover-community/mathlib4#42744
  • leanprover-community/mathlib4#45280

By Dependent Issues (🤖). Happy coding!

mathlib-merge-conflicts[bot] · comment · 2026-10-09

This pull request has conflicts, please merge master and resolve them.

Mathlib.lean +2 −0

public import Mathlib.Analysis.InnerProductSpace.Calculus
2044public import Mathlib.Analysis.InnerProductSpace.CanonicalTensor
2045public import Mathlib.Analysis.InnerProductSpace.Coalgebra
2046public import Mathlib.Analysis.InnerProductSpace.Completion
2047public import Mathlib.Analysis.InnerProductSpace.Complexification.Basic
2048public import Mathlib.Analysis.InnerProductSpace.Complexification.Transfers
2049public import Mathlib.Analysis.InnerProductSpace.ConformalLinearMap
2050public import Mathlib.Analysis.InnerProductSpace.Continuous
2051public import Mathlib.Analysis.InnerProductSpace.Convex

Mathlib/Analysis/InnerProductSpace/Complexification/Basic.lean +587 −0 new file

1/-
2Copyright (c) 2026 Monica Omar. All rights reserved.
3Released under Apache 2.0 license as described in the file LICENSE.
4Authors: Monica Omar
5-/
6module
7
8public import Mathlib.Analysis.InnerProductSpace.Positive
9
10/-! # Complexification of inner product spaces
12In this file we define the complexification of an inner product space. So we can essentially
13extend a `𝕜`-space `E` to a `ℂ`-space `E × E`, and extend operators to its complexification
14in order to use `ℂ`-results. We call the first component the "real part" (`Complexification.re`)
15and the second the "imaginary part" (`Complexification.im`).
16This way, we can (informally) think of `(x, y) : Complexification 𝕜 E` as `x + I • y`.
18In particular, `ℂ`-scalar multiplication is given by
19`α • (x, y) = (ℜ α • x - ℑ α • y, ℜ α • y + ℑ α • x)`
20and the `ℂ`-inner product is given by
21`⟪(x, y), (z, w)⟫_ℂ = ℜ (⟪x, z⟫_𝕜 + ⟪y, w⟫_𝕜) + (ℜ (⟪x, w⟫_𝕜 - ⟪y, z⟫_𝕜)) * I`.
23## Main definitions and results
25* `Complexification.instSMul`: Complex scalar multiplication on complexifications.
26* `Complexification.instInnerProductSpace`: The complex inner product space on complexifications.
27* `Submodule.complexification`: The complexification of a submodule.
28* `Complexification.conj`: Conjugation on complexification, i.e., `(x, y) ↦ (x, -y)`.
29* `Complexification.realLinearIsometryEquivComplex`: The complexification of
30 `ℝ` is equivalent to `ℂ`.
31* `ContinuousLinearMap.toComplexification`: The complexification of an operator `T`, which is
32 defined as `x ↦ (T x.re, T x.im)`.
34## References
36[Steven Roman, *Advanced linear algebra*][roman_advanced_linear_algebra]
38-/
40public section
42open scoped InnerProductSpace
44set_option linter.unusedVariables false in
  • L44 A linter is switched off: worth a justification. guide
def Complexification newL45–47
45/-- The complexification of an inner product space.
46This is a type synonym of `WithLp 2 (E × E)`, with the same norm. -/
47@[expose, nolint unusedArguments] def Complexification (𝕜 E : Type*) : Type _ := WithLp 2 (E × E)
49variable {𝕜 E F G : Type*} {Eₗ Fₗ Gₗ : Type*}
50 [NormedAddCommGroup Eₗ] [NormedAddCommGroup Fₗ] [NormedAddCommGroup Gₗ]
51 [InnerProductSpace ℝ Eₗ] [InnerProductSpace ℝ Fₗ] [InnerProductSpace ℝ Gₗ]
instance (anonymous instance) newL53–54
53noncomputable instance [NormedAddCommGroup E] : NormedAddCommGroup (Complexification 𝕜 E) :=
54 inferInstanceAs (NormedAddCommGroup (WithLp 2 (E × E)))
instance (anonymous instance) newL56–57
56instance [NormedAddCommGroup E] [CompleteSpace E] : CompleteSpace (Complexification 𝕜 E) :=
57 inferInstanceAs (CompleteSpace (WithLp 2 (E × E)))
59namespace Complexification
def re newL61–62
61/-- The real part of the complexification (the first component of the complexification). -/
62@[expose] protected def re (v : Complexification 𝕜 E) : E := WithLp.fst v
def im newL64–65
64/-- The imaginary part of the complexification (the second component of the complexification). -/
65@[expose] protected def im (v : Complexification 𝕜 E) : E := WithLp.snd v
def mk newL67–68
67/-- Converting real and imaginary parts to the complexification. -/
68@[expose] def mk (𝕜 : Type*) (x y : E) : Complexification 𝕜 E := WithLp.toLp 2 (x, y)
lemma re_mk newL70–70
70@[simp] lemma re_mk (x y : E) : (mk 𝕜 x y).re = x := rfl
lemma im_mk newL71–71
71@[simp] lemma im_mk (x y : E) : (mk 𝕜 x y).im = y := rfl
lemma mk_re_im newL72–72
72@[simp] lemma mk_re_im (v : Complexification 𝕜 E) : mk 𝕜 v.re v.im = v := rfl
lemma ext newL74–75
74@[ext] lemma ext {v w : Complexification 𝕜 E} (h₁ : v.re = w.re) (h₂ : v.im = w.im) : v = w := by
75 rw [← mk_re_im v, ← mk_re_im w, h₁, h₂]
77variable [NormedAddCommGroup E]
lemma re_zero newL79–79
79@[simp] lemma re_zero : (0 : Complexification 𝕜 E).re = 0 := rfl
lemma im_zero newL80–80
80@[simp] lemma im_zero : (0 : Complexification 𝕜 E).im = 0 := rfl
lemma re_add newL81–81
81@[simp] lemma re_add (v w : Complexification 𝕜 E) : (v + w).re = v.re + w.re := rfl
lemma im_add newL82–82
82@[simp] lemma im_add (v w : Complexification 𝕜 E) : (v + w).im = v.im + w.im := rfl
lemma re_sub newL83–83
83@[simp] lemma re_sub (v w : Complexification 𝕜 E) : (v - w).re = v.re - w.re := rfl
lemma im_sub newL84–84
84@[simp] lemma im_sub (v w : Complexification 𝕜 E) : (v - w).im = v.im - w.im := rfl
lemma re_neg newL85–85
85@[simp] lemma re_neg (v : Complexification 𝕜 E) : (-v).re = -v.re := rfl
lemma im_neg newL86–86
86@[simp] lemma im_neg (v : Complexification 𝕜 E) : (-v).im = -v.im := rfl
lemma mk_zero_zero newL87–87
87@[simp] lemma mk_zero_zero : mk 𝕜 (0 : E) 0 = 0 := rfl
lemma neg_mk newL88–88
88@[simp] lemma neg_mk (x y : E) : -mk 𝕜 x y = mk 𝕜 (-x) (-y) := by ext <;> simp
lemma mk_add_mk newL90–91
90@[simp] lemma mk_add_mk (x y z w : E) : mk 𝕜 x y + mk 𝕜 z w = mk 𝕜 (x + z) (y + w) := by
91 ext <;> simp
lemma mk_sub_mk newL92–93
92@[simp] lemma mk_sub_mk (x y z w : E) : mk 𝕜 x y - mk 𝕜 z w = mk 𝕜 (x - z) (y - w) := by
93 simp [sub_eq_add_neg]
lemma norm_sq_eq newL95–96
95lemma norm_sq_eq (v : Complexification 𝕜 E) : ‖v‖ ^ 2 = ‖v.re‖ ^ 2 + ‖v.im‖ ^ 2 :=
96 WithLp.prod_norm_sq_eq_of_L2 v
lemma norm_eq newL97–98
97lemma norm_eq (v : Complexification 𝕜 E) : ‖v‖ = √(‖v.re‖ ^ 2 + ‖v.im‖ ^ 2) :=
98 WithLp.prod_norm_eq_of_L2 v
lemma norm_mk_zero_right newL100–100
100@[simp] lemma norm_mk_zero_right (x : E) : ‖mk 𝕜 x 0‖ = ‖x‖ := by simp [norm_eq]
lemma norm_mk_zero_left newL101–101
101@[simp] lemma norm_mk_zero_left (x : E) : ‖mk 𝕜 0 x‖ = ‖x‖ := by simp [norm_eq]
lemma norm_re_le newL103–105
103lemma norm_re_le (x : Complexification 𝕜 E) : ‖x.re‖ ≤ ‖x‖ := by
104 rw [norm_eq, Real.le_sqrt (norm_nonneg _) (by positivity)]
105 simp
lemma norm_im_le newL107–109
107lemma norm_im_le (x : Complexification 𝕜 E) : ‖x.im‖ ≤ ‖x‖ := by
108 rw [norm_eq, Real.le_sqrt (norm_nonneg _) (by positivity)]
109 simp
lemma lipschitzWith_re newL111–112
111lemma lipschitzWith_re : LipschitzWith 1 (Complexification.re (𝕜 := 𝕜) (E := E)) :=
112 .of_dist_le_mul fun v w ↦ by simpa [dist_eq_norm] using norm_re_le (v - w)
lemma lipschitzWith_im newL113–114
113lemma lipschitzWith_im : LipschitzWith 1 (Complexification.im (𝕜 := 𝕜) (E := E)) :=
114 .of_dist_le_mul fun v w ↦ by simpa [dist_eq_norm] using norm_im_le (v - w)
lemma continuous_re newL116–117
116@[fun_prop] lemma continuous_re : Continuous (Complexification.re (𝕜 := 𝕜) (E := E)) :=
117 lipschitzWith_re.continuous
lemma continuous_im newL118–119
118@[fun_prop] lemma continuous_im : Continuous (Complexification.im (𝕜 := 𝕜) (E := E)) :=
119 lipschitzWith_im.continuous
lemma isometry_mk_zero_right newL121–122
121lemma isometry_mk_zero_right : Isometry (mk 𝕜 · (0 : E)) :=
122 .of_dist_eq fun x y ↦ by simp [dist_eq_norm]
lemma isometry_mk_zero_left newL123–124
123lemma isometry_mk_zero_left : Isometry (mk 𝕜 (0 : E) ·) :=
124 .of_dist_eq fun x y ↦ by simp [dist_eq_norm]
lemma continuous_mk_zero_right newL126–127
126@[fun_prop] lemma continuous_mk_zero_right : Continuous (mk 𝕜 · (0 : E)) :=
127 isometry_mk_zero_right.continuous
lemma continuous_mk_zero_left newL128–129
128@[fun_prop] lemma continuous_mk_zero_left : Continuous (mk 𝕜 (0 : E) ·) :=
129 isometry_mk_zero_left.continuous
lemma continuous_mk newL130–132
130@[fun_prop] lemma continuous_mk : Continuous fun p : E × E ↦ mk 𝕜 p.1 p.2 := by
131 conv in mk 𝕜 _ _ => rw [show mk 𝕜 p.1 p.2 = mk 𝕜 p.1 0 + mk 𝕜 0 p.2 by simp]
132 fun_prop
134variable [RCLike 𝕜] [InnerProductSpace 𝕜 E]
instance instSMul newL136–137
136instance instSMul : SMul ℂ (Complexification 𝕜 E) where
137 smul z v := .mk 𝕜 ((z.re : 𝕜) • v.re - (z.im : 𝕜) • v.im) ((z.im : 𝕜) • v.re + (z.re : 𝕜) • v.im)
lemma smul_def newL139–141
139lemma smul_def (z : ℂ) (v : Complexification 𝕜 E) :
140 z • v = .mk 𝕜 ((z.re : 𝕜) • v.re - (z.im : 𝕜) • v.im) ((z.im : 𝕜) • v.re + (z.re : 𝕜) • v.im) :=
141 rfl
lemma re_smul newL143–144
143@[simp] lemma re_smul (z : ℂ) (v : Complexification 𝕜 E) :
144 (z • v).re = (z.re : 𝕜) • v.re - (z.im : 𝕜) • v.im := rfl
lemma im_smul newL145–146
145@[simp] lemma im_smul (z : ℂ) (v : Complexification 𝕜 E) :
146 (z • v).im = (z.im : 𝕜) • v.re + (z.re : 𝕜) • v.im := rfl
instance (anonymous instance) newL148–154
148instance : Module ℂ (Complexification 𝕜 E) where
149 one_smul _ := by ext <;> simp
150 mul_smul _ _ _ := by ext <;> simp <;> module
151 smul_zero _ := by ext <;> simp
152 smul_add _ _ _ := by ext <;> simp <;> grind
153 add_smul _ _ _ := by ext <;> simp <;> module
154 zero_smul _ := by ext <;> simp
lemma re_real_smul newL156–157
156@[simp] lemma re_real_smul (r : ℝ) (v : Complexification 𝕜 E) : (r • v).re = (r : 𝕜) • v.re := by
157 simp [RCLike.real_smul_eq_coe_smul (K := ℂ) r, -Complex.coe_smul]
lemma im_real_smul newL159–160
159@[simp] lemma im_real_smul (r : ℝ) (v : Complexification 𝕜 E) : (r • v).im = (r : 𝕜) • v.im := by
160 simp [RCLike.real_smul_eq_coe_smul (K := ℂ) r, -Complex.coe_smul]
lemma I_smul newL162–163
162@[simp] lemma I_smul (v : Complexification 𝕜 E) : Complex.I • v = mk 𝕜 (-v.im) v.re := by
163 ext <;> simp
lemma I_smul_mk newL165–165
165lemma I_smul_mk (x y : E) : Complex.I • (mk 𝕜 x y) = mk 𝕜 (-y) x := I_smul _
lemma mk_eq_add_I_smul newL167–168
167/-- `(x, y) = (x, 0) + I • (y, 0)`. -/
168lemma mk_eq_add_I_smul (x y : E) : mk 𝕜 x y = mk 𝕜 x 0 + Complex.I • mk 𝕜 y 0 := by simp
lemma norm_smul_eq newL170–176
170lemma norm_smul_eq (z : ℂ) (v : Complexification 𝕜 E) : ‖z • v‖ = ‖z‖ * ‖v‖ := by
171 rw [← sq_eq_sq₀ (norm_nonneg _) (by positivity)]
172 simp [mul_pow, norm_sq_eq, Complex.sq_norm, Complex.normSq_apply,
173 -inner_self_eq_norm_sq_to_K, ← inner_self_eq_norm_sq (𝕜 := 𝕜),
174 inner_sub_left, inner_sub_right, inner_add_left, inner_add_right,
175 inner_smul_left, inner_smul_right, inner_re_symm v.im v.re]
176 grind
instance (anonymous instance) newL178–178
178instance : NormedSpace ℂ (Complexification 𝕜 E) where norm_smul_le z v := (norm_smul_eq z v).le
180variable (𝕜 E) in
def reL newL181–185
181/-- The real part of a complexification of a real space as a real continuous linear map. -/
182@[expose, simps] def reL [Module ℝ E] [IsScalarTower ℝ 𝕜 E] : Complexification 𝕜 E →L[ℝ] E where
183 toFun x := x.re
184 map_add' := by simp
185 map_smul' := by simp
187variable (𝕜 E) in
def imL newL188–192
188/-- The imaginary part of a complexification of a real space as a real continuous linear map. -/
189@[expose, simps] def imL [Module ℝ E] [IsScalarTower ℝ 𝕜 E] : Complexification 𝕜 E →L[ℝ] E where
190 toFun x := x.im
191 map_add' := by simp
192 map_smul' := by simp
instance instInner newL194–196
194noncomputable instance instInner : Inner ℂ (Complexification 𝕜 E) where
195 inner v w := .mk (RCLike.re (⟪v.re, w.re⟫_𝕜 + ⟪v.im, w.im⟫_𝕜))
196 (RCLike.re (⟪v.re, w.im⟫_𝕜 - ⟪v.im, w.re⟫_𝕜))
lemma inner_def newL198–200
198lemma inner_def (v w : Complexification 𝕜 E) :
199 inner ℂ v w = RCLike.re (⟪v.re, w.re⟫_𝕜 + ⟪v.im, w.im⟫_𝕜) +
200 RCLike.re (⟪v.re, w.im⟫_𝕜 - ⟪v.im, w.re⟫_𝕜) * .I := by simp [inner, Complex.mk_eq_add_mul_I]
lemma re_inner newL202–203
202@[simp] lemma re_inner (v w : Complexification 𝕜 E) :
203 (⟪v, w⟫_ℂ).re = RCLike.re (⟪v.re, w.re⟫_𝕜 + ⟪v.im, w.im⟫_𝕜) := rfl
lemma im_inner newL204–205
204@[simp] lemma im_inner (v w : Complexification 𝕜 E) :
205 (⟪v, w⟫_ℂ).im = RCLike.re (⟪v.re, w.im⟫_𝕜 - ⟪v.im, w.re⟫_𝕜) := rfl
instance instInnerProductSpace newL207–212
207noncomputable instance instInnerProductSpace : InnerProductSpace ℂ (Complexification 𝕜 E) where
208 norm_sq_eq_re_inner v := by simp [norm_sq_eq, RCLike.re_to_complex]
209 conj_inner_symm _ _ := by simp [Complex.ext_iff, inner_re_symm]
210 add_left _ _ _ := by simp [Complex.ext_iff, inner_add_left]; grind
211 smul_left _ _ _ := by
212 simp [Complex.ext_iff, inner_sub_left, inner_add_left, inner_smul_left]; grind
214variable (𝕜 E) in
def conj newL215–223
215/-- Conjugation on the complexification space, given by `(x, y) ↦ (x, -y)`. -/
216@[expose, simps -isSimp apply] def conj : Complexification 𝕜 E ≃ₗᵢ⋆[ℂ] Complexification 𝕜 E where
217 toFun v := .mk 𝕜 v.re (-v.im)
218 invFun v := .mk 𝕜 v.re (-v.im)
219 map_add' := by simp [add_comm]
220 map_smul' _ _ := by ext <;> simp [RCLike.algebraMap_eq_ofReal, add_comm]
221 norm_map' := by simp [norm_eq]
222 left_inv _ := by simp
223 right_inv _ := by simp
lemma symm_conj newL225–225
225@[simp] lemma symm_conj : (conj 𝕜 E).symm = conj 𝕜 E := rfl
lemma conj_conj newL226–226
226@[simp] lemma conj_conj (x) : conj 𝕜 E (conj 𝕜 E x) = x := by simp [conj_apply]
lemma conj_mk newL227–227
227@[simp] lemma conj_mk (x y : E) : conj 𝕜 E (.mk 𝕜 x y) = .mk 𝕜 x (-y) := rfl
lemma conj_I_smul newL229–230
229lemma conj_I_smul (x) : conj 𝕜 E (Complex.I • x) = -Complex.I • conj 𝕜 E x := by
230 simp [conj_apply]
lemma inner_conj_conj newL232–233
232@[simp] lemma inner_conj_conj (x y) : inner ℂ (conj 𝕜 E x) (conj 𝕜 E y) = inner ℂ y x := by
233 simp [Complex.ext_iff, inner_re_symm, sub_eq_add_neg, add_comm, conj_apply]
lemma inner_conj_left newL235–236
235lemma inner_conj_left (x y) : inner ℂ (conj 𝕜 E x) y = inner ℂ (conj 𝕜 E y) x := by
236 simp [Complex.ext_iff, inner_re_symm, sub_eq_add_neg, add_comm, conj_apply]
lemma inner_conj_right newL238–239
238lemma inner_conj_right (x y) : inner ℂ x (conj 𝕜 E y) = inner ℂ y (conj 𝕜 E x) := by
239 rw [← inner_conj_symm, inner_conj_left]; simp
lemma conj_eq_self_iff newL241–244
241@[simp] lemma conj_eq_self_iff {x} : conj 𝕜 E x = x ↔ x.im = 0 := by
242 simp only [conj_apply, Complexification.ext_iff, re_mk, im_mk, true_and]
243 rw [eq_comm, ← sub_eq_zero]
244 simp [← two_smul 𝕜]
def realLinearIsometryEquivComplex newL246–257
246/-- The complexification of `ℝ` is equivalent to `ℂ`. -/
247def realLinearIsometryEquivComplex : Complexification ℝ ℝ ≃ₗᵢ[ℂ] ℂ where
248 toFun x := x.re + x.im * Complex.I
249 invFun x := .mk ℝ x.re x.im
250 map_add' _ _ := by simp [add_mul]; grind
251 map_smul' z _ := by
252 rw [← Complex.re_add_im z]
253 simp [add_mul, mul_add, -Complex.re_add_im, mul_mul_mul_comm _ Complex.I]
254 grind
255 norm_map' := by simp [norm_eq, Complex.norm_def, Complex.normSq, sq]
256 left_inv _ := by simp
257 right_inv _ := by simp
def _root_.Submodule.complexification newL259–265
259/-- Complexification of a submodule, i.e., `(a, b) ∈ K.complexification ↔ a ∈ K ∧ b ∈ K`. -/
260@[expose]
261def _root_.Submodule.complexification (K : Submodule 𝕜 E) : Submodule ℂ (Complexification 𝕜 E) where
262 carrier := { v | v.re ∈ K } ∩ { v | v.im ∈ K }
263 add_mem' := by aesop
264 zero_mem' := by simp
265 smul_mem' := by aesop
lemma _root_.Submodule.mem_complexification newL267–268
267@[simp] lemma _root_.Submodule.mem_complexification {K : Submodule 𝕜 E} (x : Complexification 𝕜 E) :
268 x ∈ K.complexification ↔ x.re ∈ K ∧ x.im ∈ K := by simp [Submodule.complexification]
270variable (𝕜 E) in
def inclusion newL271–278
271/-- The inclusion map of a real space into its complexification as a linear isometry, given by
272`x ↦ (x, 0)`. -/
273@[expose, simps] def inclusion [Module ℝ E] [IsScalarTower ℝ 𝕜 E] :
274 E →ₗᵢ[ℝ] Complexification 𝕜 E where
275 toFun x := .mk 𝕜 x 0
276 map_add' := by simp
277 map_smul' _ _ := by ext <;> simp
278 norm_map' := by simp
lemma _root_.Submodule.exists_complexification_eq_iff newL280–297
280/-- A submodule `U` over the complexificationn of a real space is a complexified submodule
281(i.e., there exists a real submodule `S` such that `S.complexification = U`)
282iff `U` is closed under conjugation.
284This is Chapter 1, Exercise 26 in [roman_advanced_linear_algebra]. -/
285lemma _root_.Submodule.exists_complexification_eq_iff (U : Submodule ℂ (Complexification ℝ Eₗ)) :
286 (∃ S : Submodule ℝ Eₗ, S.complexification = U) ↔ ∀ v ∈ U, conj ℝ Eₗ v ∈ U := by
287 refine ⟨fun ⟨S, hS⟩ v hv ↦ by simpa [← hS, conj_apply] using hv, fun h ↦ ?_⟩
288 refine ⟨(U.restrictScalars ℝ).comap (inclusion ℝ Eₗ).toLinearMap, Submodule.ext fun x ↦ ?_⟩
289 simp only [Submodule.mem_complexification, Submodule.mem_comap, LinearIsometry.coe_toLinearMap,
290 inclusion_apply, Submodule.restrictScalars_mem]
291 refine ⟨fun h2 ↦ ?_, fun h2 ↦ ⟨?_, ?_⟩⟩
292 · rw [← mk_re_im x, mk_eq_add_I_smul]
293 exact add_mem h2.1 (Submodule.smul_mem _ _ h2.2)
294 · convert Submodule.smul_mem _ (2 : ℂ)⁻¹ (add_mem h2 (h _ h2))
295 simp [conj_apply, Complexification.ext_iff, ← two_smul ℝ]
296 · convert Submodule.smul_mem _ (2 * Complex.I)⁻¹ (sub_mem h2 (h _ h2))
297 simp [Complexification.ext_iff, conj_apply, ← two_smul ℝ]
299end Complexification
301namespace ContinuousLinearMap
302variable [RCLike 𝕜]
303 [NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
304 [NormedAddCommGroup F] [InnerProductSpace 𝕜 F]
305 [NormedAddCommGroup G] [InnerProductSpace 𝕜 G]
307open Complexification
309-- do we want this for `LinearMap` as well?
def toComplexification newL310–318
310/-- Complexification of a continuous linear map between inner product spaces. -/
311@[expose, simps apply_apply] noncomputable def toComplexification :
312 (E →L[𝕜] F) →+ Complexification 𝕜 E →L[ℂ] Complexification 𝕜 F where
313 toFun T :=
314 { toFun v := .mk 𝕜 (T v.re) (T v.im)
315 map_add' _ _ := by ext <;> simp
316 map_smul' _ _ := by ext <;> simp }
317 map_add' _ _ := by ext <;> simp
318 map_zero' := by ext <;> simp
lemma toComplexification_id newL320–322
320@[simp] lemma toComplexification_id :
321 (ContinuousLinearMap.id 𝕜 E).toComplexification = .id ℂ (Complexification 𝕜 E) := by
322 ext <;> simp
lemma toComplexification_comp newL324–326
324@[simp] lemma toComplexification_comp (S : F →L[𝕜] G) (T : E →L[𝕜] F) :
325 (S.comp T).toComplexification = S.toComplexification.comp T.toComplexification := by
326 ext <;> simp
lemma toComplexification_one newL328–328
328@[simp] lemma toComplexification_one : (1 : E →L[𝕜] E).toComplexification = 1 := by ext <;> simp
lemma toComplexification_mul newL330–331
330@[simp] lemma toComplexification_mul (S T : E →L[𝕜] E) :
331 (S * T).toComplexification = S.toComplexification * T.toComplexification := by simp [mul_def]
lemma opNorm_toComplexification newL333–340
333@[simp] lemma opNorm_toComplexification (T : E →L[𝕜] F) : ‖T.toComplexification‖ = ‖T‖ := by
334 refine le_antisymm ((opNorm_le_iff (norm_nonneg _)).mpr fun _ ↦ ?_) ?_
335 · refine le_of_pow_le_pow_left₀ two_ne_zero (by positivity) ?_
336 simp only [mul_pow, norm_sq_eq, mul_add, toComplexification_apply_apply, re_mk, im_mk]
337 grw [T.le_opNorm, T.le_opNorm]
338 simp [mul_pow]
339 · refine opNorm_le_bound _ (norm_nonneg _) fun x ↦ ?_
340 simpa using T.toComplexification.le_opNorm (.mk 𝕜 x 0)
lemma opNNNorm_toComplexification newL342–343
342@[simp] lemma opNNNorm_toComplexification (T : E →L[𝕜] F) : ‖T.toComplexification‖₊ = ‖T‖₊ := by
343 ext; simp
lemma opENorm_toComplexification newL344–345
344@[simp] lemma opENorm_toComplexification (T : E →L[𝕜] F) : ‖T.toComplexification‖ₑ = ‖T‖ₑ := by
345 simp [enorm_eq_nnnorm]
lemma toComplexification_injective newL347–349
347lemma toComplexification_injective :
348 Function.Injective (toComplexification (𝕜 := 𝕜) (E := E) (F := F)) := fun S T h ↦ by
349 ext x; simpa using congr(($h (.mk 𝕜 x 0)).re)
lemma toComplexification_inj newL351–353
351@[simp] lemma toComplexification_inj {S T : E →L[𝕜] F} :
352 S.toComplexification = T.toComplexification ↔ S = T :=
353 toComplexification_injective.eq_iff
lemma isIdempotentElem_toComplexification_iff newL355–357
355@[simp] lemma isIdempotentElem_toComplexification_iff {S : E →L[𝕜] E} :
356 IsIdempotentElem S.toComplexification ↔ IsIdempotentElem S := by
357 simp [IsIdempotentElem, ← toComplexification_mul]
359alias ⟨_, _root_.IsIdempotentElem.toComplexification⟩ := isIdempotentElem_toComplexification_iff
lemma injective_toComplexification_iff newL361–368
361@[simp] lemma injective_toComplexification_iff {T : E →L[𝕜] F} :
362 Function.Injective T.toComplexification ↔ Function.Injective T := by
363 refine ⟨fun h x y hxy ↦ ?_, fun h x y hxy ↦ ?_⟩
364 · simpa using congr(($(h (a₁ := .mk 𝕜 x 0) (a₂ := .mk 𝕜 y 0)
365 (by ext <;> simp [hxy]))).re)
366 · have := by simpa [h.eq_iff] using congr(($hxy).re)
367 have := by simpa [h.eq_iff] using congr(($hxy).im)
368 simp_all [Complexification.ext_iff]
lemma surjective_toComplexification_iff newL370–377
370@[simp] lemma surjective_toComplexification_iff {T : E →L[𝕜] F} :
371 Function.Surjective T.toComplexification ↔ Function.Surjective T := by
372 refine ⟨fun h x ↦ ?_, fun h x ↦ ?_⟩
373 · obtain ⟨v, hv⟩ := h (.mk 𝕜 x 0)
374 exact ⟨v.re, by simpa using congr(($hv).re)⟩
375 · obtain ⟨v, hv⟩ := h x.re
376 obtain ⟨w, hw⟩ := h x.im
377 exact ⟨.mk 𝕜 v w, by simp [hv, hw]⟩
lemma bijective_toComplexification_iff newL379–381
379@[simp] lemma bijective_toComplexification_iff {T : E →L[𝕜] F} :
380 Function.Bijective T.toComplexification ↔ Function.Bijective T := by
381 simp [Function.Bijective]
lemma isometry_toComplexification newL383–384
383lemma isometry_toComplexification : Isometry (toComplexification (𝕜 := 𝕜) (E := E) (F := F)) :=
384 .of_dist_eq <| by simp [dist_eq_norm, ← map_sub]
lemma isometry_toComplexification_iff newL386–390
386@[simp] lemma isometry_toComplexification_iff {T : E →L[𝕜] F} :
387 Isometry T.toComplexification ↔ Isometry T := by
388 simp only [AddMonoidHomClass.isometry_iff_norm]
389 refine ⟨fun h x ↦ by simpa using h (.mk 𝕜 x 0), fun h v ↦ ?_⟩
390 simp [← sq_eq_sq₀, norm_sq_eq, h]
lemma continuous_toComplexification newL392–394
392@[fun_prop] lemma continuous_toComplexification :
393 Continuous (toComplexification (𝕜 := 𝕜) (E := E) (F := F)) :=
394 isometry_toComplexification.continuous
lemma ker_toComplexification newL396–398
396@[simp] lemma ker_toComplexification (T : E →L[𝕜] F) :
397 T.toComplexification.ker = T.ker.complexification := by
398 ext; simp [Complexification.ext_iff]
lemma range_toComplexification newL400–409
400@[simp] lemma range_toComplexification (T : E →L[𝕜] F) :
401 T.toComplexification.range = T.range.complexification := by
402 ext x
403 simp only [LinearMap.mem_range, coe_coe, toComplexification_apply_apply, Complexification.ext_iff,
404 re_mk, im_mk, Submodule.complexification, Submodule.mem_mk, AddSubmonoid.mem_mk,
405 AddSubsemigroup.mem_mk, Set.mem_inter_iff, Set.mem_ofPred_eq]
406 refine ⟨fun ⟨y, hy⟩ ↦ ?_, ?_⟩
407 · simp [← hy.1, ← hy.2]
408 simp only [and_imp, forall_exists_index]
409 exact fun y hy z hz ↦ ⟨.mk 𝕜 y z, by simp [hy, hz]⟩
def conjugate newL411–419
411/-- Conjugation of a complexified operator given by `T ↦ conj ∘ T ∘ conj`.
413An opeartor is equal to its conjugate iff it is a complexified operator
414(see `exists_toComplexification_eq_iff`). -/
415@[expose, simps! apply_apply] noncomputable def conjugate :
416 (Complexification 𝕜 E →L[ℂ] Complexification 𝕜 F) ≃ₗᵢ⋆[ℂ]
417 (Complexification 𝕜 E →L[ℂ] Complexification 𝕜 F) where
418 __ := (conj 𝕜 E).toContinuousLinearEquiv.arrowCongrEquivₛₗ (conj 𝕜 F).toContinuousLinearEquiv
419 norm_map' x := by simpa using! opNorm_comp_linearIsometryEquiv _ (conj 𝕜 E).symm
lemma conjugate_conjugate newL421–422
421@[simp] lemma conjugate_conjugate (T : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 F) :
422 T.conjugate.conjugate = T := by ext1; simp
lemma symm_conjugate newL424–424
424@[simp] lemma symm_conjugate : conjugate (𝕜 := 𝕜) (E := E) (F := F).symm = conjugate := rfl
lemma conjugate_id newL426–427
426@[simp] lemma conjugate_id :
427 (ContinuousLinearMap.id ℂ (Complexification 𝕜 E)).conjugate = .id ℂ _ := by ext1; simp
lemma conjugate_one newL429–430
429@[simp] lemma conjugate_one :
430 (1 : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 E).conjugate = 1 := conjugate_id
lemma conjugate_comp newL432–434
432@[simp] lemma conjugate_comp (S : Complexification 𝕜 F →L[ℂ] Complexification 𝕜 G)
433 (T : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 F) :
434 (S ∘SL T).conjugate = S.conjugate ∘SL T.conjugate := by ext1; simp
lemma conjugate_mul newL436–437
436@[simp] lemma conjugate_mul (S T : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 E) :
437 (S * T).conjugate = S.conjugate * T.conjugate := conjugate_comp _ _
lemma conjugate_toComplexification newL439–440
439@[simp] lemma conjugate_toComplexification (S : E →L[𝕜] F) :
440 S.toComplexification.conjugate = S.toComplexification := by ext1; simp [conj_apply]
def ofComplexification newL442–458
442/-- Decomplexifying an operator on complexifications given that it commutes with
443`(RCLike.I • 1).toComplexification`. -/
444@[expose, simps!]
445noncomputable def ofComplexification [Module ℝ E] [IsScalarTower ℝ 𝕜 E]
446 [NormedSpace ℝ F] [IsScalarTower ℝ 𝕜 F]
447 (T : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 F)
448 (hT : T ∘SL (algebraMapCLM 𝕜 (E →L[𝕜] E) RCLike.I).toComplexification =
449 (algebraMapCLM 𝕜 (F →L[𝕜] F) RCLike.I).toComplexification ∘SL T) :
450 E →L[𝕜] F :=
451 let S := reL 𝕜 F ∘SL T.restrictScalars ℝ ∘SL (inclusion 𝕜 E).toContinuousLinearMap
452 { __ := S.toAddMonoidHom
453 map_smul' a x := by
454 suffices ∀ x, S ((RCLike.I : 𝕜) • x) = (RCLike.I : 𝕜) • S x by
455 rw [← RCLike.re_add_im a, add_smul, mul_smul]
456 simp [this, -RCLike.re_add_im, add_smul, mul_smul]
457 intro x
458 simpa [S] using congr(($hT (.mk 𝕜 x 0)).re) }
lemma ofComplexification_zero newL460–463
460@[simp] lemma ofComplexification_zero [Module ℝ E] [IsScalarTower ℝ 𝕜 E]
461 [NormedSpace ℝ F] [IsScalarTower ℝ 𝕜 F] :
462 (0 : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 F).ofComplexification (by simp) = 0 := by
463 ext; simp
lemma ofComplexification_id newL465–468
465@[simp] lemma ofComplexification_id [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E] :
466 (.id ℂ _ : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 E).ofComplexification (by simp) =
467 .id _ _ := by
468 ext; simp
lemma ofComplexification_one newL470–473
470@[simp] lemma ofComplexification_one [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E] :
471 (1 : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 E).ofComplexification (by simp [one_def]) =
472 1 :=
473 ofComplexification_id
lemma ofComplexification_toComplexification newL475–478
475@[simp] lemma ofComplexification_toComplexification
476 [Module ℝ E] [NormedSpace ℝ F] [IsScalarTower ℝ 𝕜 E] [IsScalarTower ℝ 𝕜 F]
477 (T : E →L[𝕜] F) (h) :
478 T.toComplexification.ofComplexification h = T := by ext; simp
lemma restrictScalars_ofComplexification newL480–484
480@[simp] lemma restrictScalars_ofComplexification
481 [Module ℝ E] [NormedSpace ℝ F] [IsScalarTower ℝ 𝕜 E] [IsScalarTower ℝ 𝕜 F]
482 (T : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 F) (h) :
483 (T.ofComplexification h).restrictScalars ℝ =
484 reL 𝕜 F ∘SL T.restrictScalars ℝ ∘SL (inclusion 𝕜 E).toContinuousLinearMap := rfl
lemma toComplexification_ofComplexification newL486–502
486lemma toComplexification_ofComplexification
487 [Module ℝ E] [IsScalarTower ℝ 𝕜 E] [NormedSpace ℝ F] [IsScalarTower ℝ 𝕜 F]
488 {T : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 F}
489 (h : T ∘SL (algebraMapCLM 𝕜 (E →L[𝕜] E) RCLike.I).toComplexification =
490 (algebraMapCLM 𝕜 (F →L[𝕜] F) RCLike.I).toComplexification ∘SL T)
491 (hT : T.conjugate = T) :
492 (T.ofComplexification h).toComplexification = T := by
493 ext1 v
494 conv_rhs => rw [← mk_re_im v, mk_eq_add_I_smul]
495 simp only [map_add, map_smul]
496 have (x : E) : T (.mk 𝕜 x 0) = .mk 𝕜 (T (.mk 𝕜 x 0)).re 0 := by
497 refine Complexification.ext rfl ?_
498 rw [im_mk, ← conj_eq_self_iff]
499 conv_rhs => rw [← hT]
500 simp
501 simp +singlePass only [this]
502 ext <;> simp
lemma exists_toComplexification_eq_iff newL504–515
504/-- An operator `T` on a complexification space of a real space is a complexified operator
505(i.e., there exists a real operator `S` such that `S.toComplexification = T`) iff `T.conjugate = T`.
507This is Chapter 2, Exercise 32 in [roman_advanced_linear_algebra]. -/
508lemma exists_toComplexification_eq_iff
509 [Module ℝ E] [IsScalarTower ℝ 𝕜 E] [NormedSpace ℝ F] [IsScalarTower ℝ 𝕜 F]
510 {T : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 F} :
511 (∃ S : E →L[𝕜] F, S.toComplexification = T) ↔ T.conjugate = T ∧
512 T ∘SL (algebraMapCLM 𝕜 (E →L[𝕜] E) RCLike.I).toComplexification =
513 (algebraMapCLM 𝕜 (F →L[𝕜] F) RCLike.I).toComplexification ∘SL T := by
514 refine ⟨fun ⟨S, hS⟩ ↦ ?_, fun ⟨h1, h2⟩ ↦ ⟨_, toComplexification_ofComplexification h2 h1⟩⟩
515 simp [← hS, ContinuousLinearMap.ext_iff]
517variable [CompleteSpace E] [CompleteSpace F]
lemma adjoint_toComplexification newL519–521
519@[simp] lemma adjoint_toComplexification (T : E →L[𝕜] F) :
520 T.toComplexification.adjoint = T.adjoint.toComplexification := by
521 simp [eq_comm, eq_adjoint_iff, Complex.ext_iff, adjoint_inner_left]
lemma star_toComplexification newL523–525
523@[simp] lemma star_toComplexification (T : E →L[𝕜] E) :
524 star T.toComplexification = (star T).toComplexification :=
525 adjoint_toComplexification T
lemma isSelfAdjoint_toComplexification_iff newL527–528
527@[simp] lemma isSelfAdjoint_toComplexification_iff {T : E →L[𝕜] E} :
528 IsSelfAdjoint T.toComplexification ↔ IsSelfAdjoint T := by simp [isSelfAdjoint_iff]
530alias ⟨_, _root_.IsSelfAdjoint.toComplexification⟩ := isSelfAdjoint_toComplexification_iff
532attribute [aesop safe apply] IsSelfAdjoint.toComplexification
lemma isStarNormal_toComplexification_iff newL534–536
534@[simp] lemma isStarNormal_toComplexification_iff {T : E →L[𝕜] E} :
535 IsStarNormal T.toComplexification ↔ IsStarNormal T := by
536 simp [isStarNormal_iff, commute_iff_eq, ← toComplexification_mul]
538alias ⟨_, _root_.IsStarNormal.toComplexification⟩ := isStarNormal_toComplexification_iff
lemma isStarProjection_toComplexification_iff newL540–542
540@[simp] lemma isStarProjection_toComplexification_iff {T : E →L[𝕜] E} :
541 IsStarProjection T.toComplexification ↔ IsStarProjection T := by
542 simp [isStarProjection_iff]
lemma isUnit_toComplexification_iff newL544–545
544@[simp] lemma isUnit_toComplexification_iff {T : E →L[𝕜] E} :
545 IsUnit T.toComplexification ↔ IsUnit T := by simp [isUnit_iff_bijective]
lemma spectrum_toComplexification newL547–553
547@[simp] lemma spectrum_toComplexification (T : E →L[𝕜] E) :
548 spectrum ℝ T.toComplexification = algebraMap ℝ 𝕜 ⁻¹' spectrum 𝕜 T := by
549 ext r
550 simp only [spectrum.mem_iff, Set.mem_preimage, not_iff_not]
551 conv_rhs => rw [← isUnit_toComplexification_iff]
552 congr! 1
553 simp [Algebra.algebraMap_eq_smul_one, ContinuousLinearMap.ext_iff, Complexification.ext_iff]
lemma spectrum_toComplexification_real newL555–556
555lemma spectrum_toComplexification_real [Algebra ℝ (E →L[𝕜] E)] [IsScalarTower ℝ 𝕜 (E →L[𝕜] E)]
556 (T : E →L[𝕜] E) : spectrum ℝ T.toComplexification = spectrum ℝ T := by simp
lemma quasispectrum_toComplexification newL558–560
558@[simp] lemma quasispectrum_toComplexification (T : E →L[𝕜] E) :
559 quasispectrum ℝ T.toComplexification = algebraMap ℝ 𝕜 ⁻¹' quasispectrum 𝕜 T := by
560 simp [quasispectrum_eq_spectrum_union_zero, Set.ext_iff]
lemma quasispectrum_toComplexification_real newL562–564
562lemma quasispectrum_toComplexification_real [Algebra ℝ (E →L[𝕜] E)]
563 [IsScalarTower ℝ 𝕜 (E →L[𝕜] E)] (T : E →L[𝕜] E) :
564 quasispectrum ℝ T.toComplexification = quasispectrum ℝ T := by simp
lemma conjugate_adjoint newL566–568
566@[simp] lemma conjugate_adjoint (T : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 F) :
567 T.adjoint.conjugate = T.conjugate.adjoint := by
568 simp [eq_adjoint_iff, inner_conj_left (T.adjoint _), adjoint_inner_right, inner_conj_right (T _)]
lemma conjugate_star newL570–571
570@[simp] lemma conjugate_star (T : Complexification 𝕜 E →L[ℂ] Complexification 𝕜 E) :
571 (star T).conjugate = star T.conjugate := conjugate_adjoint _
lemma isPositive_toComplexification_iff newL573–579
573@[simp] lemma isPositive_toComplexification_iff {T : E →L[𝕜] E} :
574 T.toComplexification.IsPositive ↔ T.IsPositive := by
575 simp only [isPositive_def', isSelfAdjoint_toComplexification_iff, reApplyInnerSelf_apply,
576 toComplexification_apply_apply, RCLike.re_to_complex, re_inner, re_mk, im_mk, map_add,
577 and_congr_right_iff]
578 refine fun _ ↦ ⟨fun hT x ↦ ?_, fun hT x ↦ add_nonneg (hT x.re) (hT x.im)⟩
579 simpa using hT (.mk 𝕜 x 0)
lemma toComplexification_nonneg_iff newL581–582
581@[simp] lemma toComplexification_nonneg_iff {T : E →L[𝕜] E} :
582 0 ≤ T.toComplexification ↔ 0 ≤ T := by simp [nonneg_iff_isPositive]
lemma toComplexification_le_toComplexification_iff newL584–585
584@[simp] lemma toComplexification_le_toComplexification_iff {S T : E →L[𝕜] E} :
585 S.toComplexification ≤ T.toComplexification ↔ S ≤ T := by simp [le_def, ← map_sub]
587end ContinuousLinearMap

Mathlib/Analysis/InnerProductSpace/Complexification/Transfers.lean +172 −0 new file

1/-
2Copyright (c) 2026 Monica Omar. All rights reserved.
3Released under Apache 2.0 license as described in the file LICENSE.
4Authors: Monica Omar
5-/
6module
7
8public import Mathlib.Analysis.CStarAlgebra.ContinuousLinearMap
9public import Mathlib.Analysis.CStarAlgebra.Projection
10public import Mathlib.Analysis.InnerProductSpace.Complexification.Basic
12import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Commute
14/-! Transfering results from C⋆-algebras to `𝕜` Hilbert spaces via complexification
16In particular, we provide the continuous functional calculus for `E →L[𝕜] E`
17(see `ContinuousLinearMap.instCFC` and `ContinuousLinearMap.instIsometricCFC`). -/
19public section
21namespace ContinuousLinearMap
22variable {𝕜 E F : Type*} [RCLike 𝕜]
23 [NormedAddCommGroup E] [InnerProductSpace 𝕜 E] [CompleteSpace E]
24 [NormedAddCommGroup F] [InnerProductSpace 𝕜 F] [CompleteSpace F]
26open Complexification
lemma IsSelfAdjoint.norm_add_eq_max newL28–34
28protected lemma IsSelfAdjoint.norm_add_eq_max {S T : E →L[𝕜] E}
29 (hS : IsSelfAdjoint S) (hT : IsSelfAdjoint T) (h : S * T = 0) :
30 ‖S + T‖ = max ‖S‖ ‖T‖ := by
31 rw [← opNorm_toComplexification (S + T), map_add,
32 hS.toComplexification.norm_add_eq_max hT.toComplexification
33 (by simp [← toComplexification_mul, h])]
34 simp
def conjugateStarAlgEquiv newL36–43
36/-- `Complexification.conjugate` as a real star algebra equivalence. -/
37@[expose, simps! apply] noncomputable def conjugateStarAlgEquiv :
38 (Complexification 𝕜 E →L[ℂ] Complexification 𝕜 E) ≃⋆ₐ[ℝ]
39 (Complexification 𝕜 E →L[ℂ] Complexification 𝕜 E) where
40 __ := conjugate
41 map_mul' := by simp
42 map_star' := by simp
43 map_smul' _ _ := by ext <;> simp [conj_apply]
lemma symm_conjugateStarAlgEquiv newL45–46
45@[simp] lemma symm_conjugateStarAlgEquiv :
46 (conjugateStarAlgEquiv (𝕜 := 𝕜) (E := E)).symm = conjugateStarAlgEquiv := rfl
lemma conjugateStarAlgEquiv_comp_cfcHom_toComplexification newL48–56
48lemma conjugateStarAlgEquiv_comp_cfcHom_toComplexification {T : E →L[𝕜] E}
49 (hT : IsSelfAdjoint T) :
50 (conjugateStarAlgEquiv).toStarAlgHom.comp (cfcHom hT.toComplexification) =
51 cfcHom hT.toComplexification := by
52 refine symm <| cfcHom_eq_of_continuous_of_map_id hT.toComplexification _ ?_ ?_
53 · eta_expand
54 simp only [StarAlgHom.comp_apply, StarAlgEquiv.toStarAlgHom_apply, conjugateStarAlgEquiv_apply]
55 fun_prop
56 · simp [cfcHom_id hT.toComplexification]
theorem conjugate_cfcHom_toComplexification newL58–62
58theorem conjugate_cfcHom_toComplexification {T : E →L[𝕜] E} (hT : IsSelfAdjoint T)
59 (g : C(spectrum ℝ T.toComplexification, ℝ)) :
60 (cfcHom hT.toComplexification g).conjugate = cfcHom hT.toComplexification g := by
61 conv_lhs => rw [← conjugateStarAlgEquiv_comp_cfcHom_toComplexification hT]
62 simp
lemma commute_cfcHom_toComplexification_algebraMapCLM_I newL64–71
64private lemma commute_cfcHom_toComplexification_algebraMapCLM_I (T : E →L[𝕜] E)
65 (hT : IsSelfAdjoint T) (g : C(spectrum ℝ T.toComplexification, ℝ)) :
66 (cfcHom hT.toComplexification g) ∘SL
67 (algebraMapCLM 𝕜 (E →L[𝕜] E) RCLike.I).toComplexification =
68 (algebraMapCLM 𝕜 (E →L[𝕜] E) RCLike.I).toComplexification ∘SL
69 (cfcHom hT.toComplexification g) := by
70 refine hT.toComplexification.commute_cfcHom _ ?_ g
71 simp [commute_iff_eq, ContinuousLinearMap.ext_iff]
73attribute [local simp] toComplexification_ofComplexification conjugate_cfcHom_toComplexification in
def cfcHomAux newL74–86
74/-- The real star algebra homomorphism between `C(spectrum ℝ T.toComplexification, ℝ)` and
75`Eₗ →L[ℝ] Eₗ`.
76This is used in the continuous functional calculus. -/
77private noncomputable def cfcHomAux [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E] {T : E →L[𝕜] E}
78 (hT : IsSelfAdjoint T) : C(spectrum ℝ T.toComplexification, ℝ) →⋆ₐ[ℝ] (E →L[𝕜] E) where
79 toFun g := (cfcHom hT.toComplexification g).ofComplexification
80 (commute_cfcHom_toComplexification_algebraMapCLM_I _ hT _)
81 map_one' := by ext; simp
82 map_zero' := by ext; simp
83 map_add' _ _ := by ext; simp
84 map_mul' _ _ := by simp [← toComplexification_inj, hT]
85 map_star' _ := by simp [← toComplexification_inj, hT, ← star_toComplexification, ← map_star]
86 commutes' _ := by ext; simp [Algebra.algebraMap_eq_smul_one]
lemma toComplexification_cfcHomAux newL88–93
88private lemma toComplexification_cfcHomAux [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E]
89 {T : E →L[𝕜] E} (hT : IsSelfAdjoint T)
90 (g : C(spectrum ℝ T.toComplexification, ℝ)) :
91 (cfcHomAux hT g).toComplexification = cfcHom hT.toComplexification g := by
92 refine toComplexification_ofComplexification ?_ (conjugate_cfcHom_toComplexification hT g)
93 exact commute_cfcHom_toComplexification_algebraMapCLM_I T hT g
instance (anonymous instance) newL95–98
95instance [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E] (a : E →L[𝕜] E) :
96 CompactSpace ↑(spectrum ℝ a) := by
97 rw [← spectrum_toComplexification_real]
98 infer_instance
instance instCFC newL100–121
100instance instCFC [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E] :
101 ContinuousFunctionalCalculus ℝ (E →L[𝕜] E) IsSelfAdjoint where
102 predicate_zero := IsSelfAdjoint.zero _
103 spectrum_nonempty T hT := by
104 rw [← spectrum_toComplexification_real]
105 have : Nontrivial (Complexification 𝕜 E →L[ℂ] Complexification 𝕜 E) :=
106 toComplexification_injective.nontrivial
107 exact ContinuousFunctionalCalculus.spectrum_nonempty _ hT.toComplexification
108 exists_cfc_of_predicate T hT := by
109 rw [← spectrum_toComplexification_real]
110 refine ⟨cfcHomAux hT, ?_, fun x y hxy ↦ ?_, ?_, fun x ↦ ?_, fun x ↦ ?_⟩
111 · rw [isometry_toComplexification.isEmbedding.continuous_iff]
112 eta_expand
113 simp only [Function.comp_apply, toComplexification_cfcHomAux]
114 fun_prop
115 · rwa [← toComplexification_inj, toComplexification_cfcHomAux,
116 toComplexification_cfcHomAux, (cfcHom_injective hT.toComplexification).eq_iff] at hxy
117 · rw [← toComplexification_inj, toComplexification_cfcHomAux, cfcHom_id ..]
118 · rw [← spectrum_toComplexification_real, toComplexification_cfcHomAux]
119 exact cfcHom_map_spectrum ..
120 · rw [← isSelfAdjoint_toComplexification_iff, toComplexification_cfcHomAux]
121 exact cfcHom_predicate ..
lemma spectralRadius_toComplexification newL123–125
123lemma spectralRadius_toComplexification {T : E →L[𝕜] E} (hT : IsSelfAdjoint T) :
124 spectralRadius ℂ T.toComplexification = spectralRadius 𝕜 T := by
125 simp [hT.toComplexification.spectralRadius_eq_nnnorm, spectralRadius_eq_nnnorm _ hT]
instance instIsometricCFC newL127–136
127instance instIsometricCFC [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E] :
128 IsometricContinuousFunctionalCalculus ℝ (E →L[𝕜] E) IsSelfAdjoint where
129 isometric T hT := (AddMonoidHomClass.isometry_iff_norm _).mpr fun x ↦ by
130 suffices ‖cfcHom hT x‖₊ = ‖x‖₊ from congr($this)
131 have : IsSelfAdjoint (cfcHom hT x) := cfcHom_predicate ..
132 simp_rw [← ENNReal.coe_inj, ← spectralRadius_eq_nnnorm _ this,
133 ← spectralRadius_toComplexification this,
134 ← this.toComplexification.spectrumRestricts.spectralRadius_eq,
135 spectralRadius, ← enorm_eq_nnnorm, ContinuousMap.enorm_eq_iSup_enorm]
136 rw [← iSup_range, ← cfcHom_map_spectrum hT, spectrum_toComplexification_real]
138variable (𝕜 E) in
def toComplexificationStarAlgHom newL139–147
139/-- `toComplexification` as a star algebra homomorphism. -/
140@[expose, simps! apply] noncomputable def toComplexificationStarAlgHom
141 [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E] :
142 (E →L[𝕜] E) →⋆ₐ[ℝ] (Complexification 𝕜 E →L[ℂ] Complexification 𝕜 E) where
143 __ := toComplexification
144 map_one' := by simp
145 map_mul' := by simp
146 commutes' _ := by ext <;> simp
147 map_star' := by simp
lemma continuous_toComplexificationStarAlgHom newL149–150
149@[fun_prop] lemma continuous_toComplexificationStarAlgHom [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E] :
150 Continuous (toComplexificationStarAlgHom 𝕜 E) := continuous_toComplexification
152-- TODO: generalize `f : ℝ → ℝ` to any ring `R → R`?
lemma toComplexification_cfc newL153–159
153@[simp] lemma toComplexification_cfc [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E] (f : ℝ → ℝ)
154 (T : E →L[𝕜] E) : (cfc f T).toComplexification = cfc f T.toComplexification := by
155 by_cases hT : IsSelfAdjoint T
156 · by_cases hfT : ContinuousOn f (spectrum ℝ T)
157 · simpa using (toComplexificationStarAlgHom 𝕜 E).map_cfc f T
158 · simp [cfc_apply_of_not_continuousOn, hfT]
159 · simp [cfc_apply_of_not_predicate, hT]
161-- TODO: generalize `f : ℝ → ℝ` to any ring `R → R`?
lemma toComplexification_cfcₙ newL162–170
162@[simp] lemma toComplexification_cfcₙ [NormedSpace ℝ E] [IsScalarTower ℝ 𝕜 E] (f : ℝ → ℝ)
163 (T : E →L[𝕜] E) : (cfcₙ f T).toComplexification = cfcₙ f T.toComplexification := by
164 by_cases hf0 : f 0 = 0
165 · by_cases hT : IsSelfAdjoint T
166 · by_cases hf : ContinuousOn f (quasispectrum ℝ T)
167 · rw [cfcₙ_eq_cfc, cfcₙ_eq_cfc (hf := by simpa), toComplexification_cfc]
168 · simp [cfcₙ_apply_of_not_continuousOn, hf]
169 · simp [cfcₙ_apply_of_not_predicate, hT]
170 · simp [cfcₙ_apply_of_not_map_zero, hf0]
172end ContinuousLinearMap

Mathlib/Analysis/InnerProductSpace/StarOrder.lean +11 −9

Authors: Jireh Loreaux
5-/
6module
7
−public import Mathlib.Analysis.InnerProductSpace.Positive
8public import Mathlib.Analysis.InnerProductSpace.Complexification.Transfers
9public import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic
10public import Mathlib.Analysis.CStarAlgebra.ContinuousLinearMap
open RCLike
28open scoped NNReal
30variable {𝕜 H : Type*} [RCLike 𝕜] [NormedAddCommGroup H] [InnerProductSpace 𝕜 H] [CompleteSpace H]
−variable [Algebra ℝ (H →L[𝕜] H)] [IsScalarTower ℝ 𝕜 (H →L[𝕜] H)]
31variable [NormedSpace ℝ H] [IsScalarTower ℝ 𝕜 H]
33open scoped InnerProductSpace in
34lemma IsPositive.spectrumRestricts {f : H →L[𝕜] H} (hf : f.IsPositive) :
instance : NonnegSpectrumClass ℝ (H →L[𝕜] H) where
53 quasispectrum_nonneg_of_nonneg f hf :=
54 QuasispectrumRestricts.nnreal_iff.mp <| sub_zero f ▸ hf.spectrumRestricts
lemma instStarOrderedRingRCLike removedLundefined–undefined
−/-- Because this takes `ContinuousFunctionalCalculus ℝ (H →L[𝕜] H) IsSelfAdjoint` as an argument,
−and for the moment we only have this for `𝕜 := ℂ`, this is not registered as an instance. -/
−lemma instStarOrderedRingRCLike
− [ContinuousFunctionalCalculus ℝ (H →L[𝕜] H) IsSelfAdjoint] :
instance instStarOrderedRingRCLike changedL56–59
56instance instStarOrderedRingRCLike :
57 StarOrderedRing (H →L[𝕜] H) where
58 le_iff f g := by
59 constructor
lemma instStarOrderedRingRCLike
72 | zero => exact isPositive_zero
73 | add f g _ _ hf hg => exact hf.add hg
instance instStarOrderedRing removedLundefined–undefined
−instance instStarOrderedRing {H : Type*} [NormedAddCommGroup H]
− [InnerProductSpace ℂ H] [CompleteSpace H] : StarOrderedRing (H →L[ℂ] H) :=
− instStarOrderedRingRCLike
lemma toComplexification_sqrt newL75–79
75@[simp] lemma toComplexification_sqrt (T : H →L[𝕜] H) :
76 (CFC.sqrt T).toComplexification = CFC.sqrt T.toComplexification := by
77 by_cases h : 0 ≤ T
78 · rw [CFC.sqrt_eq_real_sqrt .., CFC.sqrt_eq_real_sqrt ..]; simp
79 · simp [CFC.sqrt_of_not_nonneg, h]
lemma toComplexification_abs newL81–82
81@[simp] lemma toComplexification_abs (T : H →L[𝕜] H) :
82 (CFC.abs T).toComplexification = CFC.abs T.toComplexification := by simp [CFC.abs]
84end ContinuousLinearMap

docs/references.bib +10 −0

@Book{ roigdomingues1992
5103 zbl = {0760.57001}
5106@Book{ roman_advanced_linear_algebra,
5107 author = {Roman, Steven},
5108 title = {Advanced linear algebra},
5109 series = {Graduate Texts in Mathematics},
5110 publisher = {Springer New York, NY},
5111 isbn = {978-0-387-72828-5},
5112 year = {2007},
5113 language = {English}
5116@Article{ rooij1970,
5117 title = {Non-Archimedean uniformities},
5118 author = {van Rooij, A. C. M.},
0/141 declarations checked

Your review, as Markdown

Paste it as a comment or a review on the PR. Line links to the head commit unfold into code snippets on GitHub.