math / data /lean /OAI /Analysis /FactorGeneration /LaurentAlgebra.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
10.6 kB
import Mathlib.Algebra.Star.Subalgebra
import Mathlib.Algebra.Star.Unitary
import Mathlib.Analysis.Complex.Basic
import Mathlib.Analysis.Normed.Module.Basic
import Mathlib.Analysis.Normed.Operator.Bilinear
import Mathlib.Topology.Algebra.Module.Spaces.ContinuousLinearMap
import Mathlib.Topology.Algebra.StarSubalgebra
import OAI.Analysis.FactorGeneration.Words
namespace OAI
noncomputable section
namespace Generator
/-! The algebraic star algebra generated by one unitary is exactly the linear
span of all its integer powers. No topology on the ambient algebra is needed. -/
section
variable {R A : Type*} [CommRing R] [StarRing R]
[Ring A] [StarRing A] [Algebra R A] [StarModule R A]
def unitaryPowerMonoid (v : unitary A) : Submonoid A where
carrier := Set.range (fun n : β„€ => (↑(v^n) : A))
one_mem' := ⟨0, by simp⟩
mul_mem' := by
rintro a b ⟨n,rfl⟩ ⟨m,rfl⟩
exact ⟨n+m,by simp [zpow_add]⟩
theorem unitary_power_mem_adjoin (v : unitary A) (n : β„€) :
(↑(v^n) : A) ∈ StarAlgebra.adjoin R {(v : A)} := by
have hv := StarAlgebra.self_mem_adjoin_singleton R (v : A)
cases n with
| ofNat n => simpa using (StarAlgebra.adjoin R {(v : A)}).pow_mem hv n
| negSucc n =>
have hs : star (v : A) ∈ StarAlgebra.adjoin R {(v : A)} := star_mem hv
have hp := (StarAlgebra.adjoin R {(v : A)}).pow_mem hs (n+1)
change (↑(v ^ (-(↑n + 1) : β„€)) : A) ∈ _
rw [zpow_neg, ← Int.natCast_add_one, zpow_natCast]
change star ((v : A)^(n+1)) ∈ _
rw [star_pow]
exact hp
theorem unitary_adjoin_eq_span (v : unitary A) :
(StarAlgebra.adjoin R {(v : A)}).toSubalgebra.toSubmodule =
Submodule.span R (Set.range (fun n : β„€ => (↑(v^n) : A))) := by
apply le_antisymm
Β· rw [StarAlgebra.adjoin_eq_span]
apply Submodule.span_mono
change Submonoid.closure _ ≀ unitaryPowerMonoid v
apply Submonoid.closure_le.mpr
intro x hx
rcases hx with hx | hx
Β· obtain rfl := Set.mem_singleton_iff.mp hx
exact ⟨1,by simp⟩
Β· have hx' : x = star (v : A) := by
have he : star x = (v : A) := by simpa using hx
exact (star_star x).symm.trans (congrArg star he)
subst x
exact ⟨-1,by change (↑(v ^ (-1 : β„€)) : A) = _; rw [zpow_neg_one]; rfl⟩
Β· apply Submodule.span_le.mpr
rintro x ⟨n,rfl⟩
exact unitary_power_mem_adjoin v n
end
/-! Centered Laurent polynomials and their norm closure. -/
open scoped Topology
section Algebraic
variable {A : Type*} [Ring A] [StarRing A] [Algebra β„‚ A] [StarModule β„‚ A]
def nonzeroUnitaryPowers (v : unitary A) : Set A :=
{x | βˆƒ n : β„€,n β‰  0 ∧ x=(↑(v^n) : A)}
def centerLinear (Ο† : A β†’β‚—[β„‚] β„‚) : A β†’β‚—[β„‚] A :=
LinearMap.id - Ο†.smulRight (1 : A)
omit [StarRing A] [StarModule β„‚ A] in
@[simp] theorem centerLinear_apply (Ο† : A β†’β‚—[β„‚] β„‚) (x : A) :
centerLinear Ο† x = x-Ο† x β€’ (1 : A) := rfl
theorem center_adjoin_mem_span (v : unitary A) (Ο† : A β†’β‚—[β„‚] β„‚)
(h1 : Ο† 1=1) (hhaar : βˆ€ n : β„€,n β‰  0 β†’ Ο† (↑(v^n) : A)=0)
(x : A) (hx : x ∈ StarAlgebra.adjoin β„‚ {(v : A)}) :
centerLinear Ο† x ∈ Submodule.span β„‚ (nonzeroUnitaryPowers v) := by
have hx' : x ∈ Submodule.span β„‚ (Set.range (fun n : β„€ => (↑(v^n) : A))) := by
rw [← unitary_adjoin_eq_span]; exact hx
clear hx
induction hx' using Submodule.span_induction with
| mem x hx =>
obtain ⟨n,rfl⟩ := hx
by_cases hn : n=0
Β· simp [hn,h1]
Β· rw [centerLinear_apply,hhaar n hn,zero_smul,sub_zero]
exact Submodule.subset_span ⟨n,hn,rfl⟩
| zero => simpa only [map_zero] using (Submodule.span β„‚ (nonzeroUnitaryPowers v)).zero_mem
| add x y hx hy ihx ihy =>
rw [map_add]; exact Submodule.add_mem _ ihx ihy
| smul r x hx ih =>
rw [map_smul]; exact Submodule.smul_mem _ r ih
end Algebraic
section
variable {A : Type*} [NormedRing A] [NormedAlgebra β„‚ A]
[StarRing A] [StarModule β„‚ A] [ContinuousStar A]
/-- Every centered element of the actual norm-closed generated star algebra
is a norm limit of linear combinations of nonzero powers. -/
theorem centered_elemental_mem_closedSpan (v : unitary A) (Ο† : A β†’L[β„‚] β„‚)
(h1 : Ο† 1=1) (hhaar : βˆ€ n : β„€,n β‰  0 β†’ Ο† (↑(v^n) : A)=0)
(x : A) (hx : x ∈ StarAlgebra.elemental β„‚ (v : A)) (hcenter : Ο† x=0) :
x ∈ (Submodule.span β„‚ (nonzeroUnitaryPowers v)).topologicalClosure := by
let S := (Submodule.span β„‚ (nonzeroUnitaryPowers v)).topologicalClosure
let f : A β†’L[β„‚] A := ContinuousLinearMap.id β„‚ A - Ο†.smulRight (1 : A)
have hc : IsClosed {y : A | f y ∈ S} := (Submodule.span β„‚ (nonzeroUnitaryPowers v)).isClosed_topologicalClosure.preimage f.continuous
have hp : βˆ€ y ∈ StarAlgebra.adjoin β„‚ {(v : A)},f y ∈ S := by
intro y hy
exact Submodule.le_topologicalClosure _ (center_adjoin_mem_span v Ο†.toLinearMap h1 hhaar y hy)
have hh : f x ∈ S := closure_minimal hp hc hx
change x-Ο† x β€’ (1 : A) ∈ S at hh
simpa only [hcenter,zero_smul,sub_zero] using hh
end
/-! A continuous functional on a normed algebra extends zero product moments
separately to the closed linear span in each slot. -/
open scoped Topology
section
variable {A : Type*} [NormedRing A] [NormedAlgebra β„‚ A]
def sandwichFunctional (Ο† : A β†’L[β„‚] β„‚) (a b : A) : A β†’L[β„‚] β„‚ where
toFun x := Ο† (a*x*b)
map_add' x y := by simp only [mul_add,add_mul,map_add]
map_smul' c x := by simp only [mul_smul_comm,smul_mul_assoc,map_smul,RingHom.id_apply]
cont := by fun_prop
theorem functional_sandwich_closedSpan (Ο† : A β†’L[β„‚] β„‚) (S : Set A) (a b x : A)
(hx : x ∈ (Submodule.span β„‚ S).topologicalClosure)
(hm : βˆ€ y ∈ S,Ο† (a*y*b)=0) : Ο† (a*x*b)=0 := by
let f := sandwichFunctional Ο† a b
have hs : Submodule.span β„‚ S ≀ LinearMap.ker f.toLinearMap := by
apply Submodule.span_le.mpr
intro y hy
exact hm y hy
exact (Submodule.span β„‚ S).topologicalClosure_minimal hs f.isClosed_ker hx
theorem functional_product_closedSpan (Ο† : A β†’L[β„‚] β„‚)
(sets : List (Set A)) (xs : List A) (a : A)
(hxs : List.Forallβ‚‚ (fun S x => x ∈ (Submodule.span β„‚ S).topologicalClosure) sets xs)
(hm : βˆ€ ys,List.Forallβ‚‚ (fun S y => y ∈ S) sets ys β†’ Ο† (a*ys.prod)=0) :
Ο† (a*xs.prod)=0 := by
induction xs generalizing sets a with
| nil => cases hxs; exact hm [] .nil
| cons x xs ih =>
cases hxs with
| @cons S x sets xs hx hxs =>
have hh := functional_sandwich_closedSpan Ο† S a xs.prod x hx (by
intro y hy
apply ih sets (a*y) hxs
intro ys hys
simpa only [List.prod_cons,mul_assoc] using hm (y::ys) (.cons hy hys))
simpa only [List.prod_cons,mul_assoc] using hh
theorem alternatingFrom_closedSpan_slots (S T : Set A) (b : Bool) (xs : List A)
(hx : alternatingFrom ((Submodule.span β„‚ S).topologicalClosure : Set A)
((Submodule.span β„‚ T).topologicalClosure : Set A) b xs) :
List.Forallβ‚‚ (fun s x => x ∈ (Submodule.span β„‚ s).topologicalClosure)
(alternatingSlotSets S T b xs.length) xs := by
induction xs generalizing b with
| nil => exact .nil
| cons x xs ih =>
cases b <;> exact .cons hx.1 (ih _ hx.2)
theorem alternatingMomentsZero_closedSpan (Ο† : A β†’L[β„‚] β„‚) (S T : Set A)
(hm : alternatingMomentsZero Ο† S T) :
alternatingMomentsZero Ο† ((Submodule.span β„‚ S).topologicalClosure : Set A)
((Submodule.span β„‚ T).topologicalClosure : Set A) := by
intro b xs hn hx
have hh := functional_product_closedSpan Ο† (alternatingSlotSets S T b xs.length) xs 1
(alternatingFrom_closedSpan_slots S T b xs hx) (by
intro ys hys
have hl : ys.length=xs.length := by
rw [← hys.length_eq,alternatingSlotSets_length]
have hy : ys β‰  [] := by
intro he
have hz : xs.length=0 := by simpa [he] using hl.symm
exact hn (List.length_eq_zero_iff.mp hz)
have ha : alternatingFrom S T b ys := by
apply (alternatingFrom_slots S T b ys).mpr
simpa only [hl] using hys
simpa only [one_mul] using hm b ys hy ha)
simpa only [one_mul] using hh
/-- Standard freeness: every nonempty alternating product of centered elements
vanishes, starting with either algebra and with no restriction on length parity. -/
def freeSets (Ο† : A β†’ β„‚) (S T : Set A) : Prop :=
alternatingMomentsZero Ο† {x | x ∈ S ∧ Ο† x=0} {x | x ∈ T ∧ Ο† x=0}
end
/-! Norm completion of algebraic mixed moments gives full freeness of the
actual generated C*-algebra from the closed base algebra. -/
variable {A : Type*} [NormedRing A] [NormedAlgebra β„‚ A]
/-- Centering commutes with norm approximation in a unital subalgebra. -/
theorem centered_subalgebra_closure_mem (Ο† : A β†’L[β„‚] β„‚) (h1 : Ο† 1=1)
(D : Subalgebra β„‚ A) (x : A) (hx : x ∈ D.topologicalClosure) (hcenter : Ο† x=0) :
x ∈ (Submodule.span β„‚ {d | d ∈ D ∧ Ο† d=0}).topologicalClosure := by
let S := Submodule.span β„‚ {d | d ∈ D ∧ Ο† d=0}
let f : A β†’L[β„‚] A := ContinuousLinearMap.id β„‚ A - Ο†.smulRight (1 : A)
have hc : IsClosed {y : A | f y ∈ S.topologicalClosure} :=
S.isClosed_topologicalClosure.preimage f.continuous
have hp : βˆ€ y ∈ D,f y ∈ S.topologicalClosure := by
intro y hy
apply Submodule.le_topologicalClosure
apply Submodule.subset_span
change y-Ο† y β€’ (1 : A) ∈ D ∧ Ο† (y-Ο† y β€’ (1 : A))=0
refine ⟨D.sub_mem hy (D.smul_mem D.one_mem _),?_⟩
simp only [map_sub,map_smul,h1,smul_eq_mul,mul_one,sub_self]
have hh : f x ∈ S.topologicalClosure := closure_minimal hp hc hx
change x-Ο† x β€’ (1 : A) ∈ S.topologicalClosure at hh
simpa only [hcenter,zero_smul,sub_zero] using hh
variable [StarRing A] [StarModule β„‚ A] [ContinuousStar A]
theorem unitary_generated_free_of_power_moments (Ο† : A β†’L[β„‚] β„‚) (h1 : Ο† 1=1)
(v : unitary A) (D : Subalgebra β„‚ A)
(hhaar : βˆ€ n : β„€,n β‰  0 β†’ Ο† (↑(v^n) : A)=0)
(hm : alternatingMomentsZero Ο† (nonzeroUnitaryPowers v) {d | d ∈ D ∧ Ο† d=0}) :
freeSets Ο† (StarAlgebra.elemental β„‚ (v : A)) D.topologicalClosure := by
have hclosed := alternatingMomentsZero_closedSpan Ο† _ _ hm
intro b xs hn hx
apply hclosed b xs hn
clear hn
induction xs generalizing b with
| nil => trivial
| cons x xs ih =>
cases b with
| true =>
exact ⟨centered_elemental_mem_closedSpan v Ο† h1 hhaar x hx.1.1 hx.1.2,ih _ hx.2⟩
| false =>
exact ⟨centered_subalgebra_closure_mem Ο† h1 D x hx.1.1 hx.1.2,ih _ hx.2⟩
end Generator
end
end OAI