Offline · exact source
Exact Lean source

TensorCloningUniversalClassical

formalization/Cloning/TensorCloningUniversalClassical.lean

Source hash: 55c3e3298e72362bb47baef932b6078aa35313fe9c89744090bd160edad3d95c

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.

In the dependency map: Unknown spectrum

Declarations in this module
1import Cloning.TensorCloningUniversalError
2import Cloning.PhysicalCloningConverseSpectrum
3 
4/-! Uniform global payoff assembly for the actual universal cloning protocol,
5combining its physical classical fidelity and its retained sector estimate. -/
6noncomputable section
7open scoped BigOperators Classical Topology Matrix
8namespace Cloning.TensorCloning
9open Cloning.TensorLie Cloning.TensorLAN Cloning.YoungGeneral Cloning.YoungCompatibility
10open Cloning.YoungHyperplane Filter
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 1400000
13 
14theorem eventually_uniform_universalAffinity {d : ℕ} (hd : 1 ≤ d)
15    (K : Set (SimpleSpectrum (d+1))) (hK : IsCompact K)
16    (m : ℕ → ℕ) (hm : Tendsto m atTop atTop) (γ : ℝ) (hγ : 1 < γ)
17    (hgain : Tendsto (fun n ↦ (m n : ℝ)/n) atTop (𝓝 γ)) (ε : ℝ) (hε : 0 < ε) :
18    ∀ᶠ n in atTop, ∀ p ∈ K, |universalAffinity n (m n) d p - classicalValue γ (d+1)| < ε := by
19  let J := SimpleSpectrum.eigenvalue '' K
20  have hJ : IsCompact J := hK.image SimpleSpectrum.continuous_eigenvalue
21  have hp : ∀ p ∈ J, ∑ a, p a = 1 := by
22    rintro q ⟨p,hp,rfl⟩
23    exact p.normalized
24  have hp0 : ∀ p ∈ J, ∀ a, 0 < p a := by
25    rintro q ⟨p,hp,rfl⟩
26    exact p.positive
27  have hord : ∀ p ∈ J, StrictAnti p := by
28    rintro q ⟨p,hp,rfl⟩
29    exact p.strictAnti
30  obtain ⟨N,hN⟩ := uniform_tensorYoungFallbackOutput_affinity hd J hJ hp hp0 hord m hm γ hγ hgain ε hε
31  filter_upwards [eventually_ge_atTop N] with n hn p hpK
32  exact hN n hn p.eigenvalue ⟨p,hpK,rfl⟩
33 
34/-- Once the physical retained-sector bound is available uniformly, every
35other global approximation term is a proved property of the actual protocol. -/
36theorem eventually_universalChannel_payoff_lower_of_sector {d : ℕ} (hd : 1 ≤ d)
37    (K : Set (SimpleSpectrum (d+1))) (hK : IsCompact K)
38    (m : ℕ → ℕ) (hm : Tendsto m atTop atTop) (γ : ℝ) (hγ : 1 < γ)
39    (hgain : Tendsto (fun n ↦ (m n : ℝ)/n) atTop (𝓝 γ))
40    (hsector : ∀ η > 0, ∀ᶠ n in atTop, ∀ p ∈ K,
41      ∀ (i : SchurCopy n (d+1)) (j : SchurCopy (m n) (d+1)),
42        universalKeep n (m n) d p.eigenvalue i j →
43      ∀ U : unitary (Matrix (Fin (d+1)) (Fin (d+1)) ℂ),
44        orbitalValue γ p-η ≤ transitionFidelity n (m n) (d+1) p.eigenvalue p.positive U i j)
45    (ε : ℝ) (hε : 0 < ε) :
46    ∀ᶠ n in atTop, ∀ p ∈ K, ∀ U : unitary (Matrix (Fin (d+1)) (Fin (d+1)) ℂ),
47      universalValue γ p-ε < spectrumPayoff n (m n) (universalChannel n (m n) d) p U := by
48  have ht : Tendsto (fun n ↦ Real.sqrt (universalTailEnvelope d n)) atTop (𝓝 0) := by
49    simpa only [Real.sqrt_zero] using (universalTailEnvelope_tendsto_zero d).sqrt
50  filter_upwards [hsector (ε/3) (by positivity),
51    eventually_uniform_universalAffinity hd K hK m hm γ hγ hgain (ε/3) (by positivity),
52    ht.eventually (eventually_lt_nhds (show (0 : ℝ) < ε/3 by positivity)), eventually_ge_atTop 1]
53    with n hn hc ht hn0 p hpK U
54  have hf := universalChannel_payoff_lower_error n (m n) p U γ hγ (ε/3) (by positivity)
55    (fun i j hij ↦ hn p hpK i j hij U)
56  have hb := Real.sqrt_le_sqrt (copyBadMass_le_universalTailEnvelope n hn0 p)
57  have ha := hc p hpK
58  linarith
59 
60theorem eventually_unknownSpectrumValue_lower_of_channel {d : ℕ}
61    (K : Set (SimpleSpectrum (d+1))) (hKne : K.Nonempty)
62    (m : ℕ → ℕ) (γ : ℝ) (hγ : 1 < γ)
63    (hchannel : ∀ ε > 0, ∀ᶠ n in atTop, ∀ p ∈ K,
64      ∀ U : unitary (Matrix (Fin (d+1)) (Fin (d+1)) ℂ),
65        universalValue γ p-ε < spectrumPayoff n (m n) (universalChannel n (m n) d) p U)
66    (ε : ℝ) (hε : 0 < ε) :
67    ∀ᶠ n in atTop, (⨅ p : K, universalValue γ p.val)-ε < unknownSpectrumValue n (m n) K := by
68  letI : Nonempty K := hKne.to_subtype
69  have hbdd : BddBelow (Set.range (fun p : K ↦ universalValue γ p.val)) :=
70    ⟨0, by rintro _ ⟨p,rfl⟩; exact (universalValue_pos hγ p.val).le⟩
71  filter_upwards [hchannel (ε/2) (by positivity)] with n hn
72  have hh := LAN.candidate_le_minimaxValue
73    (fun Φ (θ : K × unitary (Matrix (Fin (d+1)) (Fin (d+1)) ℂ)) ↦ spectrumPayoff n (m n) Φ θ.1.val θ.2)
74    (universalChannel n (m n) d) ((⨅ p : K, universalValue γ p.val)-ε/2)
75    (fun Φ θ ↦ spectrumPayoff_le_one _ _ Φ θ.1.val θ.2)
76    (fun θ ↦ by
77      have hI := ciInf_le hbdd θ.1
78      have hp := hn θ.1.val θ.1.property θ.2
79      linarith)
80    (fun Φ θ ↦ spectrumPayoff_nonneg _ _ Φ θ.1.val θ.2)
81  change (⨅ p : K, universalValue γ p.val)-ε/2 ≤ unknownSpectrumValue n (m n) K at hh
82  linarith
83 
84end Cloning.TensorCloning