Offline · exact source
Exact Lean source

TensorGibbsHeightSpectrum

formalization/Cloning/TensorGibbsHeightSpectrum.lean

Source hash: 88bc1b8110ca6c1f2fda69fdb050980f78aa4ae22be0fff9371b0889d562375f

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.TensorGibbsHeightBasis
2import Cloning.TensorGibbsTail
3 
4/-! Each fixed physical height trace is eventually its exact finite bosonic
5occupation sum. The trace identity follows from the constructed PBW basis. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace
8namespace Cloning.TensorLie
9open Cloning.PCT
10set_option maxHeartbeats 1200000
11set_option backward.isDefEq.respectTransparency false
12variable {n d : ℕ}
13local instance : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
14  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
15 
16variable (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
17    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
18    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
19 
20include hweight in
21theorem tensorOperator_diagonal_normalizedLoweringWord (p : Fin d → ℝ)
22    (hp : ∀ a, 0 < p a) (w : List (PositiveRoot d)) :
23    tensorOperator n (Matrix.diagonal (fun a => (p a : ℂ)))
24      (normalizedLoweringWord Ω mu w) =
25      (((∏ a, p a ^ mu a) * wordBoltzmann p w : ℝ) : ℂ) •
26        normalizedLoweringWord Ω mu w := by
27  rw [normalizedLoweringWord_eq_scale, map_smul,
28    tensorOperator_diagonal_loweringWord Ω mu hweight p hp w]
29  exact smul_comm _ _ _
30 
31theorem sectorGibbsOperator_height_invariant (p : Fin d → ℝ)
32    (hp : ∀ a, 0 < p a) (H : ℕ) (x : cyclicSector Ω)
33    (hx : x ∈ sectorHeightSpace Ω H) :
34    sectorGibbsOperator Ω mu hweight hraise p x ∈ sectorHeightSpace Ω H := by
35  change tensorOperator n (Matrix.diagonal (fun a => (p a : ℂ))) x.val ∈ cyclicHeightSpace Ω H
36  change x.val ∈ cyclicHeightSpace Ω H at hx
37  suffices hh : ∀ y : TensorRegister n (Fin d), y ∈ cyclicHeightSpace Ω H →
38      tensorOperator n (Matrix.diagonal (fun a => (p a : ℂ))) y ∈ cyclicHeightSpace Ω H from hh x.val hx
39  intro y hy
40  induction hy using Submodule.span_induction with
41  | mem x hx =>
42    obtain ⟨w, hw, rfl⟩ := hx
43    rw [tensorOperator_diagonal_loweringWord Ω mu hweight p hp]
44    exact Submodule.smul_mem _ _ (Submodule.subset_span ⟨w,hw,rfl⟩)
45  | zero => simp
46  | add x y hx hy ihx ihy => simpa only [map_add] using Submodule.add_mem _ ihx ihy
47  | smul c x hx ih => simpa only [map_smul] using Submodule.smul_mem _ c ih
48 
49def sectorHeightOperator (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (H : ℕ) :
50    sectorHeightSpace Ω H →ₗ[ℂ] sectorHeightSpace Ω H :=
51  (sectorGibbsOperator Ω mu hweight hraise p).toLinearMap.restrict
52    (sectorGibbsOperator_height_invariant Ω mu hweight hraise p hp H)
53 
54theorem sectorHeightTrace_eq_trace (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (H : ℕ) :
55    sectorHeightTrace Ω mu hweight hraise p H =
56      (LinearMap.trace ℂ (sectorHeightSpace Ω H)
57        (sectorHeightOperator Ω mu hweight hraise p hp H)).re := by
58  rw [LinearMap.trace_eq_sum_inner _ (stdOrthonormalBasis ℂ (sectorHeightSpace Ω H)), Complex.re_sum]
59  rfl
60 
61theorem canonicalHeightBasis_gibbs (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (H : ℕ)
62    (hgap : ∀ a : PositiveRoot d, 0 < (mu a.val.1 : ℝ) - mu a.val.2)
63    (hli : LinearIndependent ℂ (fun k : HeightOccupation d H =>
64      normalizedLoweringWord Ω mu (canonicalWord k.val))) (k : ExactHeightOccupation d H) :
65    sectorHeightOperator Ω mu hweight hraise p hp H (canonicalHeightBasis Ω mu H hgap hli k) =
66      (((∏ a, p a ^ mu a) * wordBoltzmann p (canonicalWord k.val.val) : ℝ) : ℂ) •
67        canonicalHeightBasis Ω mu H hgap hli k := by
68  apply Subtype.ext
69  apply Subtype.ext
70  change tensorOperator n (Matrix.diagonal (fun a => (p a : ℂ)))
71      ((canonicalHeightBasis Ω mu H hgap hli k : cyclicSector Ω) : TensorRegister n (Fin d)) = _
72  simp only [Submodule.coe_smul, canonicalHeightBasis_coe]
73  exact tensorOperator_diagonal_normalizedLoweringWord Ω mu hweight p hp _
74 
75def bosonicHeightMass (p : Fin d → ℝ) (H : ℕ) : ℝ :=
76  ∑ k : ExactHeightOccupation d H, wordBoltzmann p (canonicalWord k.val.val)
77 
78theorem sectorHeightMass_eq_bosonic (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (H : ℕ)
79    (hgap : ∀ a : PositiveRoot d, 0 < (mu a.val.1 : ℝ) - mu a.val.2)
80    (hli : LinearIndependent ℂ (fun k : HeightOccupation d H =>
81      normalizedLoweringWord Ω mu (canonicalWord k.val))) :
82    sectorHeightMass Ω mu hweight hraise p H = bosonicHeightMass p H := by
83  classical
84  have hm : (∏ a, p a ^ mu a) ≠ 0 := (Finset.prod_pos (fun a _ => pow_pos (hp a) _)).ne'
85  unfold sectorHeightMass
86  rw [sectorHeightTrace_eq_trace Ω mu hweight hraise p hp H,
87    LinearMap.trace_eq_matrix_trace ℂ (canonicalHeightBasis Ω mu H hgap hli)]
88  simp only [Matrix.trace, Matrix.diag_apply, LinearMap.toMatrix_apply, canonicalHeightBasis_gibbs,
89    map_smul, Module.Basis.repr_self, Finsupp.smul_apply, Finsupp.single_eq_same, smul_eq_mul,
90    mul_one, Complex.re_sum, Complex.ofReal_re]
91  rw [← Finset.mul_sum, mul_div_cancel_left₀ _ hm]
92  rfl
93 
94end Cloning.TensorLie