Exact Lean source
PhysicalFlatPCTFinite
formalization/Cloning/PhysicalFlatPCTFinite.lean
Source hash: 13e2968877437f668ebc712c316257acb547fbcf4557cee2dc571a28b06beff7
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.PCTWernerLower
2import Cloning.SampleRatioFinite
3import Cloning.PhysicalFlatPCTTheorem
4import Cloning.PCTPrescribedRank
5
6/-! Finite-copy PCT squared-fidelity certification for every literal flat
7projector and for the actual prescribed state-independent channel. -/
8noncomputable section
9open scoped ComplexOrder Topology
10namespace Cloning.PhysicalFlatPCT
11open Cloning.PCTRankAdapted Cloning.PCTPhysicalState Cloning.PhysicalFlatGrassmann
12set_option backward.isDefEq.respectTransparency false
13
14theorem fidelity_lower (d k : ℕ) (P : Projector (d+1) k) (n t : ℕ) :
15 Real.sqrt (wernerScale n (n+t) (flatPurificationDimension d k)) ≤ fidelity d k P n t := by
16 rw [fidelity_eq_supportFactor]
17 have h := mul_le_mul_of_nonneg_left
18 (outputState_fidelity_lower (flat_internal_register_card d) (flatInternalState d) n t)
19 (Real.sqrt_nonneg (supportFactor n (n+t) (d*(d+2)) (flatPurificationDimension d k)))
20 rw [← Real.sqrt_mul (supportFactor_pos n (n+t) (d*(d+2)) (flatPurificationDimension d k)).le] at h
21 simpa only [supportFactor,div_mul_cancel₀ _ (wernerScale_pos n (n+t) (d*(d+2))).ne'] using h
22
23theorem fidelity_sq_lower (d k : ℕ) (P : Projector (d+1) k) (n t : ℕ) :
24 wernerScale n (n+t) (flatPurificationDimension d k) ≤ fidelity d k P n t^2 := by
25 have h := fidelity_lower d k P n t
26 have hs := Real.sq_sqrt (wernerScale_pos n (n+t) (flatPurificationDimension d k)).le
27 nlinarith [Real.sqrt_nonneg (wernerScale n (n+t) (flatPurificationDimension d k)),
28 fidelity_nonneg d k P n t]
29
30theorem fidelity_sq_ge_target (d k : ℕ) (P : Projector (d+1) k) (N M : ℕ)
31 (hN : 0<N) (hM : 0<M) (ha : 0<flatPurificationDimension d k)
32 {ε : ℝ} (hε : 0<ε) (hε1 : ε<1)
33 (hR : SampleRatio.threshold (flatPurificationDimension d k) ε ≤ (N:ℝ)/M) :
34 1-ε ≤ fidelity d k P N M^2 :=
35 (SampleRatio.wernerScale_ge_target N M (flatPurificationDimension d k)
36 hN hM ha hε hε1 hR).trans (fidelity_sq_lower d k P N M)
37
38theorem prescribed_fidelity_sq_ge_target (d k : ℕ) (P : Projector (d+1) k) (N M : ℕ)
39 (hN : 0<N) (hM : 0<M) (ha : 0<flatPurificationDimension d k)
40 {ε : ℝ} (hε : 0<ε) (hε1 : ε<1)
41 (hR : SampleRatio.threshold (flatPurificationDimension d k) ε ≤ (N:ℝ)/M) :
42 1-ε ≤ PCTPrescribed.rankFidelity d k P N (N+M)^2 := by
43 have he : PCTPrescribed.rankFidelity d k P N (N+M)=fidelity d k P N M := by
44 unfold PCTPrescribed.rankFidelity PCTPrescribed.rankChannel
45 rw [PCTPrescribed.extendChannel_add (channel d k) N M hM]
46 rfl
47 rw [he]
48 exact fidelity_sq_ge_target d k P N M hN hM ha hε hε1 hR
49
50end Cloning.PhysicalFlatPCT