Offline · exact source
Exact Lean source

TensorGibbsHeight

formalization/Cloning/TensorGibbsHeight.lean

Source hash: 5a9da9d0289f4b06c8cd334532045d8456f634a468e171ee3ae9a0d2deb3020f

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.TensorWeightFrameOrthogonal
2import Cloning.TensorPBWSpanning
3import Cloning.TensorCyclicOccupancy
4 
5/-! Exact orthogonal height grading and genuine operator bounds for the
6physical sector Gibbs operator. The bounds are derived from computational
7support and root weights, with no Gibbs-tail hypothesis. -/
8noncomputable section
9open scoped BigOperators InnerProductSpace ComplexOrder
10namespace Cloning.TensorLie
11open Cloning.PCT Cloning.InfiniteTraceClass
12set_option maxHeartbeats 1200000
13set_option backward.isDefEq.respectTransparency false
14variable {n d : ℕ}
15 
16local instance : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
17  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
18 
19theorem cartan_isSymmetric (a : Fin d) : (collectiveGenerator n a a).toLinearMap.IsSymmetric := by
20  intro x y
21  change ⟪collectiveGenerator n a a x, y⟫_ℂ = ⟪x, collectiveGenerator n a a y⟫_ℂ
22  rw [← ContinuousLinearMap.adjoint_inner_right, collectiveGenerator_adjoint]
23 
24theorem loweringWord_inner_eq_zero_of_height_ne
25    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
26    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
27    (u v : List (PositiveRoot d)) (huv : loweringHeight u ≠ loweringHeight v) :
28    ⟪loweringWord Ω u, loweringWord Ω v⟫_ℂ = 0 := by
29  have hw : loweringWeight u ≠ loweringWeight v := by
30    intro he
31    have hh := loweringWeight_index_sum u
32    rw [he, loweringWeight_index_sum v] at hh
33    exact huv (by exact_mod_cast hh.symm)
34  obtain ⟨a, ha⟩ := Function.ne_iff.mp hw
35  apply inner_eq_zero_of_real_eigenvalues (collectiveGenerator n a a).toLinearMap
36    (cartan_isSymmetric a) _ _ ((mu a : ℝ) + loweringWeight u a)
37      ((mu a : ℝ) + loweringWeight v a)
38  · simpa only [Complex.ofReal_add, Complex.ofReal_natCast, Complex.ofReal_intCast] using
39      cartan_loweringWord Ω (fun a => (mu a : ℂ)) hweight u a
40  · simpa only [Complex.ofReal_add, Complex.ofReal_natCast, Complex.ofReal_intCast] using
41      cartan_loweringWord Ω (fun a => (mu a : ℂ)) hweight v a
42  · intro he
43    apply ha
44    exact_mod_cast (add_left_cancel he)
45 
46theorem cyclicHeightSpace_isOrtho
47    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
48    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
49    {H J : ℕ} (hHJ : H ≠ J) :
50    (cyclicHeightSpace Ω H).IsOrtho (cyclicHeightSpace Ω J) := by
51  rw [cyclicHeightSpace, cyclicHeightSpace, Submodule.isOrtho_span]
52  rintro x ⟨u, hu, rfl⟩ y ⟨v, hv, rfl⟩
53  exact loweringWord_inner_eq_zero_of_height_ne Ω mu hweight u v (by simpa [hu, hv] using hHJ)
54 
55/-- The actual height subspace inside the cyclic Hilbert space. -/
56def sectorHeightSpace (Ω : TensorRegister n (Fin d)) (H : ℕ) : Submodule ℂ (cyclicSector Ω) :=
57  (cyclicHeightSpace Ω H).comap (cyclicSector Ω).subtype
58 
59theorem sectorHeightSpace_finrank_le (Ω : TensorRegister n (Fin d)) (H : ℕ) :
60    Module.finrank ℂ (sectorHeightSpace Ω H) ≤ (H+1)^Fintype.card (PositiveRoot d) := by
61  have he := Submodule.comapSubtypeEquivOfLe
62    ((cyclicHeightSpace_le_cutoff Ω H).trans (cyclicCutoff_le_cyclicSector Ω _))
63  exact he.finrank_eq.trans_le (finrank_cyclicHeightSpace_le_polynomial Ω H)
64 
65theorem sectorHeightSpace_orthogonal
66    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
67    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω) :
68    OrthogonalFamily ℂ (fun H => sectorHeightSpace Ω H)
69      (fun H => (sectorHeightSpace Ω H).subtypeₗᵢ) := by
70  apply OrthogonalFamily.of_pairwise
71  intro H J hHJ x hx y hy
72  exact cyclicHeightSpace_isOrtho Ω mu hweight hHJ hx y.1 hy
73 
74theorem iSup_sectorHeightSpace (Ω : TensorRegister n (Fin d)) :
75    (⨆ H : ℕ, sectorHeightSpace Ω H) = ⊤ := by
76  apply le_antisymm le_top
77  intro x _
78  have hx : x.1 ∈ cyclicSector Ω := x.2
79  have hx' : x.1 ∈ ⨆ H : ℕ, cyclicHeightSpace Ω H :=
80    (cyclicSector_eq_iSup_cyclicHeightSpace Ω).le hx
81  have hm : (⨆ H : ℕ, cyclicHeightSpace Ω H) ≤
82      (⨆ H : ℕ, sectorHeightSpace Ω H).map (cyclicSector Ω).subtype := by
83    apply iSup_le
84    intro H y hy
85    refine ⟨⟨y, (cyclicCutoff_le_cyclicSector Ω _) (cyclicHeightSpace_le_cutoff Ω H hy)⟩, ?_, rfl⟩
86    exact (le_iSup (fun H => sectorHeightSpace Ω H) H) hy
87  obtain ⟨y, hy, he⟩ := hm hx'
88  have hyx : y = x := Subtype.ext he
89  simpa only [hyx] using hy
90 
91def tensorWordMultiplier (p : Fin d → ℝ) (v : Fin n → Fin d) : ℝ := ∏ t, p (v t)
92 
93theorem tensorWordMultiplier_loweringWord
94    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
95    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
96    (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (w : List (PositiveRoot d))
97    (v : Fin n → Fin d) (hv : loweringWord Ω w v ≠ 0) :
98    tensorWordMultiplier p v = (∏ a, p a ^ mu a) * wordBoltzmann p w := by
99  have he := congrArg (fun x : TensorRegister n (Fin d) => x v)
100    (tensorOperator_diagonal_loweringWord Ω mu hweight p hp w)
101  simp only [tensorOperator_diagonal_apply, lp.coeFn_smul, Pi.smul_apply, smul_eq_mul] at he
102  apply Complex.ofReal_injective
103  simpa only [tensorWordMultiplier, Complex.ofReal_prod] using mul_right_cancel₀ hv he
104 
105/-- Outside the finite-height Boltzmann bound every computational coefficient
106of the whole height space vanishes, not only those of a preferred word family. -/
107theorem cyclicHeightSpace_coefficient_bound
108    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
109    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
110    (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (θ : ℝ) (hθ : 0 ≤ θ)
111    (hroot : ∀ r : PositiveRoot d, rootBoltzmann p r ≤ θ ^ r.height)
112    (H : ℕ) {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicHeightSpace Ω H)
113    (v : Fin n → Fin d)
114    (hv : (∏ a, p a ^ mu a) * θ^H < tensorWordMultiplier p v) : x v = 0 := by
115  induction hx using Submodule.span_induction with
116  | mem x hx =>
117    obtain ⟨w, hw, rfl⟩ := hx
118    by_contra hn
119    have he := tensorWordMultiplier_loweringWord Ω mu hweight p hp w v hn
120    have hb : (∏ a, p a ^ mu a) * wordBoltzmann p w ≤
121        (∏ a, p a ^ mu a) * θ ^ loweringHeight w := mul_le_mul_of_nonneg_left
122      (wordBoltzmann_le_pow_height p (fun a => (hp a).le) θ hθ hroot w)
123      (Finset.prod_nonneg (fun a _ => pow_nonneg (hp a).le (mu a)))
124    rw [hw, ← he] at hb
125    exact (not_lt_of_ge hb) hv
126  | zero => rfl
127  | add x y hx hy ihx ihy => simp [lp.coeFn_add, ihx, ihy]
128  | smul c x hx ih => simp [lp.coeFn_smul, ih]
129 
130theorem tensorOperator_diagonal_norm_le_on_height
131    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
132    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
133    (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (θ : ℝ) (hθ : 0 ≤ θ)
134    (hroot : ∀ r : PositiveRoot d, rootBoltzmann p r ≤ θ ^ r.height)
135    (H : ℕ) {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicHeightSpace Ω H) :
136    ‖tensorOperator n (Matrix.diagonal (fun a => (p a : ℂ))) x‖ ≤
137      ((∏ a, p a ^ mu a) * θ^H) * ‖x‖ := by
138  apply register_norm_le_of_pointwise _ x _
139    (mul_nonneg (Finset.prod_nonneg (fun a _ => pow_nonneg (hp a).le (mu a))) (pow_nonneg hθ H))
140  intro v
141  rw [tensorOperator_diagonal_apply, norm_mul]
142  by_cases hv : x v = 0
143  · simp [hv]
144  · have hb : tensorWordMultiplier p v ≤ (∏ a, p a ^ mu a) * θ^H := by
145      by_contra! hh
146      exact hv (cyclicHeightSpace_coefficient_bound Ω mu hweight p hp θ hθ hroot H hx v hh)
147    have hn : ‖∏ t, (p (v t) : ℂ)‖ = tensorWordMultiplier p v := by
148      rw [← Complex.ofReal_prod, Complex.norm_real, Real.norm_eq_abs,
149        abs_of_nonneg (Finset.prod_nonneg (fun t _ => (hp (v t)).le))]
150      rfl
151    rw [hn]
152    exact mul_le_mul_of_nonneg_right hb (norm_nonneg _)
153 
154end Cloning.TensorLie