Offline · exact source
Exact Lean source

TensorGibbsCenteredLAN

formalization/Cloning/TensorGibbsCenteredLAN.lean

Source hash: 13dfe8f28ff4d7701e848c68dfdbb526bbb3eec536ac8254d960e50f6118ea96

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.TensorGibbsStateLimit
2import Cloning.TensorGibbsThermalIdentification
3import Cloning.TensorLANEmbeddingDiagonal
4 
5/-! A single slowly diverging sequence of the actual total cutoff channels
6transfers centered physical Gibbs states in both directions in trace norm. -/
7noncomputable section
8open scoped BigOperators Topology
9open Filter
10namespace Cloning.TensorLie
11open Cloning.PCT Cloning.InfiniteTraceClass Cloning.TensorLAN
12set_option maxHeartbeats 1200000
13set_option backward.isDefEq.respectTransparency false
14variable {d : ℕ}
15local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
16  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
17 
18def partitionGibbsForwardError (mu : Fin d → ℕ) (hmu : Antitone mu)
19    (p t : Fin d → ℝ) (R : ℕ) : ℝ :=
20  ‖(sectorToFockTotal (partitionHighestTensor mu hmu) mu R).toLinearMap
21    (sectorGibbsDensity (partitionHighestTensor mu hmu) mu
22      (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) p) -
23    rootThermalState t‖
24 
25def partitionGibbsReverseError (mu : Fin d → ℕ) (hmu : Antitone mu)
26    (p t : Fin d → ℝ) (R : ℕ) : ℝ :=
27  ‖(fockToSectorTotal (partitionHighestTensor mu hmu) mu R (partitionHighestTensor_norm mu hmu)).toLinearMap
28    (rootThermalState t) - sectorGibbsDensity (partitionHighestTensor mu hmu) mu
29      (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) p‖
30 
31theorem exists_diverging_cutoff_twoWay_gibbs
32    (mu : ℕ → Fin d → ℕ) (hmu : ∀ N, Antitone (mu N))
33    (δ : ℕ → ℝ) (hδ : Tendsto δ atTop atTop)
34    (hgap : ∀ᶠ N in atTop, ∀ a : PositiveRoot d,
35      δ N ≤ (mu N a.val.1 : ℝ) - mu N a.val.2)
36    (pN : ℕ → Fin d → ℝ) (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (hord : StrictAnti p)
37    (hlim : ∀ a, Tendsto (fun N => pN N a) atTop (𝓝 (p a))) :
38    ∃ R : ℕ → ℕ, Monotone R ∧ Tendsto R atTop atTop ∧
39      Tendsto (fun N => partitionGibbsForwardError (mu N) (hmu N) (pN N) p (R N)) atTop (𝓝 0) ∧
40      Tendsto (fun N => partitionGibbsReverseError (mu N) (hmu N) (pN N) p (R N)) atTop (𝓝 0) := by
41  let bound (r : ℕ) : ℝ := 2 * ‖rootThermalState p - rootThermalCutoff p r‖ + 1 / ((r : ℝ)+1)
42  let P (N r : ℕ) : Prop :=
43    CutoffReady (partitionHighestTensor (mu N) (hmu N)) (mu N) r ∧ (∀ a, 0 < pN N a) ∧
44    gibbsThermalCutoffError (partitionHighestTensor (mu N) (hmu N)) (mu N)
45      (partitionHighestTensor_cartan (mu N) (hmu N))
46      (partitionHighestTensor_raising_zero (mu N) (hmu N)) (pN N) p r ≤ bound r
47  have hpN : ∀ᶠ N in atTop, ∀ a, 0 < pN N a :=
48    Filter.eventually_all.mpr (fun a => (hlim a).eventually (eventually_gt_nhds (hp a)))
49  have hP (r : ℕ) : ∀ᶠ N in atTop, P N r := by
50    have hb := (gibbsThermalCutoffError_tendsto mu hmu δ hδ hgap pN p hp hord hlim r).eventually
51      (eventually_lt_nhds (show 2 * ‖rootThermalState p - rootThermalCutoff p r‖ < bound r by
52        dsimp [bound]; exact lt_add_of_pos_right _ (by positivity)))
53    filter_upwards [partition_eventually_CutoffReady mu hmu δ hδ hgap r, hpN, hb] with N hr hn hb
54    exact ⟨hr,hn,hb.le⟩
55  obtain ⟨R, hmono, hR, _, he⟩ := exists_common_diverging_cutoff P hP
56  have hb : Tendsto (fun N => bound (R N)) atTop (𝓝 0) := by
57    have ht := ((rootThermalCutoff_error_tendsto_zero p hp hord).const_mul 2).add
58      (tendsto_one_div_add_atTop_nhds_zero_nat (𝕜 := ℝ))
59    have hc := ht.comp hR
60    simpa only [mul_zero, add_zero] using hc
61  refine ⟨R,hmono,hR,?_,?_⟩
62  · dsimp only [partitionGibbsForwardError]
63    apply squeeze_zero' (Eventually.of_forall (fun N => norm_nonneg _)) ?_ hb
64    filter_upwards [he] with N hN
65    have hh := hN (R N) le_rfl
66    exact (sectorToFockTotal_gibbs_error _ _ _ _ (partitionHighestTensor_norm _ _) _ _ hh.2.1 _ hh.1).trans hh.2.2
67  · apply squeeze_zero' (Eventually.of_forall (fun N =>
68      show 0 ≤ partitionGibbsReverseError (mu N) (hmu N) (pN N) p (R N) from norm_nonneg _)) ?_ hb
69    filter_upwards [he] with N hN
70    have hh := hN (R N) le_rfl
71    exact (fockToSectorTotal_gibbs_error _ _ _ _ (partitionHighestTensor_norm _ _) _ _ hh.2.1 hp hord _ hh.1).trans hh.2.2
72 
73end Cloning.TensorLie