Buckets:
| import Mathlib | |
| import OAI.Analysis.TracialSplitting.PreparedBlocks | |
| namespace OAI | |
| noncomputable section | |
| open scoped Topology InnerProductSpace | |
| namespace TraceCone | |
| variable (H : Type*) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H] | |
| def rankOneGenerators : Set (H →L[ℂ] H) := {T | ∃ x y : H, T = InnerProductSpace.rankOne ℂ x y} | |
| def finiteRankAlgebra : NonUnitalStarSubalgebra ℂ (H →L[ℂ] H) := | |
| NonUnitalStarAlgebra.adjoin ℂ (rankOneGenerators H) | |
| def compactOperatorAlgebra : NonUnitalStarSubalgebra ℂ (H →L[ℂ] H) := | |
| (finiteRankAlgebra H).topologicalClosure | |
| instance compactOperatorAlgebra_closed : IsClosed (compactOperatorAlgebra H : Set (H →L[ℂ] H)) := | |
| NonUnitalStarSubalgebra.isClosed_topologicalClosure _ | |
| abbrev CompactOperators := compactOperatorAlgebra H | |
| instance : NonUnitalCStarAlgebra (CompactOperators H) := | |
| NonUnitalStarSubalgebra.nonUnitalCStarAlgebra (compactOperatorAlgebra H) | |
| variable {H} | |
| omit [CompleteSpace H] in | |
| lemma rankOne_isCompact (x y : H) : IsCompactOperator (InnerProductSpace.rankOne ℂ x y) := by | |
| have h := isCompactOperator_of_locallyCompactSpace_dom (innerSL ℂ y) | |
| change IsCompactOperator (fun z : H => inner ℂ y z • x) | |
| exact h.clm_comp (ContinuousLinearMap.toSpanSingleton ℂ x) | |
| lemma finiteRankAlgebra_compact (T : H →L[ℂ] H) (hT : T ∈ finiteRankAlgebra H) : | |
| IsCompactOperator T ∧ IsCompactOperator (star T : H →L[ℂ] H) := by | |
| induction hT using NonUnitalStarAlgebra.adjoin_induction with | |
| | mem T hT => | |
| obtain ⟨x,y,rfl⟩ := hT | |
| refine ⟨rankOne_isCompact x y, ?_⟩ | |
| rw [ContinuousLinearMap.star_eq_adjoint, InnerProductSpace.adjoint_rankOne] | |
| exact rankOne_isCompact y x | |
| | zero => | |
| exact ⟨isCompactOperator_zero, | |
| by simpa using (isCompactOperator_zero : IsCompactOperator (0 : H →L[ℂ] H))⟩ | |
| | add T S _ _ hT hS => | |
| exact ⟨hT.1.add hS.1, by rw [star_add]; exact hT.2.add hS.2⟩ | |
| | mul T S _ _ hT hS => | |
| exact ⟨hT.1.comp_clm S, by rw [star_mul]; exact hS.2.comp_clm (star T)⟩ | |
| | smul c T _ hT => | |
| exact ⟨hT.1.smul c, by rw [star_smul]; exact hT.2.smul (star c)⟩ | |
| | star T _ hT => exact ⟨hT.2, by simpa only [star_star] using hT.1⟩ | |
| theorem compactOperators_areCompact (T : CompactOperators H) : IsCompactOperator (T : H →L[ℂ] H) := by | |
| have hc : IsClosed {T : H →L[ℂ] H | IsCompactOperator T} := isClosed_setOfPred_isCompactOperator | |
| apply hc.closure_subset | |
| apply closure_mono (fun T hT => (finiteRankAlgebra_compact T hT).1) | |
| exact T.2 | |
| theorem rankOne_mem_compactOperators (x y : H) : | |
| InnerProductSpace.rankOne ℂ x y ∈ compactOperatorAlgebra H := | |
| NonUnitalStarSubalgebra.le_topologicalClosure _ (NonUnitalStarAlgebra.subset_adjoin ℂ _ ⟨x,y,rfl⟩) | |
| abbrev StandardHilbert := lp (fun _ : ℕ => ℂ) 2 | |
| abbrev StandardCompacts := CompactOperators StandardHilbert | |
| end TraceCone | |
| end | |
| noncomputable section | |
| open scoped Topology InnerProductSpace | |
| namespace TraceCone | |
| def standardVector (i : ℕ) : StandardHilbert := lp.single 2 i (1 : ℂ) | |
| lemma inner_standardVector (i j : ℕ) : | |
| inner ℂ (standardVector i) (standardVector j) = if i=j then 1 else 0 := by | |
| simp [standardVector, lp.inner_single_left, Pi.single_apply] | |
| lemma norm_standardVector (i : ℕ) : ‖standardVector i‖ = 1 := by | |
| simp [standardVector, lp.norm_single] | |
| def compactMatrixUnit (i j : ℕ) : StandardCompacts := | |
| ⟨InnerProductSpace.rankOne ℂ (standardVector i) (standardVector j), rankOne_mem_compactOperators _ _⟩ | |
| @[simp] theorem compactMatrixUnit_star (i j : ℕ) : | |
| star (compactMatrixUnit i j) = compactMatrixUnit j i := by | |
| apply Subtype.ext | |
| exact InnerProductSpace.adjoint_rankOne _ _ | |
| @[simp] theorem compactMatrixUnit_mul (i j k l : ℕ) : | |
| compactMatrixUnit i j * compactMatrixUnit k l = if j=k then compactMatrixUnit i l else 0 := by | |
| apply Subtype.ext | |
| change InnerProductSpace.rankOne ℂ (standardVector i) (standardVector j) ∘L | |
| InnerProductSpace.rankOne ℂ (standardVector k) (standardVector l) = _ | |
| rw [InnerProductSpace.rankOne_comp_rankOne, inner_standardVector] | |
| split_ifs <;> simp_all [compactMatrixUnit] | |
| @[simp] theorem compactMatrixUnit_norm (i j : ℕ) : ‖compactMatrixUnit i j‖ = 1 := by | |
| change ‖InnerProductSpace.rankOne ℂ (standardVector i) (standardVector j)‖ = 1 | |
| rw [InnerProductSpace.norm_rankOne, norm_standardVector, norm_standardVector, one_mul] | |
| def compactProjection (s : Finset ℕ) : StandardCompacts := ∑ i ∈ s, compactMatrixUnit i i | |
| lemma compactProjection_star (s : Finset ℕ) : star (compactProjection s) = compactProjection s := by | |
| simp [compactProjection] | |
| lemma compactProjection_mul (s : Finset ℕ) : | |
| compactProjection s * compactProjection s = compactProjection s := by | |
| classical | |
| simp [compactProjection, Finset.sum_mul, Finset.mul_sum] | |
| theorem compactProjection_compress (s : Finset ℕ) (i j : ℕ) (hi : i ∈ s) (hj : j ∈ s) : | |
| compactProjection s * compactMatrixUnit i j * compactProjection s = compactMatrixUnit i j := by | |
| classical | |
| simp [compactProjection, Finset.sum_mul, Finset.mul_sum, hi, hj] | |
| end TraceCone | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 5.14 kB
- Xet hash:
- c761b6f1b851577737a7ed08ebcceda6c526932573c2e157b738108399716799
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.