Offline · exact source
Exact Lean source

WeylNumberBounds

formalization/Cloning/WeylNumberBounds.lean

Source hash: 3c6ca2430912ac865b13233ab398b6142f6627548f51523fea38ff9ce8bdf1b7

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.WeylNumberTaylor
2 
3/-! Analytic-vector bounds for the literal finite-support Fock ladder. -/
4noncomputable section
5open scoped InnerProductSpace Topology BigOperators
6namespace Cloning.MultimodeCoherent
7open Cloning.MultimodeCoherentGaussianMixture
8set_option maxHeartbeats 1000000
9set_option backward.isDefEq.respectTransparency false
10variable {d : ℕ}
11 
12theorem numberIterate_succ_right (a : Fin d → ℂ) (c : NumberCoefficients d) (m : ℕ) :
13    numberIterate a c (m+1) = numberIterate a (numberGenerator a c) m := by
14  induction m with
15  | zero => rfl
16  | succ m ih => exact congrArg (numberGenerator a) ih
17 
18theorem numberIterate_add (a : Fin d → ℂ) (c e : NumberCoefficients d) (m : ℕ) :
19    numberIterate a (c+e) m = numberIterate a c m + numberIterate a e m := by
20  induction m with
21  | zero => rfl
22  | succ m ih => simp only [numberIterate_succ, ih, map_add]
23 
24theorem numberIterate_sub (a : Fin d → ℂ) (c e : NumberCoefficients d) (m : ℕ) :
25    numberIterate a (c-e) m = numberIterate a c m - numberIterate a e m := by
26  induction m with
27  | zero => rfl
28  | succ m ih => simp only [numberIterate_succ, ih, map_sub]
29 
30theorem numberIterate_smul (a : Fin d → ℂ) (z : ℂ) (c : NumberCoefficients d) (m : ℕ) :
31    numberIterate a (z • c) m = z • numberIterate a c m := by
32  induction m with
33  | zero => rfl
34  | succ m ih => simp only [numberIterate_succ, ih, map_smul]
35 
36theorem numberIterate_sum {ι : Type*} (a : Fin d → ℂ)
37    (s : Finset ι) (c : ι → NumberCoefficients d) (m : ℕ) :
38    numberIterate a (∑ i ∈ s, c i) m = ∑ i ∈ s, numberIterate a (c i) m := by
39  induction m with
40  | zero => rfl
41  | succ m ih => simp only [numberIterate_succ, ih, map_sum]
42 
43def numberPower (a : Fin d → ℂ) (k : Fin d → ℕ) (m : ℕ) : Fock d :=
44  numberVector (numberIterate a (Finsupp.single k 1) m)
45 
46@[simp] theorem numberPower_zero (a : Fin d → ℂ) (k : Fin d → ℕ) :
47    numberPower a k 0 = numberBasis d k := by simp [numberPower]
48 
49theorem numberPower_succ (a : Fin d → ℂ) (k : Fin d → ℕ) (m : ℕ) :
50    numberPower a k (m+1) =
51      ∑ i, ((a i * (Real.sqrt (k i+1 : ℝ) : ℂ)) •
52          numberPower a (Function.update k i (k i+1)) m -
53        (starRingEnd ℂ (a i) * (Real.sqrt (k i : ℝ) : ℂ)) •
54          numberPower a (Function.update k i (k i-1)) m) := by
55  unfold numberPower
56  rw [numberIterate_succ_right, numberGenerator_single, one_smul]
57  simp only [numberLadderCoefficients, numberIterate_sum, numberIterate_sub, map_sum, map_sub]
58  apply Finset.sum_congr rfl
59  intro i _
60  have hs (l : Fin d → ℕ) (c : ℂ) :
61      Finsupp.single l c = c • Finsupp.single l (1 : ℂ) := by simp
62  rw [hs _ (a i * _), hs _ (starRingEnd ℂ (a i) * _)]
63  simp only [numberIterate_smul, map_smul]
64 
65/-- Each application raises every occupation coordinate by at most one. The
66finite ladder tree therefore has a square-root, rather than linear, growth
67factor per step. The bound is uniform in a sum-norm amplitude ball. -/
68theorem numberPower_norm_le (a : Fin d → ℂ) (m K : ℕ) (k : Fin d → ℕ)
69    (hk : ∀ i, k i ≤ K) :
70    ‖numberPower a k m‖ ≤ (2 * (∑ i, ‖a i‖) * Real.sqrt (K+m : ℝ)) ^ m := by
71  induction m generalizing K k with
72  | zero => simp [numberPower_zero, (numberBasis d).orthonormal.norm_eq_one]
73  | succ m ih =>
74    let C : ℝ := 2 * (∑ i, ‖a i‖) * Real.sqrt (K+(m+1) : ℝ)
75    have hC : 0 ≤ C := by dsimp [C]; positivity
76    have hup (i : Fin d) :
77        ‖numberPower a (Function.update k i (k i+1)) m‖ ≤ C ^ m := by
78      have h := ih (K+1) (Function.update k i (k i+1)) (by
79        intro j
80        by_cases hji : j = i
81        · subst j; simp only [Function.update_self]; have := hk i; omega
82        · rw [Function.update_of_ne hji]; exact (hk j).trans (Nat.le_succ K))
83      simpa only [C, Nat.cast_add, Nat.cast_one, add_assoc, add_left_comm, add_comm] using h
84    have hdown (i : Fin d) :
85        ‖numberPower a (Function.update k i (k i-1)) m‖ ≤ C ^ m := by
86      have h := ih (K+1) (Function.update k i (k i-1)) (by
87        intro j
88        by_cases hji : j = i
89        · subst j; simp only [Function.update_self]; have := hk i; omega
90        · rw [Function.update_of_ne hji]; exact (hk j).trans (Nat.le_succ K))
91      simpa only [C, Nat.cast_add, Nat.cast_one, add_assoc, add_left_comm, add_comm] using h
92    have hp (i : Fin d) : ‖a i * (Real.sqrt (k i+1 : ℝ) : ℂ)‖ ≤
93        ‖a i‖ * Real.sqrt (K+(m+1) : ℝ) := by
94      rw [norm_mul, Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg (Real.sqrt_nonneg _)]
95      exact mul_le_mul_of_nonneg_left (Real.sqrt_le_sqrt (by exact_mod_cast
96        (show k i+1 ≤ K+(m+1) by have := hk i; omega))) (norm_nonneg _)
97    have hm (i : Fin d) : ‖starRingEnd ℂ (a i) * (Real.sqrt (k i : ℝ) : ℂ)‖ ≤
98        ‖a i‖ * Real.sqrt (K+(m+1) : ℝ) := by
99      rw [norm_mul, Complex.norm_conj, Complex.norm_real, Real.norm_eq_abs,
100        abs_of_nonneg (Real.sqrt_nonneg _)]
101      exact mul_le_mul_of_nonneg_left (Real.sqrt_le_sqrt (by exact_mod_cast
102        (show k i ≤ K+(m+1) by have := hk i; omega))) (norm_nonneg _)
103    rw [numberPower_succ]
104    calc
105      _ ≤ ∑ i, (‖(a i * (Real.sqrt (k i+1 : ℝ) : ℂ)) •
106            numberPower a (Function.update k i (k i+1)) m‖ +
107          ‖(starRingEnd ℂ (a i) * (Real.sqrt (k i : ℝ) : ℂ)) •
108            numberPower a (Function.update k i (k i-1)) m‖) :=
109        (norm_sum_le _ _).trans (Finset.sum_le_sum fun i _ => norm_sub_le _ _)
110      _ ≤ ∑ i, (‖a i‖ * Real.sqrt (K+(m+1) : ℝ) * C^m +
111          ‖a i‖ * Real.sqrt (K+(m+1) : ℝ) * C^m) := by
112        apply Finset.sum_le_sum
113        intro i _
114        simp only [norm_smul]
115        exact add_le_add
116          (mul_le_mul (hp i) (hup i) (norm_nonneg _) (by positivity))
117          (mul_le_mul (hm i) (hdown i) (norm_nonneg _) (by positivity))
118      _ = C^(m+1) := by
119        simp only [Finset.sum_add_distrib, ← Finset.sum_mul]
120        dsimp [C]
121        rw [pow_succ]
122        ring
123      _ = _ := by simp only [C, Nat.cast_add, Nat.cast_one]
124 
125end Cloning.MultimodeCoherent