Offline · exact source
Exact Lean source

TensorCloningAchievabilitySector

formalization/Cloning/TensorCloningAchievabilitySector.lean

Source hash: 771a7b3882b48bcda0a6daa474f0c6455c5a6bffe0b0018ef88f54a375110721

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.TensorCloningSectorCovariance
2import Cloning.TensorCartanStateFidelity
3import Cloning.TensorCloningAchievabilityCompatibility
4import Cloning.TensorCloningAchievabilityValue
5 
6/-! The actual conditional sector payoff converges to the orbital value on
7independent typical source and target labels. -/
8noncomputable section
9open scoped BigOperators InnerProductSpace Classical Topology
10open Filter
11namespace Cloning.TensorCloning
12open Cloning.PCT Cloning.TensorLie Cloning.TensorLAN Cloning.InfiniteTraceClass Cloning.Hybrid
13set_option backward.isDefEq.respectTransparency false
14set_option maxHeartbeats 1800000
15variable {d : ℕ}
16local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
17  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
18 
19def partitionTransitionFidelity (μ ν : Fin d → ℕ) (hμ : Antitone μ) (hν : Antitone ν)
20    (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) : ℝ :=
21  ((partitionGibbsPositive μ hμ p hp).map
22    (partitionTransitionChannel μ ν hμ hν).toPositiveTracePreservingMap).rootFidelity
23    (partitionGibbsPositive ν hν p hp)
24 
25theorem copySectorState_one_eq {n : ℕ} (H : PhysicalHighestTensor n d)
26    (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) :
27    copySectorState H 1 p hp = partitionGibbsPositive H.weight H.weight_antitone p hp :=
28  Subtype.ext (canonicalRotatedGibbs_one H p)
29 
30theorem transitionFidelity_one_eq (n m : ℕ) (p : Fin d → ℝ) (hp : ∀ a, 0 < p a)
31    (i : SchurCopy n d) (j : SchurCopy m d) :
32    transitionFidelity n m d p hp 1 i j =
33      partitionTransitionFidelity ((recursivePhysicalDecomposition n d).get i).weight
34        ((recursivePhysicalDecomposition m d).get j).weight
35        ((recursivePhysicalDecomposition n d).get i).weight_antitone
36        ((recursivePhysicalDecomposition m d).get j).weight_antitone p hp := by
37  dsimp only [transitionFidelity]
38  rw [copySectorState_one_eq, copySectorState_one_eq]
39  rfl
40 
41theorem partitionTransitionFidelity_add (μ τ : Fin d → ℕ)
42    (hμ : Antitone μ) (hτ : Antitone τ) (p : Fin d → ℝ) (hp : ∀ a, 0 < p a) :
43    partitionTransitionFidelity μ (fun a => μ a+τ a) hμ (sumPartition_antitone μ τ hμ hτ) p hp =
44      (cartanGibbsPositive μ τ hμ hτ p hp).rootFidelity
45        (partitionGibbsPositive (fun a => μ a+τ a) (sumPartition_antitone μ τ hμ hτ) p hp) := by
46  unfold partitionTransitionFidelity
47  rw [partitionTransitionChannel_add]
48  rfl
49 
50/-- The difference partition may fail at finitely many initial indices.
51Repairing those indices proves the same actual real-valued payoff limit. -/
52theorem partitionTransitionFidelity_tendsto_moving
53    (μ ν : ℕ → Fin d → ℕ) (hμ : ∀ k, Antitone (μ k)) (hν : ∀ k, Antitone (ν k))
54    (δμ δτ : ℕ → ℝ) (hδμ : Tendsto δμ atTop atTop) (hδτ : Tendsto δτ atTop atTop)
55    (hc : ∀ᶠ k in atTop, PartitionCompatible (μ k) (ν k))
56    (hgμ : ∀ᶠ k in atTop, ∀ a : PositiveRoot d, δμ k ≤ rootGap (μ k) a)
57    (hgτ : ∀ᶠ k in atTop, ∀ a : PositiveRoot d, δτ k ≤ rootGap (fun i => ν k i-μ k i) a)
58    (pN : ℕ → Fin d → ℝ) (hpN : ∀ k a, 0 < pN k a)
59    (p : SimpleSpectrum d) (hlim : ∀ a, Tendsto (fun k => pN k a) atTop (𝓝 (p.eigenvalue a)))
60    (γ : ℝ) (hγ : 1 < γ)
61    (ht : ∀ a : PositiveRoot d, Tendsto (fun k => rootFraction (μ k) (fun i => ν k i-μ k i) a)
62      atTop (𝓝 γ⁻¹)) :
63    Tendsto (fun k => partitionTransitionFidelity (μ k) (ν k) (hμ k) (hν k) (pN k) (hpN k))
64      atTop (𝓝 (orbitalValue γ p)) := by
65  let τ : ℕ → Fin d → ℕ := fun k => if Antitone (fun a => ν k a-μ k a) then
66    (fun a => ν k a-μ k a) else fun _ => 0
67  have hτ (k : ℕ) : Antitone (τ k) := by
68    dsimp only [τ]
69    split_ifs with h
70    · exact h
71    · intro a b _; rfl
72  have he : ∀ᶠ k in atTop, τ k = (fun a => ν k a-μ k a) :=
73    hc.mono (fun k hk => by simp only [τ, if_pos hk.2])
74  have hτgap : ∀ᶠ k in atTop, ∀ a : PositiveRoot d, δτ k ≤ rootGap (τ k) a := by
75    filter_upwards [he,hgτ] with k hk hg
76    simpa only [hk] using hg
77  have hτfraction (a : PositiveRoot d) : Tendsto (fun k => rootFraction (μ k) (τ k) a) atTop (𝓝 γ⁻¹) :=
78    (ht a).congr' (he.mono (fun k hk => by
79      change rootFraction (μ k) (fun i => ν k i-μ k i) a = rootFraction (μ k) (τ k) a
80      rw [hk]))
81  have hf := cartanGibbsPositive_rootFidelity_tendsto μ τ hμ hτ δμ δτ hδμ hδτ hgμ hτgap
82    (fun _ => γ⁻¹) (fun _ => inv_pos.mpr (by linarith))
83    (fun _ => (inv_le_one₀ (by linarith : 0 < γ)).mpr hγ.le) hτfraction
84    pN hpN p.eigenvalue p.positive p.strictAnti hlim
85  rw [cartanThermalProduct_eq_orbitalValue p γ hγ] at hf
86  apply hf.congr'
87  filter_upwards [he,hc] with k hk hck
88  have hs : (fun a => μ k a+τ k a) = ν k := by
89    funext a
90    rw [hk]
91    exact Nat.add_sub_of_le (hck.1 a)
92  have hh := partitionTransitionFidelity_add (μ k) (τ k) (hμ k) (hτ k) (pN k) (hpN k)
93  simpa only [hs] using hh.symm
94 
95theorem partitionTransitionFidelity_tendsto
96    (μ ν : ℕ → Fin d → ℕ) (hμ : ∀ k, Antitone (μ k)) (hν : ∀ k, Antitone (ν k))
97    (δμ δτ : ℕ → ℝ) (hδμ : Tendsto δμ atTop atTop) (hδτ : Tendsto δτ atTop atTop)
98    (hc : ∀ᶠ k in atTop, PartitionCompatible (μ k) (ν k))
99    (hgμ : ∀ᶠ k in atTop, ∀ a : PositiveRoot d, δμ k ≤ rootGap (μ k) a)
100    (hgτ : ∀ᶠ k in atTop, ∀ a : PositiveRoot d, δτ k ≤ rootGap (fun i => ν k i-μ k i) a)
101    (p : SimpleSpectrum d) (γ : ℝ) (hγ : 1 < γ)
102    (ht : ∀ a : PositiveRoot d, Tendsto (fun k => rootFraction (μ k) (fun i => ν k i-μ k i) a)
103      atTop (𝓝 γ⁻¹)) :
104    Tendsto (fun k => partitionTransitionFidelity (μ k) (ν k) (hμ k) (hν k) p.eigenvalue p.positive)
105      atTop (𝓝 (orbitalValue γ p)) :=
106  partitionTransitionFidelity_tendsto_moving μ ν hμ hν δμ δτ hδμ hδτ hc hgμ hgτ
107    (fun _ => p.eigenvalue) (fun _ => p.positive) p (fun _ => tendsto_const_nhds) γ hγ ht
108 
109/-- Typicality and the physical sample-size ratio discharge every Cartan
110asymptotic hypothesis. There is no supplied conditional-fidelity limit. -/
111theorem partitionTransitionFidelity_tendsto_of_typical
112    (n m : ℕ → ℕ) (hn : Tendsto n atTop atTop) (hm : Tendsto m atTop atTop)
113    (μ ν : ℕ → Fin d → ℕ) (hμ : ∀ k, Antitone (μ k)) (hν : ∀ k, Antitone (ν k))
114    (p : SimpleSpectrum d) (γ : ℝ) (hγ : 1 < γ)
115    (hgain : Tendsto (fun k => (m k : ℝ)/(n k : ℝ)) atTop (𝓝 γ))
116    (hμtyp : ∀ᶠ k in atTop, TypicalLabel (n k) p.eigenvalue (μ k))
117    (hνtyp : ∀ᶠ k in atTop, TypicalLabel (m k) p.eigenvalue (ν k)) :
118    Tendsto (fun k => partitionTransitionFidelity (μ k) (ν k) (hμ k) (hν k) p.eigenvalue p.positive)
119      atTop (𝓝 (orbitalValue γ p)) := by
120  obtain ⟨δμ,δτ,hδμ,hδτ,hc,hgμ,hgτ,ht⟩ := typical_pair_cartan_parameters n m hn hm μ ν
121    p.eigenvalue p.positive p.strictAnti γ hγ hgain hμtyp hνtyp
122  exact partitionTransitionFidelity_tendsto μ ν hμ hν δμ δτ hδμ hδτ hc hgμ hgτ p γ hγ ht
123 
124end Cloning.TensorCloning