Exact source: MathlibAnnex/Analysis/InnerProductSpace/UnitaryCompletion.lean
Pinned GitHub source Β· Raw UTF-8 source
Back to Reconstructing a represented unitary from its shells and residual corner
1import MathlibAnnex.Analysis.InnerProductSpace.ProjectionShell23/-!4# Exact unitary completion from finite defect relations56A fixed unitary conjugating every finite defect projection conjugates the7limiting defect projections. If its complementary finite pieces converge8strongly to `S`, the remaining corner `V = U P` completes `S` exactly.9-/1011set_option autoImplicit false1213open Filter Topology14open scoped InnerProduct1516namespace ContinuousLinearMap1718variable {π E F : Type*}19variable [RCLike π]20variable [NormedAddCommGroup E] [InnerProductSpace π E] [CompleteSpace E]21variable [NormedAddCommGroup F] [InnerProductSpace π F] [CompleteSpace F]2223/-- Termwise shell relations sum to the corresponding finite relation. -/24theorem comp_partialSum_eq_of_comp_eq25 (e : E βL[π] F) (D : β β E βL[π] E) (W : β β E βL[π] F)26 (h : β n, e.comp (D n) = W n) (N : β) :27 e.comp (partialSum D N) = partialSum W N := by28 ext x29 simp only [partialSum, map_sum, sum_apply,30 ContinuousLinearMap.comp_apply]31 apply Finset.sum_congr rfl32 intro n hn33 exact congrArg (fun T : E βL[π] F β¦ T x) (h n)3435/-- Termwise shells plus a finite telescoping identity give the finite36complement relation consumed by `unitaryCompletion_of_finite_relations`. -/37theorem comp_complement_eq_partialSum_of_shells38 (e : E βL[π] F) (D : β β E βL[π] E) (W : β β E βL[π] F)39 (U : β β Submodule π E) [β N, (U N).HasOrthogonalProjection]40 (hshell : β n, e.comp (D n) = W n)41 (htelescope : β N, partialSum D N = 1 - (U N).starProjection) :42 β N, e.comp (1 - (U N).starProjection) = partialSum W N := by43 intro N44 rw [β htelescope]45 exact comp_partialSum_eq_of_comp_eq e D W hshell N4647/-- If a unitary's complementary corner has the prescribed final defect product,48then it conjugates the remaining projection onto the remaining final projection. -/49theorem unitary_conjugacy_of_complement_product50 (e : E ββα΅’[π] F) (P : E βL[π] E) (Q : F βL[π] F)51 (A : E βL[π] F)52 (hPadj : Pβ = P) (hPidem : P.comp P = P)53 (hA : (e : E βL[π] F).comp (1 - P) = A)54 (hprod : A.comp (Aβ ) = 1 - Q) :55 ((e : E βL[π] F).comp P).comp ((e : E βL[π] F)β ) = Q := by56 have hAadj : Aβ = (1 - P).comp ((e : E βL[π] F)β ) := by57 have h := congrArg (fun T : E βL[π] F β¦ Tβ ) hA58 simpa [adjoint_comp, map_sub, hPadj] using h.symm59 have hPapply : β x, P (P x) = P x := by60 intro x61 exact congrArg (fun T : E βL[π] E β¦ T x) hPidem62 have hcompApply : β x, (1 - P) ((1 - P) x) = (1 - P) x := by63 intro x64 simp [hPapply]65 ext y66 have hprodApply := congrArg (fun T : F βL[π] F β¦ T y) hprod67 change A ((Aβ ) y) = y - Q y at hprodApply68 rw [hAadj] at hprodApply69 change A ((1 - P) (((e : E βL[π] F)β ) y)) = y - Q y at hprodApply70 have hAApply : β x, A x = e ((1 - P) x) := by71 intro x72 exact (congrArg (fun T : E βL[π] F β¦ T x) hA).symm73 rw [hAApply, hcompApply] at hprodApply74 change e (P (((e : E βL[π] F)β ) y)) = Q y75 have heApply : e (((e : E βL[π] F)β ) y) = y := by76 rw [e.adjoint_eq_symm]77 exact e.apply_symm_apply y78 have hdecomp : e ((1 - P) (((e : E βL[π] F)β ) y)) =79 e (((e : E βL[π] F)β ) y) - e (P (((e : E βL[π] F)β ) y)) := by80 simp81 rw [hdecomp, heApply] at hprodApply82 exact sub_right_inj.mp hprodApply8384/-- The raw termwise unitary shell relation and the two shell support identities85imply every finite unitary conjugacy relation. -/86theorem unitary_starProjection_conjugacy_of_projectionShells87 (e : E ββα΅’[π] F) (W : β β E βL[π] F)88 (U : β β Submodule π E) (V : β β Submodule π F)89 [β n, (U n).HasOrthogonalProjection]90 [β n, (V n).HasOrthogonalProjection]91 (hU : Antitone U) (hV : Antitone V)92 (hU0 : U 0 = β€) (hV0 : V 0 = β€)93 (hInitial : β n, ((W n)β ).comp (W n) = Submodule.projectionShell U n)94 (hFinal : β n, (W n).comp ((W n)β ) = Submodule.projectionShell V n)95 (hUnitary : β n, (e : E βL[π] F).comp (Submodule.projectionShell U n) = W n) :96 β N, ((e : E βL[π] F).comp (U N).starProjection).comp97 ((e : E βL[π] F)β ) = (V N).starProjection := by98 intro N99 have hi := pairwiseInitialOrthogonal_of_projectionShells W U hU hInitial100 have hfiniteComplement : (e : E βL[π] F).comp (1 - (U N).starProjection) =101 partialSum W N :=102 comp_complement_eq_partialSum_of_shells (e : E βL[π] F)103 (Submodule.projectionShell U) W U hUnitary104 (Submodule.partialSum_projectionShell U hU0) N105 have hfiniteProduct : (partialSum W N).comp106 (partialSum (fun n β¦ (W n)β ) N) = 1 - (V N).starProjection := by107 rw [partialSum_comp_adjoint_partialSum_eq W (Submodule.projectionShell V) hi hFinal,108 Submodule.partialSum_projectionShell V hV0]109 have hpartialAdjoint : (partialSum W N)β = partialSum (fun n β¦ (W n)β ) N := by110 exact (partialSum_adjoint W N).symm111 apply unitary_conjugacy_of_complement_product e (U N).starProjection112 (V N).starProjection (partialSum W N)113 Β· exact (U N).starProjection_isSymmetric.clm_adjoint_eq114 Β· exact (U N).isIdempotentElem_starProjection115 Β· exact hfiniteComplement116 Β· rwa [hpartialAdjoint]117118/-- Exact completion of a strong shell limit by the limiting defect corner.119The two finite hypotheses are precisely the finite complement and finite120conjugacy relations; all asserted limiting and corner identities are proved. -/121theorem unitaryCompletion_of_finite_relations122 (e : E ββα΅’[π] F) (A : β β E βL[π] F) (S : E βL[π] F)123 (U : β β Submodule π E) (V : β β Submodule π F)124 [β N, (U N).HasOrthogonalProjection]125 [β N, (V N).HasOrthogonalProjection]126 [(β¨ N, U N).HasOrthogonalProjection]127 [(β¨ N, V N).HasOrthogonalProjection]128 (hU : Antitone U) (hV : Antitone V)129 (hA : StronglyConverges A atTop S)130 (hfiniteComplement : β N,131 (e : E βL[π] F).comp (1 - (U N).starProjection) = A N)132 (hfiniteConjugacy : β N,133 ((e : E βL[π] F).comp (U N).starProjection).comp134 ((e : E βL[π] F)β ) = (V N).starProjection) :135 let P := (β¨ N, U N).starProjection136 let Q := (β¨ N, V N).starProjection137 let R := (e : E βL[π] F).comp P138 (e : E βL[π] F) = S + R β§139 R = (e : E βL[π] F).comp P β§140 (Rβ ).comp R = P β§ R.comp (Rβ ) = Q β§141 R = (Q.comp R).comp P β§142 (β x, x β β¨ N, U N β e x β β¨ N, V N) := by143 dsimp only144 let P : E βL[π] E := (β¨ N, U N).starProjection145 let Q : F βL[π] F := (β¨ N, V N).starProjection146 let R : E βL[π] F := (e : E βL[π] F).comp P147 have hPlim := Submodule.stronglyConverges_starProjection_iInf U hU148 have hQlim := Submodule.stronglyConverges_starProjection_iInf V hV149 have hcompLimit : (e : E βL[π] F).comp (1 - P) = S := by150 apply ext151 intro x152 apply tendsto_nhds_unique (l := (atTop : Filter β))153 Β· exact ((StronglyConverges.const (ΞΉ := β) (l := atTop)154 (1 : E βL[π] E)).sub hPlim |>.comp_left (e : E βL[π] F)) x155 Β· simpa [hfiniteComplement] using hA x156 have hconjLimit :157 ((e : E βL[π] F).comp P).comp ((e : E βL[π] F)β ) = Q := by158 apply ext159 intro y160 apply tendsto_nhds_unique (l := (atTop : Filter β))161 Β· exact (hPlim.comp_left (e : E βL[π] F) |>.comp_right162 ((e : E βL[π] F)β )) y163 Β· apply Filter.Tendsto.congr'164 (h := by simpa [Q] using hQlim y)165 filter_upwards [] with N166 exact (congrArg (fun T : F βL[π] F β¦ T y)167 (hfiniteConjugacy N)).symm168 have hPadj : Pβ = P := by169 exact (β¨ N, U N).starProjection_isSymmetric.clm_adjoint_eq170 have hQadj : Qβ = Q := by171 exact (β¨ N, V N).starProjection_isSymmetric.clm_adjoint_eq172 have hPidem : P.comp P = P := (β¨ N, U N).isIdempotentElem_starProjection173 have hQidem : Q.comp Q = Q := (β¨ N, V N).isIdempotentElem_starProjection174 have hleft : (e : E βL[π] F) = S + R := by175 apply ext176 intro x177 have hx := congrArg (fun T : E βL[π] F β¦ T x) hcompLimit178 change e ((1 - P) x) = S x at hx179 calc180 e x = e ((1 - P) x + P x) := by simp181 _ = e ((1 - P) x) + e (P x) := map_add e _ _182 _ = S x + R x := by rw [hx]; rfl183 _ = (S + R) x := rfl184 have hPapply : β x, P (P x) = P x := by185 intro x186 exact congrArg (fun T : E βL[π] E β¦ T x) hPidem187 have hRadj : Rβ = P.comp ((e : E βL[π] F)β ) := by188 simp [R, adjoint_comp, hPadj]189 have hinitial : (Rβ ).comp R = P := by190 ext x191 rw [hRadj]192 change P (((e : E βL[π] F)β ) (e (P x))) = P x193 rw [LinearIsometryEquiv.adjoint_eq_symm]194 have he : (e.symm : F βL[π] E) (e (P x)) = P x := by195 exact e.symm_apply_apply (P x)196 rw [he]197 exact hPapply x198 have hfinal : R.comp (Rβ ) = Q := by199 ext y200 have hc := congrArg (fun T : F βL[π] F β¦ T y) hconjLimit201 change e (P (((e : E βL[π] F)β ) y)) = Q y at hc202 rw [hRadj]203 change e (P (P (((e : E βL[π] F)β ) y))) = Q y204 rw [hPapply]205 exact hc206 have hsupport : R = (Q.comp R).comp P := by207 have hi : β x, (Rβ ) (R x) = P x := by208 intro x209 exact congrArg (fun T : E βL[π] E β¦ T x) hinitial210 have hf : β y, R ((Rβ ) y) = Q y := by211 intro y212 exact congrArg (fun T : F βL[π] F β¦ T y) hfinal213 ext x214 calc215 R x = R (P x) := by216 dsimp [R]217 rw [hPapply]218 _ = R ((Rβ ) (R (P x))) := by rw [hi, hPapply]219 _ = Q (R (P x)) := hf _220 _ = ((Q.comp R).comp P) x := rfl221 have hmem : β x, x β β¨ N, U N β e x β β¨ N, V N := by222 intro x223 rw [β Submodule.starProjection_eq_self_iff, β Submodule.starProjection_eq_self_iff]224 change P x = x β Q (e x) = e x225 constructor226 Β· intro hx227 have hc := congrArg (fun T : F βL[π] F β¦ T (e x)) hconjLimit228 simpa [P, Q, ContinuousLinearMap.comp_apply, hx] using hc.symm229 Β· intro hx230 have hc := congrArg (fun T : F βL[π] F β¦ T (e x)) hconjLimit231 have : e (P x) = e x := by232 simpa [P, Q, ContinuousLinearMap.comp_apply, hx] using hc233 exact e.injective this234 exact β¨hleft, rfl, hinitial, hfinal, hsupport, hmemβ©235236/-- Complete raw-shell entry theorem. Decreasing normalized projection families,237the two termwise support products, and the termwise unitary relation suffice to238construct the strong shell sum and its adjoint and to identify the complementary239unitary corner. Finite products, finite conjugacy, and strong convergence are all240conclusions or internal derived facts, not hypotheses. -/241theorem exists_strongSums_unitaryCompletion_of_projectionShells242 (e : E ββα΅’[π] F) (W : β β E βL[π] F)243 (U : β β Submodule π E) (V : β β Submodule π F)244 [β n, (U n).HasOrthogonalProjection]245 [β n, (V n).HasOrthogonalProjection]246 [(β¨ n, U n).HasOrthogonalProjection]247 [(β¨ n, V n).HasOrthogonalProjection]248 (hU : Antitone U) (hV : Antitone V)249 (hU0 : U 0 = β€) (hV0 : V 0 = β€)250 (hInitial : β n, ((W n)β ).comp (W n) = Submodule.projectionShell U n)251 (hFinal : β n, (W n).comp ((W n)β ) = Submodule.projectionShell V n)252 (hUnitary : β n, (e : E βL[π] F).comp (Submodule.projectionShell U n) = W n) :253 β S : E βL[π] F, β T : F βL[π] E,254 StronglyConverges (partialSum W) atTop S β§255 StronglyConverges (partialSum fun n β¦ (W n)β ) atTop T β§256 βSβ β€ 1 β§ βTβ β€ 1 β§ T = Sβ β§257 (Sβ ).comp S = 1 - (β¨ n, U n).starProjection β§258 S.comp (Sβ ) = 1 - (β¨ n, V n).starProjection β§259 (let P := (β¨ n, U n).starProjection260 let Q := (β¨ n, V n).starProjection261 let R := (e : E βL[π] F).comp P262 (e : E βL[π] F) = S + R β§263 R = (e : E βL[π] F).comp P β§264 (Rβ ).comp R = P β§ R.comp (Rβ ) = Q β§265 R = (Q.comp R).comp P β§266 (β x, x β β¨ n, U n β e x β β¨ n, V n)) := by267 obtain β¨S, T, hS, hT, hSnorm, hTnorm, hAdj, hProdU, hProdVβ© :=268 exists_strongSums_of_projectionShells W U V hU hV hU0 hV0 hInitial hFinal269 have hfiniteComplement : β N,270 (e : E βL[π] F).comp (1 - (U N).starProjection) = partialSum W N :=271 comp_complement_eq_partialSum_of_shells (e : E βL[π] F)272 (Submodule.projectionShell U) W U hUnitary273 (Submodule.partialSum_projectionShell U hU0)274 have hfiniteConjugacy : β N,275 ((e : E βL[π] F).comp (U N).starProjection).comp276 ((e : E βL[π] F)β ) = (V N).starProjection :=277 unitary_starProjection_conjugacy_of_projectionShells e W U V hU hV hU0 hV0278 hInitial hFinal hUnitary279 have hcompletion := unitaryCompletion_of_finite_relations e (partialSum W) S U V280 hU hV hS hfiniteComplement hfiniteConjugacy281 exact β¨S, T, hS, hT, hSnorm, hTnorm, hAdj, hProdU, hProdV, hcompletionβ©282283end ContinuousLinearMap