Offline · exact source
Exact Lean source

TensorLocalUnitaryGenerator

formalization/Cloning/TensorLocalUnitaryGenerator.lean

Source hash: 33f5231220427b3a95cfce4f4e7eb63b29e83dafaf094d3acd734f189ffa579a

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.TensorLocalUnitaryTaylor
2import Cloning.TensorCyclicPBW
3 
4/-! The actual normalized collective displacement generator: skew-adjointness,
5physical cyclic-cutoff propagation, and a local norm bound uniform once the
6highest-weight gaps exceed the fixed cutoff. -/
7noncomputable section
8open scoped BigOperators InnerProductSpace Topology
9open NormedSpace Filter
10namespace Cloning.TensorLocalUnitary
11open Cloning.TensorLie
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1000000
14variable {n d : ℕ}
15 
16def rootGenerator (mu : Fin d → ℕ) (z : PositiveRoot d → ℂ) :
17    TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d) :=
18  ∑ a, (z a • normalizedCreator n mu a.val.1 a.val.2 -
19    star (z a) • normalizedAnnihilator n mu a.val.1 a.val.2)
20 
21theorem normalizedAnnihilator_adjoint (mu : Fin d → ℕ) (a b : Fin d) :
22    (normalizedAnnihilator n mu a b).adjoint = normalizedCreator n mu a b := by
23  rw [← normalizedCreator_adjoint mu a b, ContinuousLinearMap.adjoint_adjoint]
24 
25theorem rootGenerator_skew (mu : Fin d → ℕ) (z : PositiveRoot d → ℂ) :
26    (rootGenerator (n := n) mu z).adjoint = -(rootGenerator (n := n) mu z) := by
27  rw [← ContinuousLinearMap.star_eq_adjoint]
28  simp only [rootGenerator, star_sum, star_sub, star_smul,
29    ContinuousLinearMap.star_eq_adjoint, normalizedCreator_adjoint,
30    normalizedAnnihilator_adjoint, star_star]
31  rw [← Finset.sum_neg_distrib]
32  apply Finset.sum_congr rfl
33  intro a _
34  abel
35 
36variable (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
37    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
38    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
39 
40include hweight hraise
41 
42theorem annihilator_mem_cutoff (a : PositiveRoot d) (r : ℕ)
43    {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicCutoff Ω r) :
44    normalizedAnnihilator n mu a.val.1 a.val.2 x ∈ cyclicCutoff Ω r :=
45  PBW.annihilator_mem_same_cutoff _ (fun r => cyclicCutoff Ω (r : ℤ))
46    (cyclicCutoff_nat_monotone Ω)
47    (fun y hy => normalizedAnnihilator_zero_cyclicCutoff Ω mu hweight hraise
48      a.val.1 a.val.2 a.property hy)
49    (fun r y hy => normalizedAnnihilator_lowers_cyclicCutoff Ω mu hweight hraise
50      a.val.1 a.val.2 a.property r hy) r x hx
51 
52theorem rootGenerator_mem_cutoff (z : PositiveRoot d → ℂ) (r : ℕ)
53    {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicCutoff Ω r) :
54    rootGenerator (n := n) mu z x ∈ cyclicCutoff Ω ((r+d : ℕ) : ℤ) := by
55  simp only [rootGenerator, ContinuousLinearMap.sum_apply, ContinuousLinearMap.sub_apply,
56    ContinuousLinearMap.smul_apply]
57  apply Submodule.sum_mem
58  intro a _
59  apply Submodule.sub_mem
60  · exact (cyclicCutoff Ω _).smul_mem _ (normalizedCreator_raises_cyclicCutoff Ω mu a r hx)
61  · exact (cyclicCutoff Ω _).smul_mem _
62      (cyclicCutoff_nat_monotone Ω (Nat.le_add_right r d)
63        (annihilator_mem_cutoff Ω mu hweight hraise a r hx))
64 
65theorem normalizedCreator_cutoff_bound (a : PositiveRoot d) (R : ℕ)
66    (hgap : 2 * ((R : ℝ)+1) ≤ (mu a.val.1 : ℝ) - mu a.val.2)
67    {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicCutoff Ω R) :
68    ‖normalizedCreator n mu a.val.1 a.val.2 x‖ ≤ Real.sqrt (((R : ℝ)+1)*2) * ‖x‖ := by
69  have hg : 0 < (mu a.val.1 : ℝ) - mu a.val.2 := by have := Nat.cast_nonneg (α := ℝ) R; linarith
70  have hb := PBW.creator_norm_le_cutoff
71    (normalizedCreator n mu a.val.1 a.val.2) (normalizedAnnihilator n mu a.val.1 a.val.2)
72    (fun r => cyclicCutoff Ω (r : ℤ)) (normalized_inner_adjoint mu a.val.1 a.val.2)
73    (fun y hy => normalizedAnnihilator_zero_cyclicCutoff Ω mu hweight hraise
74      a.val.1 a.val.2 a.property hy)
75    (fun r y hy => normalizedAnnihilator_lowers_cyclicCutoff Ω mu hweight hraise
76      a.val.1 a.val.2 a.property r hy) R 1 (by norm_num) ?_ R le_rfl x hx
77  · simpa only [show (1 : ℝ)+1=2 by norm_num] using hb
78  · intro r hr y hy
79    apply (normalized_diagonal_defect_norm_le Ω mu hweight r hy a.val.1 a.val.2 hg).trans
80    apply mul_le_mul_of_nonneg_right _ (norm_nonneg y)
81    apply (div_le_one hg).mpr
82    have hr' : (r : ℝ) ≤ R := Nat.cast_le.mpr hr
83    linarith
84 
85theorem normalizedAnnihilator_cutoff_bound (a : PositiveRoot d) (R : ℕ)
86    (hgap : 2 * ((R : ℝ)+1) ≤ (mu a.val.1 : ℝ) - mu a.val.2)
87    {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicCutoff Ω R) :
88    ‖normalizedAnnihilator n mu a.val.1 a.val.2 x‖ ≤ Real.sqrt (((R : ℝ)+1)*2) * ‖x‖ :=
89  PBW.annihilator_norm_le_from_local_creator _ _ (cyclicCutoff Ω R) _ (Real.sqrt_nonneg _)
90    (normalized_inner_adjoint mu a.val.1 a.val.2)
91    (fun y hy => normalizedCreator_cutoff_bound Ω mu hweight hraise a R hgap hy)
92    x (annihilator_mem_cutoff Ω mu hweight hraise a R hx)
93 
94theorem rootGenerator_norm_le (z : PositiveRoot d → ℂ) (R : ℕ)
95    (hgap : ∀ a : PositiveRoot d, 2 * ((R : ℝ)+1) ≤ (mu a.val.1 : ℝ) - mu a.val.2)
96    {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicCutoff Ω R) :
97    ‖rootGenerator (n := n) mu z x‖ ≤
98      (2 * ∑ a, ‖z a‖) * Real.sqrt (((R : ℝ)+1)*2) * ‖x‖ := by
99  simp only [rootGenerator, ContinuousLinearMap.sum_apply, ContinuousLinearMap.sub_apply,
100    ContinuousLinearMap.smul_apply]
101  calc
102    _ ≤ ∑ a : PositiveRoot d, ‖z a • normalizedCreator n mu a.val.1 a.val.2 x -
103        star (z a) • normalizedAnnihilator n mu a.val.1 a.val.2 x‖ := norm_sum_le _ _
104    _ ≤ ∑ a : PositiveRoot d, (‖z a‖ + ‖z a‖) *
105        (Real.sqrt (((R : ℝ)+1)*2) * ‖x‖) := by
106      apply Finset.sum_le_sum
107      intro a _
108      apply (norm_sub_le _ _).trans
109      rw [norm_smul, norm_smul, norm_star, add_mul]
110      exact add_le_add
111        (mul_le_mul_of_nonneg_left (normalizedCreator_cutoff_bound Ω mu hweight hraise a R (hgap a) hx)
112          (norm_nonneg _))
113        (mul_le_mul_of_nonneg_left (normalizedAnnihilator_cutoff_bound Ω mu hweight hraise a R (hgap a) hx)
114          (norm_nonneg _))
115    _ = (2 * ∑ a, ‖z a‖) * Real.sqrt (((R : ℝ)+1)*2) * ‖x‖ := by
116      rw [← Finset.sum_mul, Finset.sum_add_distrib]
117      ring
118 
119theorem rootGenerator_pow_mem (z : PositiveRoot d → ℂ) (R m : ℕ)
120    {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicCutoff Ω R) :
121    (rootGenerator (n := n) mu z ^ m) x ∈ cyclicCutoff Ω ((R+m*d : ℕ) : ℤ) := by
122  induction m with
123  | zero => simpa using hx
124  | succ m ih =>
125    rw [pow_succ', ContinuousLinearMap.mul_apply]
126    simpa only [Nat.succ_mul, Nat.add_assoc] using
127      rootGenerator_mem_cutoff Ω mu hweight hraise z (R+m*d) ih
128 
129theorem rootGenerator_pow_norm_le (z : PositiveRoot d → ℂ) (R M : ℕ)
130    (hgap : ∀ a : PositiveRoot d, 2 * (((R+M*d : ℕ) : ℝ)+1) ≤ (mu a.val.1 : ℝ) - mu a.val.2)
131    {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicCutoff Ω R) :
132    ‖(rootGenerator (n := n) mu z ^ M) x‖ ≤
133      ((2 * ∑ a, ‖z a‖) * Real.sqrt ((((R+M*d : ℕ) : ℝ)+1)*2)) ^ M * ‖x‖ := by
134  let C := (2 * ∑ a, ‖z a‖) * Real.sqrt ((((R+M*d : ℕ) : ℝ)+1)*2)
135  have hC : 0 ≤ C := by dsimp [C]; positivity
136  have hpow : ∀ m ≤ M, ‖(rootGenerator (n := n) mu z ^ m) x‖ ≤ C ^ m * ‖x‖ := by
137    intro m hm
138    induction m with
139    | zero => simp
140    | succ m ih =>
141      have hmem := rootGenerator_pow_mem Ω mu hweight hraise z R m hx
142      have hmem' : (rootGenerator (n := n) mu z ^ m) x ∈ cyclicCutoff Ω ((R+M*d : ℕ) : ℤ) :=
143        cyclicCutoff_nat_monotone Ω (Nat.add_le_add_left (Nat.mul_le_mul_right d (by omega : m ≤ M)) R) hmem
144      rw [pow_succ', ContinuousLinearMap.mul_apply]
145      calc
146        _ ≤ C * ‖(rootGenerator (n := n) mu z ^ m) x‖ := rootGenerator_norm_le Ω mu hweight hraise z _ hgap hmem'
147        _ ≤ C * (C ^ m * ‖x‖) := mul_le_mul_of_nonneg_left (ih (by omega)) hC
148        _ = C ^ (m+1) * ‖x‖ := by rw [pow_succ']; ring
149  exact hpow M le_rfl
150 
151/-- The actual physical displacement exponential has a vector Taylor remainder
152controlled by a fixed-cutoff constant, uniformly in all sufficiently large gaps. -/
153theorem exp_rootGenerator_taylor_remainder (z : PositiveRoot d → ℂ) (R m : ℕ)
154    (hgap : ∀ a : PositiveRoot d,
155      2 * (((R+(m+1)*d : ℕ) : ℝ)+1) ≤ (mu a.val.1 : ℝ) - mu a.val.2)
156    {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicCutoff Ω R) :
157    ‖exp (rootGenerator (n := n) mu z) x -
158        ∑ j ∈ Finset.range (m+1), ((j.factorial : ℝ)⁻¹) •
159          ((rootGenerator (n := n) mu z ^ j) x)‖ ≤
160      (((2 * ∑ a, ‖z a‖) * Real.sqrt ((((R+(m+1)*d : ℕ) : ℝ)+1)*2)) ^ (m+1) * ‖x‖) /
161        m.factorial := by
162  apply (exp_taylor_vector_remainder _ (rootGenerator_skew mu z) x m).trans
163  exact div_le_div_of_nonneg_right
164    (rootGenerator_pow_norm_le Ω mu hweight hraise z R (m+1) hgap hx)
165    (Nat.cast_nonneg _)
166 
167end Cloning.TensorLocalUnitary