theoremtrace_sum {M : VonNeumannAlgebraH} (τ : TracialVectorM)
{α : Type u1} (s : Finset α) (A : α →H→L[ℂ] H) :
trace τ (∑ a ∈ s, A a) = ∑ a ∈ s, trace τ (A a) :=by
theoremConjugateSystem.unique {M : VonNeumannAlgebraH} (τ : TracialVectorM)
{n : ℕ} {X : Fin n →H→L[ℂ] H} {ξ η : Fin n →H}
(hξ : ConjugateSystem τ X ξ) (hη : ConjugateSystem τ X η) : ξ = η :=by
proof · 12
lines
funext i
havehmem : ξ i - η i ∈ polynomialL2 τ X:=
(polynomialL2 τ X).sub_mem (hξ i).1 (hη i).1havehker : polynomialL2 τ X≤ (innerSL ℂ (ξ i - η i)).ker :=by
apply Submodule.topologicalClosure_minimal
· apply Submodule.span_le.mpr
rintro _ ⟨w, rfl⟩
change inner ℂ (ξ i - η i) (wordEval X w τ.vacuum) = 0
rw [inner_sub_left, (hξ i).2 w, (hη i).2 w, sub_self]
· exact (innerSL ℂ (ξ i - η i)).isClosed_ker
havehd : inner ℂ (ξ i - η i) (ξ i - η i) = 0:= hker hmem
exact sub_eq_zero.mp ((inner_self_eq_zero).mp hd)
theoremwordVector_mem_polynomialL2 {M : VonNeumannAlgebraH} (τ : TracialVectorM)
{n : ℕ} (X : Fin n →H→L[ℂ] H) (w : List (Fin n)) :
wordEval X w τ.vacuum ∈ polynomialL2 τ X:=
theoremprojectedConjugate_system {M : VonNeumannAlgebraH} (τ : TracialVectorM)
{n : ℕ} (X : Fin n →H→L[ℂ] H) (η : Fin n →H)
(hη : ∀ i w, inner ℂ (η i) (wordEval X w τ.vacuum) = derivativeMoment τ X i w) :
ConjugateSystem τ X (projectedConjugate τ X η) :=by
proof · 6
lines
intro i
refine ⟨(polynomialL2 τ X).starProjection_apply_mem _, fun w => ?_⟩
have h := (polynomialL2 τ X).starProjection_inner_eq_zero (η i)
(wordEval X w τ.vacuum) (wordVector_mem_polynomialL2 τ X w)
rw [inner_sub_left, hη i w] at h
exact (sub_eq_zero.mp h).symm
theoremcommutatorKernel_cons {n : ℕ} (P : H→L[ℂ] H)
(X : Fin n →H→L[ℂ] H) (i j : Fin n) (w : List (Fin n)) :
commutatorKernel PX i (j :: w) =
(if j = i thenP * wordEval X w else0) + X j * commutatorKernel PX i w :=by
theoremcommutator_word {n : ℕ} (Pa : H→L[ℂ] H) (X : Fin n →H→L[ℂ] H)
(i : Fin n) (c : ℂ)
(h : ∀ j, a * X j = X j * a + if j = i then c • Pelse0)
(w : List (Fin n)) :
a * wordEval X w = wordEval X w * a + c • commutatorKernel PX i w :=by
proof · 8
lines
induction w with
| nil => simp [wordEval]
| cons j w ih =>havehw : wordEval X (j :: w) = X j * wordEval X w :=by simp [wordEval]
rw [hw, commutatorKernel_cons, ← mul_assoc, h, add_mul, mul_assoc, ih]
by_cases hji : j = i <;>
simp [hji, mul_add, mul_assoc, smul_add, _root_.add_assoc, _root_.add_comm,
_root_.add_left_comm]
theoremtrace_commutatorKernel {M : VonNeumannAlgebraH} (τ : TracialVectorM)
{n : ℕ} (X : Fin n →H→L[ℂ] H) (i : Fin n) (w : List (Fin n)) :
trace τ (commutatorKernel (vacuumRankOne τ) X i w) = derivativeMoment τ X i w :=by
theoremcommutator_integration_by_parts {M : VonNeumannAlgebraH} (τ : TracialVectorM)
{n : ℕ} (X : Fin n →H→L[ℂ] H) (a : H→L[ℂ] H) (i : Fin n) (c : ℂ)
(h : ∀ j, a * X j = X j * a + if j = i then c • vacuumRankOne τ else0)
(hz : a τ.vacuum = 0) (w : List (Fin n)) :
inner ℂ (star a τ.vacuum) (wordEval X w τ.vacuum) = c * derivativeMoment τ X i w :=by
proof · 6
lines
rw [ContinuousLinearMap.star_eq_adjoint, ContinuousLinearMap.adjoint_inner_left]
change trace τ (a * wordEval X w) = _
rw [commutator_word _ _ _ _ _ h, trace_add, trace_smul, trace_commutatorKernel]
havehzero : trace τ (wordEval X w * a) = 0:=by
simp [trace, mul_apply_eq_comp, hz]
rw [hzero, zero_add]
theoremorthogonal_coordinates (f : List ι →List ι) (hf : Function.Injective f) :
OrthogonalFamilyℂ (fun_ : List ι =>ℂ) (fun w => coordinateIsometry (f w)) :=by
proof · 4
lines
intro w v hwv a b
simp only [coordinateIsometry_apply, lp.inner_single_left]
rw [lp.single_apply_ne (E:=fun_ : List ι =>ℂ) 2 (f v) b (fun h => hwv (hf h))]
simp
@[simp]theoreminjectionIsometry_single (f : List ι →List ι)
(hf : Function.Injective f) (w : List ι) (z : ℂ) :
injectionIsometry f hf (lp.single 2 w z) = lp.single 2 (f w) z :=by
proof · 1
line
exact (orthogonal_coordinates f hf).linearIsometry_apply_single z
@[simp]theoremadjoint_creation_apply (i : ι) (x : Space ι) (w : List ι) :
(star (creation i) x) w = x (i :: w) :=by
proof · 2
lines
have h :=ContinuousLinearMap.adjoint_inner_right (creation i) (lp.single 2 w (1 : ℂ)) x
simpa [ContinuousLinearMap.star_eq_adjoint, lp.inner_single_left] using h
@[simp]theoremadjoint_rightCreation_apply (i : ι) (x : Space ι) (w : List ι) :
(star (rightCreation i) x) w = x (w ++ [i]) :=by
proof · 2
lines
have h :=ContinuousLinearMap.adjoint_inner_right (rightCreation i) (lp.single 2 w (1 : ℂ)) x
simpa [ContinuousLinearMap.star_eq_adjoint, lp.inner_single_left] using h
@[simp]theoremannihilation_single_cons (i j : ι) (w : List ι) (z : ℂ) :
star (creation i) (lp.single 2 (j :: w) z) =
if i = j then lp.single 2 w z else0:=by
proof · 6
lines
apply lp.ext
funext v
by_cases h : i = j
· subst j
simp [lp.single_apply, Pi.single_apply]
· simp [lp.single_apply, h]
@[simp]theoremrightAnnihilation_single_append (i j : ι) (w : List ι) (z : ℂ) :
star (rightCreation i) (lp.single 2 (w ++ [j]) z) =
if i = j then lp.single 2 w z else0:=by
proof · 6
lines
apply lp.ext
funext v
by_cases h : i = j
· subst j
simp [lp.single_apply, Pi.single_apply]
· simp [lp.single_apply, h]
@[simp]theoremsemicircular_single_cons (i j : ι) (w : List ι) (z : ℂ) :
semicircular i (lp.single 2 (j :: w) z) =
lp.single 2 (i :: j :: w) z + if i = j then lp.single 2 w z else0:=by
@[simp]theoremrightSemicircular_single_append (i j : ι) (w : List ι) (z : ℂ) :
rightSemicircular i (lp.single 2 (w ++ [j]) z) =
lp.single 2 (w ++ [j, i]) z + if i = j then lp.single 2 w z else0:=by
theoremcommute_rightWick (A : Space ι →L[ℂ] Space ι)
(h : ∀ i, CommuteA (rightSemicircular i)) (w : List ι) :
CommuteA (rightWick w) :=by
proof · 9
lines
induction w using rightWick.induct with
| case1 => exact Commute.one_right A
| case2 i => exact h i
| case3 i j w ih₁ ih₂ =>
dsimp only [rightWick]
apply ((h i).mul_right ih₁).sub_right
split_ifs
· exact ih₂
· exact Commute.zero_right A
@[simp]theoremrightWick_vacuum (w : List ι) :
rightWick w (basisVector []) = basisVector w.reverse :=by
proof · 8
lines
induction w using rightWick.induct with
| case1 => simp [rightWick]
| case2 i => simp [rightWick, basisVector]
| case3 i j w ih₁ ih₂ =>
simp only [rightWick, sub_apply, mul_apply_eq_comp, ih₁]
by_cases h : i = j <;>
simp only [h, ↓reduceIte, ih₂] <;>
simp [basisVector, List.reverse_cons, h, rightSemicircular_single_append]
theoremadjoint_vacuum_coefficient (A : Space ι →L[ℂ] Space ι)
(hA : A∈ algebra ι) (w : List ι) :
(star A (basisVector [])) w = star ((A (basisVector [])) w.reverse) :=by
proof · 15
lines
havehw : A (basisVector w) = rightWick w.reverse (A (basisVector [])) :=by
rw [← mul_apply_eq_comp,
← (commute_rightWick A ((mem_algebra_iff A).mp hA) w.reverse).eq,
mul_apply_eq_comp, rightWick_vacuum, List.reverse_reverse]
calc
(star A (basisVector [])) w = inner ℂ (basisVector w) (star A (basisVector [])) :=by
simp [basisVector, lp.inner_single_left]
_ = inner ℂ (A (basisVector w)) (basisVector []) :=ContinuousLinearMap.adjoint_inner_right A _ _
_ = inner ℂ (rightWick w.reverse (A (basisVector []))) (basisVector []) :=by rw [hw]
_ = inner ℂ (A (basisVector [])) (star (rightWick w.reverse) (basisVector [])) :=
(ContinuousLinearMap.adjoint_inner_right _ _ _).symm
_ = star ((A (basisVector [])) w.reverse) :=by
rw [adjoint_rightWick_vacuum]
simp [basisVector, lp.inner_single_right]
theoremvacuum_product_formula (AB : Space ι →L[ℂ] Space ι)
(hA : A∈ algebra ι) :
inner ℂ (basisVector []) ((A * B) (basisVector [])) =
∑' w : List ι, (B (basisVector [])) w * (A (basisVector [])) w.reverse :=by
proof · 6
lines
rw [mul_apply_eq_comp, ←ContinuousLinearMap.adjoint_inner_left A,
←ContinuousLinearMap.star_eq_adjoint, lp.inner_eq_tsum]
apply tsum_congr
intro w
rw [RCLike.inner_apply, adjoint_vacuum_coefficient A hA w]
simp
theoremvacuum_tracial (A : Space ι →L[ℂ] Space ι) (hA : A∈ algebra ι)
(B : Space ι →L[ℂ] Space ι) (hB : B∈ algebra ι) :
inner ℂ (basisVector []) ((A * B) (basisVector [])) =
inner ℂ (basisVector []) ((B * A) (basisVector [])) :=by
proof · 8
lines
rw [vacuum_product_formula AB hA, vacuum_product_formula BA hB]
lete : List ι ≃ List ι := ⟨List.reverse, List.reverse, List.reverse_reverse, List.reverse_reverse⟩
calc
(∑' w : List ι, (B (basisVector [])) w * (A (basisVector [])) w.reverse) =
∑' w : List ι, (B (basisVector [])) w.reverse * (A (basisVector [])) w :=by
simpa [e] using (e.tsum_eq (funw : List ι =>
(B (basisVector [])) w * (A (basisVector [])) w.reverse)).symm
_ = _ := tsum_congr fun _ => mul_comm _ _
theoremrightAnnihilation_creation (i j : ι) :
star (rightCreation i) * creation j = creation j * star (rightCreation i) +
if i = j then vacuumProjection else0:=by
proof · 18
lines
apply lp.ext_continuousLinearMap (bynorm_num : (2 : ℝ≥0∞) ≠ ⊤)
intro w
apply ContinuousLinearMap.ext
intro z
change star (rightCreation i) (creation j (lp.single 2 w z)) =
creation j (star (rightCreation i) (lp.single 2 w z)) +
(if i = j then vacuumProjection else0) (lp.single 2 w z)
induction w usingList.reverseRecOn with
| nil =>
rw [creation_single, show [j] = [] ++ [j] from rfl, rightAnnihilation_single_append]
by_cases h : i = j <;> simp [h]
| append_singleton w k _ =>
rw [creation_single, showj :: (w ++ [k]) = (j :: w) ++ [k] from rfl,
rightAnnihilation_single_append]
havehp : (if i = j then vacuumProjection else0) (lp.single 2 (w ++ [k]) z) = 0:=by
split_ifs <;> simp
rw [hp, rightAnnihilation_single_append]
by_cases h : i = k <;> simp [h]
theoremrightAnnihilation_semicircular (i j : ι) :
star (rightCreation i) * semicircular j = semicircular j * star (rightCreation i) +
if i = j then vacuumProjection else0:=by
proof · 5
lines
haveh : star (rightCreation i) * star (creation j) =
star (creation j) * star (rightCreation i) :=by
simpa only [star_mul] using congrArg star (creation_commutes_rightCreation j i).eq
rw [semicircular, mul_add, add_mul, rightAnnihilation_creation, h]
abel
theoremderivativeKernel_cons {n : ℕ} (i j : Fin n) (w : List (Fin n)) :
derivativeKernel i (j :: w) =
(if j = i then vacuumProjection * wordEval semicircular w else0) +
semicircular j * derivativeKernel i w :=by
theoremrightAnnihilation_word {n : ℕ} (i : Fin n) (w : List (Fin n)) :
star (rightCreation i) * wordEval semicircular w =
wordEval semicircular w * star (rightCreation i) + derivativeKernel i w :=by
proof · 8
lines
induction w with
| nil => simp [wordEval]
| cons j w ih =>havehw : wordEval semicircular (j :: w) = semicircular j * wordEval semicircular w :=by
simp [wordEval]
rw [hw, derivativeKernel_cons, ← mul_assoc, rightAnnihilation_semicircular,
add_mul, mul_assoc, ih, mul_add]
by_cases h : i = j <;> simp [h, eq_comm, mul_assoc, add_assoc, add_comm, add_left_comm]
theoremtrace_projection_product (AB : Space ι →L[ℂ] Space ι) :
trace (tracialVector ι) (A * vacuumProjection * B) =
trace (tracialVector ι) A * trace (tracialVector ι) B:=by
theoremtrace_derivativeKernel {n : ℕ} (i : Fin n) (w : List (Fin n)) :
trace (tracialVector (Fin n)) (derivativeKernel i w) =
derivativeMoment (tracialVector (Fin n)) semicircular i w :=by
theoremtrace_semicircular_left (i : ι) (A : Space ι →L[ℂ] Space ι) :
trace (tracialVector ι) (semicircular i * A) =
trace (tracialVector ι) (star (rightCreation i) * A) :=by
theoremsemicircular_integration_by_parts {n : ℕ} (i : Fin n) (w : List (Fin n)) :
trace (tracialVector (Fin n)) (semicircular i * wordEval semicircular w) =
derivativeMoment (tracialVector (Fin n)) semicircular i w :=by
privatetheoremsum_range_double {α : Type u2} [AddCommMonoid α] (f : ℕ→ α) (k : ℕ) :
∑ r ∈Finset.range (2 * k), f r =
∑ r ∈Finset.range k, (f (2 * r) + f (2 * r + 1)) :=by
proof · 6
lines
induction k with
| zero => simp
| succ k ih =>
rw [Nat.mul_succ, show2 * k + 2 = (2 * k + 1) + 1by omega]
rw [Finset.sum_range_succ, Finset.sum_range_succ, ih,
Finset.sum_range_succ, add_assoc]
theoremsemicircular_preserves_wordSpace {J : Set ι} {i : ι} (hi : i ∈J)
{x : Space ι} (hx : x ∈ wordSpace J) : semicircular i x ∈ wordSpace J:=by
proof · 18
lines
induction hx usingSubmodule.span_induction with
| mem x hx =>
obtain ⟨w, hw, rfl⟩ := hx
cases w with
| nil =>
simpa [basisVector] using
(basis_mem_wordSpace (show∀ j ∈ [i], j ∈Jby simpa using hi))
| cons j w =>
change semicircular i (lp.single 2 (j :: w) 1) ∈ wordSpace J
rw [semicircular_single_cons]
apply Submodule.add_mem
· exact basis_mem_wordSpace (by simpa usingAnd.intro hi hw)
· split_ifs
· exact basis_mem_wordSpace (fun k hk => hw k (List.mem_cons_of_mem _ hk))
· exact Submodule.zero_mem _
| zero => simp
| add x y _ _ hx hy => simpa using (wordSpace J).add_mem hx hy
| smul z x _ hx => simpa using (wordSpace J).smul_mem z hx
theoremsemicircular_suffix {J : Set ι} {i : ι} (hi : i ∈J)
(w : List ι) (hw : ∀ j ∈ w.head?, j ∉J) {x : Space ι} (hx : x ∈ wordSpace J) :
semicircular i (suffixEmbedding w x) = suffixEmbedding w (semicircular i x) :=by
proof · 19
lines
induction hx usingSubmodule.span_induction with
| mem x hx =>
obtain ⟨v, hv, rfl⟩ := hx
cases v with
| nil =>
cases w with
| nil => simp [basisVector, suffixEmbedding, injectionIsometry_single]
| cons j w =>havehij : i ≠ j :=by intro hij; subst i; exact hw j (by simp) hi
simp [basisVector, suffixEmbedding, injectionIsometry_single, hij]
| cons j v =>
change semicircular i (suffixEmbedding w (lp.single 2 (j :: v) 1)) = _
rw [show suffixEmbedding w (lp.single 2 (j :: v) 1) =
lp.single 2 (j :: (v ++ w)) 1from suffixEmbedding_basis w (j :: v)]
simp only [basisVector, semicircular_single_cons, map_add]
split_ifs <;> simp [suffixEmbedding, injectionIsometry_single]
| zero => simp
| add x y _ _ hx hy => simp [map_add, hx, hy]
| smul z x _ hx => simp [hx]
theoremadjoin_suffix {J : Set ι} {A : Space ι →L[ℂ] Space ι}
(hA : A∈Algebra.adjoin ℂ (semicircular '' J)) (w : List ι)
(hw : ∀ j ∈ w.head?, j ∉J) :
∀ x ∈ wordSpace J,
A x ∈ wordSpace J∧A (suffixEmbedding w x) = suffixEmbedding w (A x) :=by
proof · 17
lines
induction hA usingAlgebra.adjoin_induction with
| mem A hA =>
obtain ⟨i, hi, rfl⟩ := hA
exact fun x hx => ⟨semicircular_preserves_wordSpace hi hx, semicircular_suffix hi w hw hx⟩
| algebraMap z =>
intro x hx
constructor
· simpa using (wordSpace J).smul_mem z hx
· simp
| add AB _ _ hA hB =>
intro x hx
exact ⟨(wordSpace J).add_mem (hA x hx).1 (hB x hx).1,
by simp only [add_apply, (hA x hx).2, (hB x hx).2, map_add]⟩
| mul AB _ _ hA hB =>
intro x hx
exact ⟨(hA (B x) (hB x hx).1).1,
by simp only [mul_apply_eq_comp, (hB x hx).2, (hA (B x) (hB x hx).1).2]⟩
theoremcentered_wordSpace_suffix {J : Set ι} {x : Space ι} (hx : x ∈ wordSpace J)
(w : List ι) : suffixEmbedding w (x - x [] • basisVector []) ∈ startsIn J:=by
proof · 24
lines
induction hx usingSubmodule.span_induction with
| mem x hx =>
obtain ⟨v, hv, rfl⟩ := hx
cases v with
| nil => simp [basisVector, lp.single_apply]
| cons j v =>havehz : (basisVector (j :: v)) [] = 0:=by simp [basisVector, lp.single_apply]
rw [hz, zero_smul, sub_zero, suffixEmbedding_basis]
exact Submodule.subset_span ⟨j, hv j (by simp), v ++ w, rfl⟩
| zero => simp
| add x y _ _ hx hy =>haveh : (x + y) - (x + y) [] • basisVector [] =
(x - x [] • basisVector []) + (y - y [] • basisVector []) :=by
change (x + y) - (x [] + y []) • basisVector [] = _
rw [add_smul]; abel
rw [h, map_add]
exact (startsIn J).add_mem hx hy
| smul z x _ hx =>haveh : z • x - (z • x) [] • basisVector [] =
z • (x - x [] • basisVector []) :=by
change z • x - (z * x []) • basisVector [] = _
rw [smul_sub, smul_smul]
rw [h, map_smul]
exact (startsIn J).smul_mem z hx
theoremcentered_adjoin_basis {J : Set ι} {A : Space ι →L[ℂ] Space ι}
(hA : A∈Algebra.adjoin ℂ (semicircular '' J))
(hcenter : trace (tracialVector ι) A = 0) (w : List ι)
(hw : ∀ j ∈ w.head?, j ∉J) : A (basisVector w) ∈ startsIn J:=by
proof · 5
lines
have h := adjoin_suffix hA w hw (basisVector []) (vacuum_mem_wordSpace J)
havehzero : (A (basisVector [])) [] = 0:=by
rwa [← trace_eq_vacuum_coefficient]
have hs := centered_wordSpace_suffix h.1 w
simpa only [hzero, zero_smul, sub_zero, ← h.2, suffixEmbedding_basis, List.nil_append] using hs
theoremcentered_adjoin_startsIn {JK : Set ι} (hJK : DisjointJK)
{A : Space ι →L[ℂ] Space ι} (hA : A∈Algebra.adjoin ℂ (semicircular '' J))
(hcenter : trace (tracialVector ι) A = 0) {x : Space ι} (hx : x ∈ startsIn K) :
A x ∈ startsIn J:=by
proof · 11
lines
induction hx usingSubmodule.span_induction with
| mem x hx =>
obtain ⟨i, hi, w, rfl⟩ := hx
apply centered_adjoin_basis hA hcenter
intro j hj hjJ
have : j = i :=by simpa using hj.symm
subst j
exact Set.disjoint_left.mp hJK hjJ hi
| zero => simp
| add x y _ _ hx hy => simpa using (startsIn J).add_mem hx hy
| smul z x _ hx => simpa using (startsIn J).smul_mem z hx
theoremstartsIn_vacuum_zero {J : Set ι} {x : Space ι} (hx : x ∈ startsIn J) : x [] = 0:=by
proof · 7
lines
induction hx usingSubmodule.span_induction with
| mem x hx =>
obtain ⟨i, _, w, rfl⟩ := hx
simp [basisVector, lp.single_apply]
| zero => rfl
| add x y _ _ hx hy => simp [hx, hy]
| smul z x _ hx => simp [hx]
theoremalternating_product_starts {κ : Type} (J : κ →Set ι)
(hJ : Pairwise (fun i j =>Disjoint (J i) (J j))) :
∀ (k : ℕ) (hk : 0 < k) (j : Fin k → κ) (a : Fin k →Space ι →L[ℂ] Space ι),
(∀ r, a r ∈Algebra.adjoin ℂ (semicircular '' J (j r))) →
(∀ r, trace (tracialVector ι) (a r) = 0) →
(∀ (r : ℕ) (hr : r + 1 < k),
j ⟨r, Nat.lt_trans (Nat.lt_succ_self r) hr⟩ ≠ j ⟨r + 1, hr⟩) →
(List.ofFn a).prod (basisVector []) ∈ startsIn (J (j ⟨0, hk⟩)) :=by
proof · 15
lines
intro k
induction k with
| zero => intro hk; omega
| succ k ih =>
intro hk j a ha hc hadj
rw [List.ofFn_succ, List.prod_cons, mul_apply_eq_comp]
cases k with
| zero =>
simpa using centered_adjoin_basis (ha 0) (hc 0) [] (by simp)
| succ k =>have htail := ih (by omega) (fun r => j r.succ) (fun r => a r.succ)
(fun r => ha r.succ) (fun r => hc r.succ) (by
intro r hr
exact hadj (r + 1) (by omega))
exact centered_adjoin_startsIn (hJ (hadj 0 (by omega))) (ha 0) (hc 0) htail
theoremfreeStandardNoise {m n : ℕ} (J : Set (Fin m))
(X : Fin n →Space (Fin m) →L[ℂ] Space (Fin m))
(hX : ∀ i, X i ∈Algebra.adjoin ℂ (semicircular '' J))
(σ : Fin n →Fin m) (hσ : Function.Injective σ) (hs : ∀ i, σ i ∉J) :
FreeStandardNoise (tracialVector (Fin m)) X (fun i => semicircular (σ i)) :=by
proof · 23
lines
refine ⟨fun i k => semicircular_moments (σ i) k, ?_⟩
letK : Option (Fin n) →Set (Fin m) :=fun j =>match j with
| none =>J
| some i => {σ i}
havehK : Pairwise (fun i j =>Disjoint (K i) (K j)) :=by
intro i j hij
cases i with
| none =>
cases j with
| none => exact False.elim (hij rfl)
| some j => exact Set.disjoint_singleton_right.mpr (hs j)
| some i =>
cases j with
| none => exact Set.disjoint_singleton_left.mpr (hs i)
| some j => exact Set.disjoint_singleton.mpr (fun h => hij (congrArg some (hσ h)))
apply (free_grouped_semicircular K hK).mono
intro j
cases j with
| none =>
apply Algebra.adjoin_le
rintro _ ⟨i, rfl⟩
exact hX i
| some i => simp [K]
theoremrightAnnihilation_adjoin {J : Set ι} {i : ι} (hi : i ∉J)
{A : Space ι →L[ℂ] Space ι} (hA : A∈Algebra.adjoin ℂ (semicircular '' J)) :
Commute (star (rightCreation i)) A:=by
proof · 9
lines
induction hA usingAlgebra.adjoin_induction with
| mem A hA =>
obtain ⟨j, hj, rfl⟩ := hA
havehij : i ≠ j :=by intro h; subst j; exact hi hj
show _ * _ = _ * _
simpa [hij] using rightAnnihilation_semicircular i j
| algebraMap z => exact Algebra.commutes z _ |>.symm
| add AB _ _ hA hB => exact hA.add_right hB
| mul AB _ _ hA hB => exact hA.mul_right hB
theoremadjoint_apply (f : α → α) (hf : Function.Injective f) (x : Space α) (a : α) :
(star (lift f hf) x) a = x (f a) :=by
proof · 2
lines
have h :=ContinuousLinearMap.adjoint_inner_right (lift f hf) (basis a) x
simpa [basis, ContinuousLinearMap.star_eq_adjoint, lp.inner_single_left] using h
theoremadjoint_single_of_inverse (f : α → α) (hf : Function.Injective f)
(q : α →Option α) (hq : ∀ a b, q b = some a ↔ f a = b) (b : α) (z : ℂ) :
star (lift f hf) (lp.single 2 b z) = (q b).elim 0 (fun a => lp.single 2 a z) :=by
proof · 16
lines
apply lp.ext
funext a
rw [adjoint_apply]
cases h : q b with
| none =>havehab : f a ≠ b :=fun he =>byhave:= (hq a b).mpr he; simp [h] at this
simp [lp.single_apply, hab]
| some c =>havehfc : f c = b := (hq c b).mp h
subst b
change (lp.single (E:=fun_ : α =>ℂ) 2 (f c) z) (f a) =
(lp.single (E:=fun_ : α =>ℂ) 2 c z) a
by_cases hac : a = c
· subst a; simp
· rw [lp.single_apply_ne (E:=fun_ : α =>ℂ) 2 (f c) z (fun h => hac (hf h)),
lp.single_apply_ne (E:=fun_ : α =>ℂ) 2 c z hac]
theoremreverse_append (w : WordBNG) (i : N) (a : AtomBG) :
reverse (append w i a) = push (reverseAtom a) i (reverse w) :=by
proof · 8
lines
rcases w with ⟨b, t⟩
induction t generalizing b with
| nil => rfl
| cons c t ih =>
rcases c with ⟨j,c⟩
change append (reverse (append (c,t) i a)) j (reverseAtom b) = _
rw [ih, ← push_append]
rfl
@[simp]theoremreverse_involutive (w : WordBNG) : reverse (reverse w) = w :=by
proof · 8
lines
rcases w with ⟨a,t⟩
induction t generalizing a with
| nil => simp
| cons b t ih =>
rcases b with ⟨i,b⟩
change reverse (append (reverse (b,t)) i (reverseAtom a)) = _
rw [reverse_append, reverseAtom_involutive, ih]
rfl
@[simp]theoremrightB_push (b : B) (a : AtomBG) (i : N) (w : WordBNG) :
rightB b (push a i w) = push a i (rightB b w) :=by
proof · 4
lines
have h (v : WordBNG) : leftB b (append v i (reverseAtom a)) =
append (leftB b v) i (reverseAtom a) := rfl
rw [rightB, reverse_push, h, reverse_append, reverseAtom_involutive]
rfl
@[simp]theoremrightG_push (g : G) (a : AtomBG) (i : N) (w : WordBNG) :
rightG g (push a i w) = push a i (rightG g w) :=by
proof · 4
lines
have h (v : WordBNG) : leftG g (append v i (reverseAtom a)) =
append (leftG g v) i (reverseAtom a) := rfl
rw [rightG, reverse_push, h, reverse_append, reverseAtom_involutive]
rfl
theoremleftB_rightB (b c : B) :
Function.Commute (leftB (N:=N) (G:=G) b) (rightB c) :=by
proof · 9
lines
rintro ⟨⟨v,g⟩,t⟩
cases t with
| nil => simp [leftB]
| cons a t =>
rcases a with ⟨i,a⟩
change leftB b (rightB c (push (v,g) i (a,t))) =
rightB c (push (b::v,g) i (a,t))
rw [rightB_push, rightB_push]
rfl
theoremleftG_rightB (g : G) (b : B) :
Function.Commute (leftG (N:=N) g) (rightB b) :=by
proof · 9
lines
rintro ⟨⟨v,h⟩,t⟩
cases t with
| nil => simp [leftG]
| cons a t =>
rcases a with ⟨i,a⟩
change leftG g (rightB b (push (v,h) i (a,t))) =
rightB b (push (v,g*h) i (a,t))
rw [rightB_push, rightB_push]
rfl
theoremleftB_rightG (b : B) (g : G) :
Function.Commute (leftB (N:=N) b) (rightG g) :=by
proof · 9
lines
rintro ⟨⟨v,h⟩,t⟩
cases t with
| nil => simp [leftB]
| cons a t =>
rcases a with ⟨i,a⟩
change leftB b (rightG g (push (v,h) i (a,t))) =
rightG g (push (b::v,h) i (a,t))
rw [rightG_push, rightG_push]
rfl
rintro ⟨⟨v,k⟩,t⟩
cases t with
| nil => simp [leftG, mul_assoc]
| cons a t =>
rcases a with ⟨i,a⟩
change leftG g (rightG h (push (v,k) i (a,t))) =
rightG h (push (v,g*k) i (a,t))
rw [rightG_push, rightG_push]
rfl
theoremremoveB_spec (b : B) (u v : WordBNG) : removeB b v = some u ↔ leftB b u = v :=by
proof · 8
lines
rcases u with ⟨⟨uv,ug⟩,ut⟩
rcases v with ⟨⟨vv,vg⟩,vt⟩
cases vv with
| nil => simp [removeB, leftB]
| cons c vv =>by_cases h : b = c
· subst c; simp [removeB, leftB, eq_comm]
· simp [removeB, leftB, h]
theoremremoveN_spec (i : N) (u v : WordBNG) : removeN i v = some u ↔ leftN i u = v :=by
proof · 12
lines
rcases u with ⟨ua,ut⟩
rcases v with ⟨va,vt⟩
by_cases h : va = ([],1)
· subst va
cases vt with
| nil => simp [removeN, leftN, push]
| cons a t =>
rcases a with ⟨j,a⟩
by_cases hij : i = j
· subst j; simp [removeN, leftN, push, eq_comm]
· simp [removeN, leftN, push, hij]
· simp [removeN, leftN, push, h, Ne.symm h]
theoremright_remove_spec (f : WordBNG→WordBNG)
(q : WordBNG→Option (WordBNG)) (hq : ∀ u v, q v = some u ↔ f u = v)
(u v : WordBNG) :
(q (reverse v)).map reverse = some u ↔ reverse (f (reverse u)) = v :=by
proof · 10
lines
rw [Option.map_eq_some_iff]
constructor
· rintro ⟨a,ha,hu⟩
havehad : a = reverse u :=by rw [← hu, reverse_involutive]
rw [had] at ha
rw [(hq _ _).mp ha, reverse_involutive]
· intro h
refine ⟨reverse u, (hq _ _).mpr ?_, reverse_involutive u⟩
have:= congrArg reverse h
simpa using this
theoremrightAnnihilationB_single (b : B) (w : WordBNG) (z : ℂ) :
star (rightCreationB b) (lp.single 2 w z) =
((removeB b (reverse w)).map reverse).elim 0 (fun a => lp.single 2 a z) :=
theoremrightAnnihilationN_single (i : N) (w : WordBNG) (z : ℂ) :
star (rightCreationN i) (lp.single 2 w z) =
((removeN i (reverse w)).map reverse).elim 0 (fun a => lp.single 2 a z) :=
theoremrightAnnihilationN_append (i j : N) (w : WordBNG) (a : AtomBG) (z : ℂ) :
star (rightCreationN i) (lp.single 2 (append w j a) z) =
if a = ([],1) ∧ i = j then lp.single 2 w z else0:=by
proof · 8
lines
rw [rightAnnihilationN_single, reverse_append]
haveha : reverseAtom a = ([],1) ↔ a = ([],1) :=by
rcases a with ⟨v,g⟩
simp [reverseAtom]
by_cases haa : a = ([],1)
· subst a
by_cases hij : i = j <;> simp [removeN, push, reverseAtom, hij]
· simp [removeN, push, ha, haa]
theoremrightAnnihilationB_atom_append (b c : B) (v : ListB) (g : G) (z : ℂ) :
star (rightCreationB (N:=N) b) (lp.single 2 ((v ++ [c],g),[]) z) =
if b = c then lp.single 2 ((v,g),[]) z else0:=by
proof · 2
lines
rw [rightAnnihilationB_single]
by_cases h : b = c <;> simp [reverse_nil, reverseAtom, removeB, h]
@[simp]theoremrightAnnihilationB_append_nil (b : B) (w : WordBNG) (i : N)
(g : G) (z : ℂ) :
star (rightCreationB b) (lp.single 2 (append w i ([],g)) z) = 0:=by
theoremrightAnnihilationB_append_append (b c : B) (w : WordBNG) (i : N)
(v : ListB) (g : G) (z : ℂ) :
star (rightCreationB b) (lp.single 2 (append w i (v ++ [c],g)) z) =
if b = c then lp.single 2 (append w i (v,g)) z else0:=by
proof · 5
lines
rw [rightAnnihilationB_single, reverse_append]
have hinv := reverse_involutive w
simp only [reverse] at hinv
by_cases h : b = c <;>
simp [reverseAtom, push, removeB, h, reverse, reverseAux, append, hinv]
theoremcreationB_commutes_rightAnnihilationN (b : B) (i : N) :
Commute (creationB (G:=G) b) (star (rightCreationN i)) :=by
proof · 18
lines
show _ * _ = _ * _
apply lp.ext_continuousLinearMap (bynorm_num : (2 : ℝ≥0∞) ≠ ⊤)
intro w
apply ContinuousLinearMap.ext
intro z
change creationB b (star (rightCreationN i) (lp.single 2 w z)) =
star (rightCreationN i) (creationB b (lp.single 2 w z))
rcases w with ⟨a,t⟩
induction t usingList.reverseRecOn with
| nil => simp [leftB]
| append_singleton t c _ =>
rcases c with ⟨j,c⟩
change creationB b (star (rightCreationN i) (lp.single 2 (append (a,t) j c) z)) = _
rw [rightAnnihilationN_append, creationB_single]
change creationB b (if c = ([],1) ∧ i = j then lp.single 2 (a,t) z else0) =
star (rightCreationN i) (lp.single 2 (append (leftB b (a,t)) j c) z)
rw [rightAnnihilationN_append]
split_ifs <;> simp
theoremcreationN_commutes_rightAnnihilationB (i : N) (b : B) :
Commute (creationN (G:=G) i) (star (rightCreationB b)) :=by
proof · 32
lines
show _ * _ = _ * _
apply lp.ext_continuousLinearMap (bynorm_num : (2 : ℝ≥0∞) ≠ ⊤)
intro w
apply ContinuousLinearMap.ext
intro z
change creationN i (star (rightCreationB b) (lp.single 2 w z)) =
star (rightCreationB b) (creationN i (lp.single 2 w z))
rcases w with ⟨⟨av,g⟩,t⟩
induction t usingList.reverseRecOn with
| nil =>
induction av usingList.reverseRecOn with
| nil =>
rw [rightAnnihilationB_atom_nil, map_zero, creationN_single]
change 0 = star (rightCreationB b) (lp.single 2 (append empty i ([],g)) z)
simp
| append_singleton v c _ =>
rw [rightAnnihilationB_atom_append, creationN_single]
change creationN i (if b = c then lp.single 2 ((v,g),[]) z else0) =
star (rightCreationB b) (lp.single 2 (append empty i (v ++ [c],g)) z)
rw [rightAnnihilationB_append_append]
split_ifs <;> simp [leftN, push, append, empty]
| append_singleton t c _ =>
rcases c with ⟨j,⟨v,h⟩⟩
rw [creationN_single]
change creationN i (star (rightCreationB b)
(lp.single 2 (append ((av,g),t) j (v,h)) z)) =
star (rightCreationB b) (lp.single 2 (append (leftN i ((av,g),t)) j (v,h)) z)
induction v usingList.reverseRecOn with
| nil => simp
| append_singleton v c _ =>
rw [rightAnnihilationB_append_append, rightAnnihilationB_append_append]
split_ifs <;> simp [leftN, push, append]