Offline · exact source
Exact Lean source

TensorGibbsTail

formalization/Cloning/TensorGibbsTail.lean

Source hash: 1294c492362da6fd0aee76f763eb58e672e25e7edeccb8b9d11236b100bc27ed

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.TensorGibbsTrace
2import Cloning.TensorGibbsDecay
3 
4/-! Uniform summable tails of the literal physical sector partition function.
5The envelope is independent of the tensor size and highest weight. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Topology
8open Filter
9namespace Cloning.TensorLie
10open Cloning.PCT Cloning.InfiniteTraceClass
11set_option maxHeartbeats 1000000
12set_option backward.isDefEq.respectTransparency false
13variable {n d : ℕ}
14 
15local instance : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
16  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
17 
18variable (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
19    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
20    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
21 
22def sectorHeightMass (p : Fin d → ℝ) (H : ℕ) : ℝ :=
23  sectorHeightTrace Ω mu hweight hraise p H / (∏ a, p a ^ mu a)
24 
25theorem sectorHeightMass_nonneg (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (H : ℕ) :
26    0 ≤ sectorHeightMass Ω mu hweight hraise p H :=
27  div_nonneg (sectorHeightTrace_nonneg Ω mu hweight hraise p (fun a => (hp a).le) H)
28    (Finset.prod_nonneg (fun a _ => pow_nonneg (hp a).le _))
29 
30theorem sectorHeightMass_summable (p : Fin d → ℝ) :
31    Summable (sectorHeightMass Ω mu hweight hraise p) :=
32  (sectorHeightTrace_summable Ω mu hweight hraise p).div_const _
33 
34theorem sectorPartitionFunction_div_highest (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) :
35    sectorPartitionFunction Ω mu hweight hraise p / (∏ a, p a ^ mu a) =
36      ∑' H : ℕ, sectorHeightMass Ω mu hweight hraise p H := by
37  rw [sectorPartitionFunction_eq_tsum_height Ω mu hweight hraise p (fun a => (hp a).le),
38    ← tsum_div_const]
39  rfl
40 
41theorem sectorHeightMass_le_envelope (p : Fin d → ℝ) (hp : ∀ a, 0 < p a)
42    (θ : ℝ) (hθ : 0 ≤ θ)
43    (hroot : ∀ r : PositiveRoot d, rootBoltzmann p r ≤ θ ^ r.height) (H : ℕ) :
44    sectorHeightMass Ω mu hweight hraise p H ≤ heightEnvelope d θ H := by
45  have hm : 0 < ∏ a, p a ^ mu a := Finset.prod_pos (fun a _ => pow_pos (hp a) _)
46  apply (div_le_iff₀ hm).mpr
47  have hh := sectorHeightTrace_le Ω mu hweight hraise p hp θ hθ hroot H
48  simpa only [heightEnvelope, mul_assoc, mul_left_comm, mul_comm] using hh
49 
50def heightTailEnvelope (d : ℕ) (θ : ℝ) (R : ℕ) : ℝ :=
51  ∑' H : ℕ, heightEnvelope d θ (H + R)
52 
53theorem heightTailEnvelope_tendsto_zero (d : ℕ) (θ : ℝ) :
54    Tendsto (heightTailEnvelope d θ) atTop (𝓝 0) :=
55  tendsto_sum_nat_add (heightEnvelope d θ)
56 
57theorem sectorHeightMass_tail_le (p : Fin d → ℝ) (hp : ∀ a, 0 < p a)
58    (θ : ℝ) (hθ : 0 < θ) (hθ1 : θ < 1)
59    (hroot : ∀ r : PositiveRoot d, rootBoltzmann p r ≤ θ ^ r.height) (R : ℕ) :
60    (∑' H : ℕ, sectorHeightMass Ω mu hweight hraise p (H + R)) ≤
61      heightTailEnvelope d θ R := by
62  apply Summable.tsum_le_tsum
63    (fun H => sectorHeightMass_le_envelope Ω mu hweight hraise p hp θ hθ.le hroot (H+R))
64  · exact (summable_nat_add_iff R).mpr (sectorHeightMass_summable Ω mu hweight hraise p)
65  · exact (summable_nat_add_iff R).mpr (heightEnvelope_summable (d := d) θ hθ hθ1)
66 
67theorem sectorPartitionFunction_cutoff_error (p : Fin d → ℝ) (hp : ∀ a, 0 < p a)
68    (θ : ℝ) (hθ : 0 < θ) (hθ1 : θ < 1)
69    (hroot : ∀ r : PositiveRoot d, rootBoltzmann p r ≤ θ ^ r.height) (R : ℕ) :
70    0 ≤ sectorPartitionFunction Ω mu hweight hraise p / (∏ a, p a ^ mu a) -
71      ∑ H ∈ Finset.range R, sectorHeightMass Ω mu hweight hraise p H ∧
72    sectorPartitionFunction Ω mu hweight hraise p / (∏ a, p a ^ mu a) -
73      ∑ H ∈ Finset.range R, sectorHeightMass Ω mu hweight hraise p H ≤
74        heightTailEnvelope d θ R := by
75  rw [sectorPartitionFunction_div_highest Ω mu hweight hraise p hp,
76    ← (sectorHeightMass_summable Ω mu hweight hraise p).sum_add_tsum_nat_add R,
77    add_sub_cancel_left]
78  exact ⟨tsum_nonneg (fun H => sectorHeightMass_nonneg Ω mu hweight hraise p hp (H+R)),
79    sectorHeightMass_tail_le Ω mu hweight hraise p hp θ hθ hθ1 hroot R⟩
80 
81end Cloning.TensorLie