Exact Lean source
TensorCloningRetainedCoefficients
formalization/Cloning/TensorCloningRetainedCoefficients.lean
Source hash: 01432b133bc659533c001456c2907bbe9947416d58f64f407613640d377b670b
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
definition
Cloning.TensorCloning.partitionTransitionOutputtheorem Cloning.TensorCloning.partitionTransitionOutput_normdefinition Cloning.TensorCloning.partitionTransitionCoefficienttheorem Cloning.TensorCloning.partitionTransitionCoefficient_addtheorem Cloning.TensorCloning.partitionTransitionCoefficient_tendsto_of_scaledtheorem Cloning.TensorCloning.partitionTransitionCoefficient_uniform1import Cloning.TensorCloningAchievabilitySector
2import Cloning.TensorCloningAchievabilityUniform
3
4/-! Actual common-target conditional output coefficients and their uniform
5limits over arbitrary varying retained source families. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Classical Topology
8open Filter
9namespace Cloning.TensorCloning
10open Cloning.PCT Cloning.TensorLie Cloning.TensorLAN Cloning.InfiniteTraceClass Cloning.Hybrid
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 2000000
13set_option synthInstance.maxHeartbeats 200000
14variable {d : ℕ}
15local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
16 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
17
18def partitionTransitionOutput (μ ν : Fin d → ℕ) (hμ : Antitone μ) (hν : Antitone ν)
19 (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) :
20 PositiveTraceClass (cyclicSector (partitionHighestTensor ν hν)) :=
21 (partitionGibbsPositive μ hμ p hp).map (partitionTransitionChannel μ ν hμ hν).toPositiveTracePreservingMap
22
23theorem partitionTransitionOutput_norm (μ ν : Fin d → ℕ) (hμ : Antitone μ) (hν : Antitone ν)
24 (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) : ‖(partitionTransitionOutput μ ν hμ hν p hp).1‖ = 1 := by
25 rw [partitionTransitionOutput, PositiveTraceClass.norm_map, partitionGibbsPositive_norm]
26
27def partitionTransitionCoefficient (μ ν : Fin d → ℕ) (hμ : Antitone μ) (hν : Antitone ν)
28 (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (R : ℕ) (i j : CutoffIndex d R) : ℂ :=
29 ⟪cutoffSectorFrame (partitionHighestTensor ν hν) ν R i,
30 (partitionTransitionOutput μ ν hμ hν p hp).1.1
31 (cutoffSectorFrame (partitionHighestTensor ν hν) ν R j)⟫_ℂ
32
33theorem partitionTransitionCoefficient_add (μ τ : Fin d → ℕ) (hμ : Antitone μ) (hτ : Antitone τ)
34 (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (R : ℕ) (i j : CutoffIndex d R) :
35 partitionTransitionCoefficient μ (fun a => μ a+τ a) hμ (sumPartition_antitone μ τ hμ hτ) p hp R i j =
36 ⟪cutoffSectorFrame (partitionHighestTensor _ (sumPartition_antitone μ τ hμ hτ)) (fun a => μ a+τ a) R i,
37 (cartanGibbsOutput μ τ hμ hτ p).1
38 (cutoffSectorFrame (partitionHighestTensor _ (sumPartition_antitone μ τ hμ hτ)) (fun a => μ a+τ a) R j)⟫_ℂ := by
39 unfold partitionTransitionCoefficient partitionTransitionOutput
40 rw [partitionTransitionChannel_add]
41 rfl
42
43/-- The row-frequency hypotheses alone imply the actual conditional output
44coefficient limit, with finitely many incompatible indices handled internally. -/
45theorem partitionTransitionCoefficient_tendsto_of_scaled
46 (n : ℕ → ℕ) (hn : Tendsto n atTop atTop)
47 (μ ν : ℕ → Fin d → ℕ) (hμ : ∀ N, Antitone (μ N)) (hν : ∀ N, Antitone (ν N))
48 (pN : ℕ → Fin d → ℝ) (hpN : ∀ N a, 0 < pN N a)
49 (p : SimpleSpectrum d) (hlim : ∀ a, Tendsto (fun N => pN N a) atTop (𝓝 (p.eigenvalue a)))
50 (γ : ℝ) (hγ : 1 < γ)
51 (hμlim : ∀ a, Tendsto (fun N => (μ N a : ℝ)/(n N : ℝ)) atTop (𝓝 (p.eigenvalue a)))
52 (hνlim : ∀ a, Tendsto (fun N => (ν N a : ℝ)/(n N : ℝ)) atTop (𝓝 (γ*p.eigenvalue a)))
53 (R : ℕ) (i j : CutoffIndex d R) :
54 Tendsto (fun N => partitionTransitionCoefficient (μ N) (ν N) (hμ N) (hν N) (pN N) (hpN N) R i j)
55 atTop (𝓝 (if i=j then
56 (amplifiedOccupationWeight (fun _ => γ⁻¹) (rootBoltzmann p.eigenvalue) (cutoffOccupation d R i).val : ℂ) else 0)) := by
57 have hc := eventually_partitionCompatible_of_scaled_limits n hn μ ν p.eigenvalue p.positive p.strictAnti
58 γ hγ hμlim hνlim
59 obtain ⟨δμ,hδμ,hgμ⟩ := exists_root_gap_of_scaled_limits n hn μ p.eigenvalue p.positive p.strictAnti hμlim
60 obtain ⟨δτ,hδτ,hgτ⟩ := exists_root_gap_of_scaled_limits n hn (fun N a => ν N a-μ N a)
61 (fun a => (γ-1)*p.eigenvalue a) (fun a => mul_pos (sub_pos.mpr hγ) (p.positive a))
62 (fun a b hab => mul_lt_mul_of_pos_left (p.strictAnti hab) (sub_pos.mpr hγ))
63 (difference_scaled_tendsto n μ ν p.eigenvalue γ hμlim hνlim hc)
64 have ht := rootFraction_difference_tendsto n hn μ ν p.eigenvalue p.strictAnti γ (by linarith) hμlim hνlim hc
65 let τ : ℕ → Fin d → ℕ := fun N => if Antitone (fun a => ν N a-μ N a) then
66 (fun a => ν N a-μ N a) else fun _ => 0
67 have hτ N : Antitone (τ N) := by
68 dsimp only [τ]
69 split_ifs with h
70 · exact h
71 · intro a b _; rfl
72 have he : ∀ᶠ N in atTop, τ N = (fun a => ν N a-μ N a) :=
73 hc.mono (fun N hN => by simp only [τ,if_pos hN.2])
74 have hτgap : ∀ᶠ N in atTop, ∀ a : PositiveRoot d, δτ N ≤ rootGap (τ N) a := by
75 filter_upwards [he,hgτ] with N hN hg
76 simpa only [hN] using hg
77 have hτfraction a : Tendsto (fun N => rootFraction (μ N) (τ N) a) atTop (𝓝 γ⁻¹) :=
78 (ht a).congr' (he.mono (fun N hN => by
79 change rootFraction (μ N) (fun a => ν N a-μ N a) a = rootFraction (μ N) (τ N) a
80 rw [hN]))
81 have hf := cartanGibbsOutput_cutoff_coefficient_tendsto μ τ hμ hτ δμ δτ hδμ hδτ hgμ hτgap
82 (fun _ => γ⁻¹) (fun _ => (inv_pos.mpr (by linarith : 0 < γ)).le)
83 (fun _ => (inv_le_one₀ (by linarith : 0 < γ)).mpr hγ.le) hτfraction
84 pN p.eigenvalue p.positive p.strictAnti hlim R i j
85 apply hf.congr'
86 filter_upwards [he,hc] with N hN hNc
87 have hs : (fun a => μ N a+τ N a) = ν N := by
88 funext a
89 rw [hN]
90 exact Nat.add_sub_of_le (hNc.1 a)
91 have hh := partitionTransitionCoefficient_add (μ N) (τ N) (hμ N) (hτ N) (pN N) (hpN N) R i j
92 simpa only [hs] using hh.symm
93
94/-- Uniformity over a varying source family follows from the physical row
95frequencies. The cardinality of the retained family is unrestricted. -/
96theorem partitionTransitionCoefficient_uniform
97 {J : ℕ → Type*} (n : ℕ → ℕ) (hn : Tendsto n atTop atTop)
98 (μ : ∀ N, J N → Fin d → ℕ) (ν : ℕ → Fin d → ℕ)
99 (hμ : ∀ N a, Antitone (μ N a)) (hν : ∀ N, Antitone (ν N))
100 (pN : ℕ → Fin d → ℝ) (hpN : ∀ N a, 0 < pN N a)
101 (p : SimpleSpectrum d) (hlim : ∀ a, Tendsto (fun N => pN N a) atTop (𝓝 (p.eigenvalue a)))
102 (γ : ℝ) (hγ : 1 < γ)
103 (hμlim : ∀ a ε, 0 < ε → ∀ᶠ N in atTop, ∀ j : J N,
104 |(μ N j a : ℝ)/(n N : ℝ)-p.eigenvalue a| < ε)
105 (hνlim : ∀ a, Tendsto (fun N => (ν N a : ℝ)/(n N : ℝ)) atTop (𝓝 (γ*p.eigenvalue a)))
106 (R : ℕ) (i j : CutoffIndex d R) (ε : ℝ) (hε : 0 < ε) :
107 ∀ᶠ N in atTop, ∀ a : J N,
108 ‖partitionTransitionCoefficient (μ N a) (ν N) (hμ N a) (hν N) (pN N) (hpN N) R i j -
109 (if i=j then (amplifiedOccupationWeight (fun _ => γ⁻¹) (rootBoltzmann p.eigenvalue)
110 (cutoffOccupation d R i).val : ℂ) else 0)‖ < ε := by
111 have hh := eventually_uniform_of_subsequences (fun N (_ : J N) => True)
112 (fun N a => ‖partitionTransitionCoefficient (μ N a) (ν N) (hμ N a) (hν N) (pN N) (hpN N) R i j -
113 (if i=j then (amplifiedOccupationWeight (fun _ => γ⁻¹) (rootBoltzmann p.eigenvalue)
114 (cutoffOccupation d R i).val : ℂ) else 0)‖ < ε) (by
115 intro φ hφ a _
116 have hm b : Tendsto (fun k => (μ (φ k) (a k) b : ℝ)/(n (φ k) : ℝ)) atTop (𝓝 (p.eigenvalue b)) := by
117 apply Metric.tendsto_nhds.mpr
118 intro η hη
119 filter_upwards [hφ.eventually (hμlim b η hη)] with k hk
120 simpa only [Real.dist_eq] using hk (a k)
121 have hf := partitionTransitionCoefficient_tendsto_of_scaled (fun k => n (φ k)) (hn.comp hφ)
122 (fun k => μ (φ k) (a k)) (fun k => ν (φ k)) (fun k => hμ (φ k) (a k)) (fun k => hν (φ k))
123 (fun k => pN (φ k)) (fun k => hpN (φ k)) p (fun b => (hlim b).comp hφ) γ hγ hm
124 (fun b => (hνlim b).comp hφ) R i j
125 simpa only [dist_eq_norm] using Metric.tendsto_nhds.mp hf ε hε)
126 exact hh.mono (fun N hN a => hN a trivial)
127
128end Cloning.TensorCloning