Exact Lean source
PCTCountPhysical
formalization/Cloning/PCTCountPhysical.lean
Source hash: f0993d057127807f955733c87cac5f0dc21e047abde732e3894cb1f90e28e773
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.PCTCountAffinity
2import Cloning.PCTCountMeasurementMixture
3
4/-! Actual internal maximally mixed PCT fidelity is bounded by the derived count affinity. -/
5noncomputable section
6open scoped BigOperators Topology Classical InnerProductSpace ComplexOrder
7open Filter MeasureTheory
8namespace Cloning.PCTCount
9open Cloning.PCT Cloning.PCTReducedGaussian Cloning.PCTPhysicalState
10open Cloning.YoungGeneral Cloning.YoungHyperplane Cloning.InfiniteTraceClass Cloning.Hybrid
11open Cloning.PCTCountMeasurement Cloning.MultimodeCoherentGaussianMixture
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1000000
14
15def flatState (d : ℕ) : Cloning.MatrixFidelity.State (Fin (d+1)) :=
16 diagonalState (flatSpectrum (d+1)) (fun _ ↦ by unfold flatSpectrum; positivity)
17 (flatSpectrum_sum _ (by omega))
18
19theorem measuredDensity_flatState (d L : ℕ) (hL : 0<L) :
20 measuredDensity d L (tensorState (flatState d) L).1=flatCountDensity d L := by
21 funext x
22 apply measuredDensity_matrixTensorPower d L hL
23 intro i
24 simp [flatState, diagonalState]
25
26/-- The internal count measurement detects the variance `2γ-1` of the literal
27PCT output. No local Gaussian or measurement premise is assumed. -/
28theorem internal_flat_fidelity_eventually_le (d s : ℕ) (hs : 1≤s)
29 (hcard : Fintype.card (Fin (d+1) × Fin (d+1))=s+1)
30 (t : ℕ → ℕ) (γ : ℝ) (hγ : 1<γ)
31 (hratio : Tendsto (fun n ↦ ((n+t n : ℕ) : ℝ)/n) atTop (𝓝 γ)) :
32 ∀ ε : ℝ, 0<ε → ∀ᶠ n in atTop,
33 (outputState hcard (flatState d) n (t n)).rootFidelity (tensorState (flatState d) (n+t n)) ≤
34 Cloning.classicalValue (2*γ-1) (d+1)+ε := by
35 obtain ⟨u,hu,hphysical⟩ := Cloning.PCTGlobal.channel_gaussian_product_mixture hs hcard
36 (flatState d) t hγ hratio
37 have hu' : u 0=coefficientVector (schmidtCoefficients (flatSpectrum (d+1))) :=
38 hu.trans (canonicalPurification_diagonal (flatSpectrum (d+1))
39 (fun _ => by unfold flatSpectrum; positivity))
40 let μ := gaussianProductMeasure (fun _ : Fin s ↦ γ-1)
41 have hv : 0<γ-1 := by linarith
42 letI := gaussianProductMeasure_probability (fun _ : Fin s ↦ hv)
43 let n : ℕ → ℕ := fun N ↦ N+t N
44 have hn : Tendsto n atTop atTop := tendsto_atTop_mono (fun N ↦ Nat.le_add_right N (t N)) tendsto_id
45 let A N := outputState hcard (flatState d) N (t N)
46 let B N := tensorState (flatState d) (n N)
47 let M N := ∫ z, (frameState u z (n N)).1 ∂μ
48 let e N := ‖(A N).1-M N‖
49 let a N := ∫ x, Real.sqrt (countMixtureDensity u (γ-1) (n N) x)*Real.sqrt (flatCountDensity d (n N) x)
50 have he : Tendsto e atTop (𝓝 0) := hphysical
51 have ha : Tendsto a atTop (𝓝 (Cloning.classicalValue (2*γ-1) (d+1))) := by
52 have hh := countAffinity_tendsto u hu' (γ-1) hv n hn
53 simpa only [show 1+2*(γ-1)=2*γ-1 by ring] using hh
54 have hbound : ∀ᶠ N in atTop, (A N).rootFidelity (B N) ≤ Real.sqrt (e N)+a N := by
55 filter_upwards [hn.eventually (eventually_gt_atTop 0)] with N hN
56 have hB : measuredDensity d (n N) (B N).1=flatCountDensity d (n N) :=
57 measuredDensity_flatState d (n N) hN
58 have hM : measuredDensity d (n N) (M N)=countMixtureDensity u (γ-1) (n N) := by
59 funext x
60 exact measuredDensity_frameMixture u (γ-1) hv (n N) hN x
61 have hmpos : 0≤(M N).1 := integral_frameState_nonneg u (n N) μ
62 have hc := measuredDensity_l1_contraction d (n N) hN (A N).1 (M N) (A N).2 hmpos
63 rw [hM] at hc
64 have hb := rootFidelity_le_measuredDensity_affinity d (n N) hN (A N) (B N)
65 rw [hB] at hb
66 have hp := density_affinity_l1_bound volume (measuredDensity d (n N) (A N).1)
67 (countMixtureDensity u (γ-1) (n N)) (flatCountDensity d (n N))
68 (integrable_measuredDensity d (n N) hN (A N).1)
69 (integrable_countMixtureDensity u (γ-1) hv (n N) hN)
70 (CountMultinomial.integrable_density d (n N) hN _ _ _)
71 (measuredDensity_nonneg d (n N) hN (A N).1 (A N).2)
72 (countMixtureDensity_nonneg u (γ-1) (n N))
73 (CountMultinomial.density_nonneg d (n N) _ _ _)
74 (CountMultinomial.integral_density d (n N) hN _ _ _)
75 have hple := (le_abs_self _).trans (hp.trans (Real.sqrt_le_sqrt hc))
76 change (∫ x, Real.sqrt (measuredDensity d (n N) (A N).1 x)*Real.sqrt (flatCountDensity d (n N) x))-a N ≤ Real.sqrt (e N) at hple
77 linarith
78 have hh := he.sqrt.add ha
79 simp only [Real.sqrt_zero, zero_add] at hh
80 intro ε hε
81 filter_upwards [hbound, hh.eventually (eventually_lt_nhds (lt_add_of_pos_right _ hε))] with N hb ht
82 exact hb.trans ht.le
83
84end Cloning.PCTCount