Exact Lean source
TensorCloningUniformUniversal
formalization/Cloning/TensorCloningUniformUniversal.lean
Source hash: 74cda1539198a86928db9599b85ec24834ea16351b0cc6143f0e668051acb4a5
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.TensorCloningUniformBlocks
2import Cloning.TensorCloningUniformCovariance
3import Cloning.TensorCloningUniversalClassical
4import Cloning.PhysicalCloningConverseUnknown
5
6/-! Exact compact-uniform fidelity convergence of the single prescribed
7spectrum-independent physical cloning channel. -/
8noncomputable section
9open scoped BigOperators InnerProductSpace ComplexOrder Classical Matrix Topology
10open Filter
11namespace Cloning.TensorCloning
12open Cloning.PCT Cloning.TensorLie Cloning.TensorLAN Cloning.InfiniteTraceClass Cloning.Hybrid
13open Cloning.InfiniteFidelityHilbertSum Cloning.YoungCompatibility Cloning.YoungHyperplane
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 2400000
16set_option synthInstance.maxHeartbeats 200000
17
18theorem universal_joint_sum (n m d : ℕ) (p : SimpleSpectrum (d+1)) :
19 (∑ j,∑ i,universalJointWeight n m d p.eigenvalue i j)=1 := by
20 simp_rw [universalJointWeight_marginal n m d p.eigenvalue (fun a => (p.positive a).le) p.normalized]
21 simpa only [tsum_fintype] using tsum_probability
22 (universalOutputCopyPMF n m d p.eigenvalue (fun a => (p.positive a).le) p.normalized)
23
24theorem universal_copyAffinity (n m d : ℕ) (p : SimpleSpectrum (d+1)) :
25 Cloning.BlockFidelity.classicalAffinity (fun j => ∑ i,universalJointWeight n m d p.eigenvalue i j)
26 (knownCopyWeight m (d+1) p.eigenvalue) = universalAffinity n m d p := by
27 rw [universalAffinity, ← universalOutputCopyPMF_affinity n m d p.eigenvalue
28 (fun a => (p.positive a).le) p.normalized]
29 simp only [Cloning.BlockFidelity.classicalAffinity, CountableScheffe.affinity, tsum_fintype,
30 universalJointWeight_marginal n m d p.eigenvalue (fun a => (p.positive a).le) p.normalized,
31 probability, physicalCopyPMF_toReal, knownCopyWeight]
32
33theorem universalChannel_payoff_abs_error {d : ℕ} (n m : ℕ) (p : SimpleSpectrum (d+1))
34 (γ : ℝ) (hγ : 1 < γ) (η : ℝ) (hη : 0 ≤ η)
35 (hret : ∀ j : SchurCopy m (d+1),
36 ∀ (q : {i : SchurCopy n (d+1) // universalKeep n m d p.eigenvalue i j} → ℝ)
37 (hq : ∀ i, 0 ≤ q i), (∑ i,q i)=1 →
38 |retainedCopyFidelity n m (d+1) p.eigenvalue p.positive j
39 (fun i => universalKeep n m d p.eigenvalue i j) q hq - orbitalValue γ p| ≤ η)
40 (U : unitary (Matrix (Fin (d+1)) (Fin (d+1)) ℂ)) :
41 |spectrumPayoff n m (universalChannel n m d) p U-universalValue γ p| ≤
42 η+2*Real.sqrt (copyBadMass n (d+1) p.eigenvalue) +
43 |universalAffinity n m d p-classicalValue γ (d+1)| := by
44 rw [universalChannel_payoff_unitary]
45 have hf := copyBlocks_factorization_bound n m p 1 (universalJointWeight n m d p.eigenvalue)
46 (universalJointWeight_nonneg n m d p.eigenvalue) (universal_joint_sum n m d p).le
47 (universalKeep n m d p.eigenvalue) (orbitalValue γ p) η (orbitalValue_pos hγ p).le
48 (orbitalValue_le_one hγ p) hη (by
49 intro j hr
50 rw [retainedCopyWeight_sum] at hr
51 simp only [OneMemClass.coe_one]
52 rw [normalizedCopyBlock_rootFidelity_one n m (d+1) p.eigenvalue p.positive
53 (universalJointWeight n m d p.eigenvalue) (universalJointWeight_nonneg n m d p.eigenvalue)
54 (universalKeep n m d p.eigenvalue) j hr]
55 exact hret j _ _ (retainedCopyProbability_sum _ _ _ _ _ _ hr))
56 have hp := spectrumPayoff_eq_copyBlocks n m (universalChannel n m d) p 1
57 (universalJointWeight n m d p.eigenvalue) (universalJointWeight_nonneg n m d p.eigenvalue)
58 (universalChannel_rotated_apply n m d p.eigenvalue p.positive 1)
59 rw [← hp,universal_copyAffinity] at hf
60 have hd : (∑ j,∑ i,if universalKeep n m d p.eigenvalue i j then 0 else universalJointWeight n m d p.eigenvalue i j) =
61 copyBadMass n (d+1) p.eigenvalue := by
62 have hh := universal_discarded_mass n m d p.eigenvalue
63 rw [Fintype.sum_prod_type] at hh
64 rw [Finset.sum_comm]
65 exact hh
66 rw [hd] at hf
67 have he := abs_sub_le (spectrumPayoff n m (universalChannel n m d) p 1)
68 (orbitalValue γ p*universalAffinity n m d p) (universalValue γ p)
69 have hb : |orbitalValue γ p*universalAffinity n m d p-universalValue γ p| ≤
70 |universalAffinity n m d p-classicalValue γ (d+1)| := by
71 rw [universalValue,mul_comm (classicalValue γ (d+1)),← mul_sub,abs_mul,
72 abs_of_nonneg (orbitalValue_pos hγ p).le]
73 exact mul_le_of_le_one_left (abs_nonneg _) (orbitalValue_le_one hγ p)
74 linarith
75
76/-- One actual exactly covariant channel, independent of the spectrum,
77converges in fidelity uniformly on every compact spectral family and every
78unknown unitary eigenbasis. -/
79theorem eventually_uniform_universalChannel_payoff {d : ℕ} (hd : 1 ≤ d)
80 (K : Set (SimpleSpectrum (d+1))) (hK : IsCompact K)
81 (m : ℕ → ℕ) (γ : ℝ) (hγ : 1 < γ)
82 (hgain : Tendsto (fun n => (m n : ℝ)/n) atTop (𝓝 γ)) (ε : ℝ) (hε : 0 < ε) :
83 ∀ᶠ n in atTop, ∀ p ∈ K, ∀ U : unitary (Matrix (Fin (d+1)) (Fin (d+1)) ℂ),
84 |spectrumPayoff n (m n) (universalChannel n (m n) d) p U-universalValue γ p| < ε := by
85 have hm := PhysicalCloningConverse.output_size_tendsto m γ (by linarith) hgain
86 have ht : Tendsto (fun n => Real.sqrt (universalTailEnvelope d n)) atTop (𝓝 0) := by
87 simpa only [Real.sqrt_zero] using (universalTailEnvelope_tendsto_zero d).sqrt
88 filter_upwards [eventually_uniform_universal_retainedCopyFidelity hd K hK m γ hγ hgain (ε/3) (by positivity),
89 eventually_uniform_universalAffinity hd K hK m hm γ hγ hgain (ε/3) (by positivity),
90 ht.eventually (eventually_lt_nhds (show (0 : ℝ) < ε/6 by positivity)),eventually_ge_atTop 1]
91 with n hr ha ht hn p hp U
92 have hf := universalChannel_payoff_abs_error n (m n) p γ hγ (ε/3) (by positivity)
93 (fun j q hq hs => (hr p hp j q hq hs).le) U
94 have hb := Real.sqrt_le_sqrt (copyBadMass_le_universalTailEnvelope n hn p)
95 have hclass := ha p hp
96 linarith
97
98end Cloning.TensorCloning