Offline · exact source
Exact Lean source

TensorCloningRetainedMixture

formalization/Cloning/TensorCloningRetainedMixture.lean

Source hash: 15cc24398b4146be48a2dbb3a9be11ed1265f5f6503d51afffee42e7352f285d

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.TensorCloningRetainedCoefficients
2import Cloning.InfiniteFidelityCornerMixture
3 
4/-! Exact fidelity convergence for arbitrary normalized retained Cartan
5mixtures sharing one actual physical output sector. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Classical Topology
8open Filter
9namespace Cloning.TensorCloning
10open Cloning.PCT Cloning.TensorLie Cloning.TensorLAN Cloning.InfiniteTraceClass Cloning.Hybrid
11open Cloning.InfiniteFidelityCorner
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 2400000
14set_option synthInstance.maxHeartbeats 200000
15variable {d : ℕ}
16local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
17  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
18 
19def partitionTransitionMixture {J : Type*} [Fintype J]
20    (μ : J → Fin d → ℕ) (ν : Fin d → ℕ) (hμ : ∀ a, Antitone (μ a)) (hν : Antitone ν)
21    (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) (q : J → ℝ) (hq : ∀ a, 0 ≤ q a) :
22    PositiveTraceClass (cyclicSector (partitionHighestTensor ν hν)) :=
23  PositiveTraceClass.finiteMixture q hq (fun a => partitionTransitionOutput (μ a) ν (hμ a) hν p hp)
24 
25/-- The mixture has its exact orbital fidelity limit for arbitrary varying
26probability weights. Uniform source row frequencies and the common target
27frequency are the only representation asymptotic hypotheses. -/
28theorem partitionTransitionMixture_rootFidelity_tendsto
29    {J : ℕ → Type*} [∀ N, Fintype (J N)]
30    (n : ℕ → ℕ) (hn : Tendsto n atTop atTop)
31    (μ : ∀ N, J N → Fin d → ℕ) (ν : ℕ → Fin d → ℕ)
32    (hμ : ∀ N a, Antitone (μ N a)) (hν : ∀ N, Antitone (ν N))
33    (pN : ℕ → Fin d → ℝ) (hpN : ∀ N a, 0 < pN N a)
34    (p : SimpleSpectrum d) (hlim : ∀ a, Tendsto (fun N => pN N a) atTop (𝓝 (p.eigenvalue a)))
35    (γ : ℝ) (hγ : 1 < γ)
36    (hμlim : ∀ a ε, 0 < ε → ∀ᶠ N in atTop, ∀ j : J N,
37      |(μ N j a : ℝ)/(n N : ℝ)-p.eigenvalue a| < ε)
38    (hνlim : ∀ a, Tendsto (fun N => (ν N a : ℝ)/(n N : ℝ)) atTop (𝓝 (γ*p.eigenvalue a)))
39    (q : ∀ N, J N → ℝ) (hq : ∀ N a, 0 ≤ q N a) (hs : ∀ N, ∑ a,q N a=1) :
40    Tendsto (fun N => (partitionTransitionMixture (μ N) (ν N) (hμ N) (hν N)
41      (pN N) (hpN N) (q N) (hq N)).rootFidelity
42        (partitionGibbsPositive (ν N) (hν N) (pN N) (hpN N))) atTop (𝓝 (orbitalValue γ p)) := by
43  obtain ⟨δν,hδν,hgν⟩ := exists_root_gap_of_scaled_limits n hn ν (fun a => γ*p.eigenvalue a)
44    (fun a => mul_pos (by linarith) (p.positive a))
45    (fun a b hab => mul_lt_mul_of_pos_left (p.strictAnti hab) (by linarith)) hνlim
46  have ht0 : ∀ _ : PositiveRoot d, 0 < γ⁻¹ := fun _ => inv_pos.mpr (by linarith)
47  have ht1 : ∀ _ : PositiveRoot d, γ⁻¹ ≤ 1 := fun _ => (inv_le_one₀ (by linarith : 0 < γ)).mpr hγ.le
48  have hq0 : ∀ a, 0 ≤ rootBoltzmann p.eigenvalue a := fun a => (div_pos (p.positive _) (p.positive _)).le
49  have hq1 : ∀ a, rootBoltzmann p.eigenvalue a < 1 := rootBoltzmann_lt_one p.eigenvalue p.positive p.strictAnti
50  let A N a := partitionTransitionOutput (μ N a) (ν N) (hμ N a) (hν N) (pN N) (hpN N)
51  let B N := partitionGibbsPositive (ν N) (hν N) (pN N) (hpN N)
52  let C := cartanThermalPositive (fun _ => γ⁻¹) (rootBoltzmann p.eigenvalue) ht0 ht1 hq0 hq1
53  let D := rootThermalPositive p.eigenvalue p.positive p.strictAnti
54  have hf := tendsto_finiteMixture_rootFidelity_of_corner_coefficients (fun R => CutoffIndex d R)
55    q hq hs A B C D
56    (fun N a => partitionTransitionOutput_norm _ _ _ _ _ _)
57    (fun N => partitionGibbsPositive_norm _ _ _ _)
58    (cartanThermalPositive_norm _ _ _ _ _ _) (rootThermalPositive_norm _ _ _)
59    (fun N R => cutoffSectorFrame (partitionHighestTensor (ν N) (hν N)) (ν N) R)
60    (cutoffNumberFrame d)
61    (fun R => (partition_eventually_CutoffReady ν hν δν hδν hgν R).mono
62      (fun N hN => cutoffSectorFrame_orthonormal _ _ R hN.2))
63    (cutoffNumberFrame_orthonormal d)
64    (fun R i j => ?_) (fun R i j => ?_)
65    (cartanThermalOutput_cutoff_mass_tendsto _ _ ht0 ht1 hq0 hq1)
66    (rootThermalState_cutoff_mass_tendsto p.eigenvalue p.positive p.strictAnti)
67  · change Tendsto _ atTop (𝓝 (C.rootFidelity D)) at hf
68    dsimp only [C,D] at hf
69    rw [cartanThermalPositive_rootFidelity, cartanThermalProduct_eq_orbitalValue p γ hγ] at hf
70    exact hf
71  · change ∀ ε, 0 < ε → ∀ᶠ N in atTop, ∀ a : J N,
72      ‖partitionTransitionCoefficient (μ N a) (ν N) (hμ N a) (hν N) (pN N) (hpN N) R i j -
73        ⟪cutoffNumberFrame d R i, (cartanThermalOutput (fun _ => γ⁻¹) (rootBoltzmann p.eigenvalue)).1
74          (cutoffNumberFrame d R j)⟫_ℂ‖ < ε
75    rw [cartanThermalOutput_cutoff_coefficient _ _ ht0 ht1 hq0 hq1]
76    exact partitionTransitionCoefficient_uniform n hn μ ν hμ hν pN hpN p hlim γ hγ hμlim hνlim R i j
77  · exact partitionGibbsPositive_cutoff_coefficient_tendsto ν hν δν hδν hgν pN hpN
78      p.eigenvalue p.positive p.strictAnti hlim R i j
79 
80end Cloning.TensorCloning