letS:= (Submodule.span ℂ (Set.range (funp : ι×κ => hilbertTmul (b p.1) (c p.2)))).topologicalClosure
havehS : IsClosed (S : Set (HilbertTensorHK)) :=Submodule.isClosed_topologicalClosure _
have hbase (i : ι) (j : κ) : hilbertTmul (b i) (c j)∈S:=Submodule.le_topologicalClosure _ (Submodule.subset_span ⟨(i,j),rfl⟩)
have hfirst (i : ι) (y : K) : hilbertTmul (b i) y∈S:=byletF : K→L[ℂ] HilbertTensorHK:=Completion.toComplL.comp (TensorProduct.mkL ℂHK (b i))
have hs := (c.hasSum_repr y).mapL F
apply hS.mem_of_tendsto hs
filter_upwards with t
apply S.sum_mem
intro j hj
rw [map_smul]
exact S.smul_mem (c.repr y j) (hbase i j)
have hsecond (x : H) (y : K) : hilbertTmul x y∈S:=byletF : H→L[ℂ] HilbertTensorHK:=Completion.toComplL.comp ((TensorProduct.mkL ℂHK).flip y)
have hs := (b.hasSum_repr x).mapL F
apply hS.mem_of_tendsto hs
filter_upwards with t
apply S.sum_mem
intro i hi
rw [map_smul]
exact S.smul_mem (b.repr x i) (hfirst i y)
intro z hz
change z∈S
refine Completion.induction_on z hS ?_
intro x
induction x usingTensorProduct.inductionOn with
| tmul x y => exact hsecond x y
| add x y hx hy => simpa only [Completion.coe_add] usingS.add_mem hx hy
lemmahilbertTensor_ext {FG : HilbertTensorHK→L[ℂ] L}
(h : ∀ x y, F (hilbertTmul x y)=G (hilbertTmul x y)) : F=G:=by
proof · 6
lines
ext z
refine Completion.induction_on z (isClosed_eq F.continuous G.continuous) ?_
intro t
induction t usingTensorProduct.inductionOn with
| tmul x y => exact h x y
| add x y hx hy => simp only [Completion.coe_add,map_add,hx,hy]
lemmahilbertTensor_inner_ext (FG : HilbertTensorHK→L[ℂ] HilbertTensorLM)
(h : ∀ x y u v, inner ℂ (hilbertTmul u v) (F (hilbertTmul x y))=
inner ℂ (hilbertTmul u v) (G (hilbertTmul x y))) : F=G:=by
proof · 9
lines
apply hilbertTensor_ext
intro x y
apply ext_inner_left ℂ
intro z
refine Completion.induction_on z (isClosed_eq (by fun_prop) (by fun_prop)) ?_
intro t
induction t usingTensorProduct.inductionOn with
| tmul u v => exact h x y u v
| add u v hu hv => simp only [Completion.coe_add,inner_add_left,hu,hv]
lemmahilbertTensorMap_adjoint (A : H→L[ℂ] L) (B : K→L[ℂ] M) :
(hilbertTensorMap AB).adjoint=hilbertTensorMap A.adjoint B.adjoint :=by
proof · 4
lines
apply hilbertTensor_inner_ext
intro x y u v
rw [adjoint_inner_right,hilbertTensorMap_tmul,hilbertTensorMap_tmul,
hilbertTmul_inner,hilbertTmul_inner,A.adjoint_inner_right,B.adjoint_inner_right]