Offline · exact source
Exact Lean source

WeylGNSAction

formalization/Cloning/WeylGNSAction.lean

Source hash: 0510cbb54b82e47dd25a4061a23458bc3f82b27e30d096ed5996d16d3ff8413a

Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.

The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.

Declarations in this module
1import Cloning.WeylGNSKernel
2 
3/-! A normalized continuous positive Weyl characteristic has a genuine cyclic
4regular Weyl representation on its completed kernel space. -/
5noncomputable section
6open scoped ComplexOrder InnerProductSpace Topology BigOperators
7 
8namespace Cloning.WeylGNS
9open MultimodeCoherent
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 1200000
12 
13variable {d : ℕ} (g : (Fin d → ℂ) → ℂ)
14  [Fact (PositiveKernel.IsNormalizedPositive (kernel g))]
15 
16def action (a : Fin d → ℂ) : Space g →L[ℂ] Space g :=
17  (translatedCombination g a).extendOfNorm (combination g)
18 
19theorem action_combination (a : Fin d → ℂ) (c : (Fin d → ℂ) →₀ ℂ) :
20    action g a (combination g c) = translatedCombination g a c := by
21  apply LinearMap.extendOfNorm_eq (combination_dense g)
22  exact ⟨1, fun c => by simp [norm_translatedCombination]⟩
23 
24theorem action_feature (a z : Fin d → ℂ) :
25    action g a (feature g z) = displacementPhase a z • feature g (a + z) := by
26  have h := action_combination g a (Finsupp.single z 1)
27  simpa [combination, translatedCombination, translatedFeature] using h
28 
29theorem action_norm (a : Fin d → ℂ) (v : Space g) : ‖action g a v‖ = ‖v‖ := by
30  refine (combination_dense g).induction_on (p := fun v => ‖action g a v‖ = ‖v‖) v
31    (isClosed_eq ((action g a).continuous.norm) continuous_norm) ?_
32  intro c
33  rw [action_combination, norm_translatedCombination]
34 
35theorem continuousLinearMap_ext_feature {T S : Space g →L[ℂ] Space g}
36    (h : ∀ z : Fin d → ℂ, T (feature g z) = S (feature g z)) : T = S := by
37  have he : (fun v => T v) = (fun v => S v) := by
38    apply (combination_dense g).equalizer T.continuous S.continuous
39    funext c
40    simp only [Function.comp_apply, combination, Finsupp.linearCombination_apply,
41      Finsupp.sum, map_sum, map_smul, h]
42  exact DFunLike.ext _ _ (congrFun he)
43 
44theorem action_comp (a b : Fin d → ℂ) :
45    (action g a).comp (action g b) = displacementPhase a b • action g (a + b) := by
46  apply continuousLinearMap_ext_feature
47  intro z
48  simp only [ContinuousLinearMap.comp_apply, action_feature, map_smul,
49    ContinuousLinearMap.smul_apply, smul_smul, displacementPhase_cocycle, add_assoc]
50 
51@[simp] theorem action_zero : action g 0 = ContinuousLinearMap.id ℂ (Space g) := by
52  apply continuousLinearMap_ext_feature
53  intro z
54  simp [action_feature]
55 
56@[simp] theorem action_neg_cancel (a : Fin d → ℂ) (v : Space g) :
57    action g (-a) (action g a v) = v := by
58  have h := congrArg (fun T : Space g →L[ℂ] Space g => T v) (action_comp g (-a) a)
59  simpa using h
60 
61@[simp] theorem action_cancel_neg (a : Fin d → ℂ) (v : Space g) :
62    action g a (action g (-a) v) = v := by
63  simpa only [neg_neg] using action_neg_cancel g (-a) v
64 
65def unitary (a : Fin d → ℂ) : Space g ≃ₗᵢ[ℂ] Space g where
66  toLinearEquiv :=
67    { toFun := action g a
68      invFun := action g (-a)
69      left_inv := action_neg_cancel g a
70      right_inv := action_cancel_neg g a
71      map_add' := map_add (action g a)
72      map_smul' := map_smul (action g a) }
73  norm_map' := action_norm g a
74 
75@[simp] theorem unitary_apply (a : Fin d → ℂ) (v : Space g) :
76    unitary g a v = action g a v := rfl
77 
78@[simp] theorem action_dist (a : Fin d → ℂ) (v w : Space g) :
79    dist (action g a v) (action g a w) = dist v w := by
80  simp only [dist_eq_norm, ← map_sub, action_norm]
81 
82theorem continuous_action_feature (hg : Continuous g) (z : Fin d → ℂ) :
83    Continuous (fun a => action g a (feature g z)) := by
84  simp_rw [action_feature]
85  exact (continuous_displacementPhase z).smul
86    ((PositiveKernel.continuous_feature (kernel g) (continuous_kernel hg)).comp
87      (continuous_id.add continuous_const))
88 
89theorem continuous_action_combination (hg : Continuous g) (c : (Fin d → ℂ) →₀ ℂ) :
90    Continuous (fun a => action g a (combination g c)) := by
91  simp only [combination, Finsupp.linearCombination_apply, Finsupp.sum, map_sum, map_smul]
92  exact continuous_finset_sum _ (fun z _ =>
93    continuous_const.smul (continuous_action_feature g hg z))
94 
95theorem continuous_action (hg : Continuous g) (v : Space g) :
96    Continuous (fun a => action g a v) := by
97  rw [Metric.continuous_iff]
98  intro a ε hε
99  obtain ⟨c, hc⟩ := (combination_dense g).exists_dist_lt v (show 0 < ε / 4 by positivity)
100  obtain ⟨δ, hδ, hd⟩ := Metric.continuous_iff.mp (continuous_action_combination g hg c)
101    a (ε / 2) (by positivity)
102  refine ⟨δ, hδ, fun b hb => ?_⟩
103  have hb' := hd b hb
104  calc
105    dist (action g b v) (action g a v) ≤
106        dist (action g b v) (action g b (combination g c)) +
107          dist (action g b (combination g c)) (action g a (combination g c)) +
108          dist (action g a (combination g c)) (action g a v) := dist_triangle4 _ _ _ _
109    _ < ε := by
110      rw [action_dist, action_dist, dist_comm (combination g c) v]
111      linarith
112 
113/-- The actual GNS action with proved strong continuity. -/
114def regularWeyl (hg : Continuous g) : RegularWeyl d (Space g) where
115  toIsometry := unitary g
116  zero_apply := by intro v; simp
117  mul_apply := by
118    intro a b v
119    exact congrArg (fun T : Space g →L[ℂ] Space g => T v) (action_comp g a b)
120  continuous_apply := continuous_action g hg
121 
122@[simp] theorem action_origin (a : Fin d → ℂ) :
123    action g a (feature g 0) = feature g a := by simp [action_feature]
124 
125theorem origin_characteristic (a : Fin d → ℂ) :
126    ⟪feature g 0, action g a (feature g 0)⟫_ℂ = g a := by
127  simp [kernel]
128 
129theorem feature_dense_span :
130    (Submodule.span ℂ (Set.range (feature g))).topologicalClosure = ⊤ := by
131  apply Submodule.dense_iff_topologicalClosure_eq_top.mp
132  have h := combination_dense g
133  change Dense (Set.range (combination g)) at h
134  rw [← LinearMap.coe_range, combination, Finsupp.range_linearCombination] at h
135  exact h
136 
137/-- The unit vector at the origin is cyclic. -/
138theorem origin_cyclic :
139    (Submodule.span ℂ (Set.range (fun a : Fin d → ℂ => action g a (feature g 0)))).topologicalClosure
140      = ⊤ := by
141  simpa only [action_origin] using feature_dense_span g
142 
143end Cloning.WeylGNS