Exact Lean source
PCTRankPurificationGeneralFinite
formalization/Cloning/PCTRankPurificationGeneralFinite.lean
Source hash: 0aab39020388f66711a36ed75d1d7a4f519793aa45858a093e561abd1e34a716
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.PCTRankPurificationGeneralTheorem
2import Cloning.PCTRankPurificationGeneralHaar
3import Cloning.SampleRatioFinite
4
5/-! A finite-copy squared-fidelity certificate for the fixed rank-bound
6PCT channel, uniformly over every density whose actual rank is at most r. -/
7noncomputable section
8open scoped Matrix ComplexOrder
9namespace Cloning.PCTRankPurification
10open Cloning.PCT Cloning.PCTPhysicalState Cloning.PCTRankAdapted
11set_option backward.isDefEq.respectTransparency false
12variable {r : ℕ} [NeZero r]
13local instance generalFiniteAmbientNeZero (k : ℕ) : NeZero (r+k) := ⟨by have := NeZero.ne r; omega⟩
14
15theorem channel_rank_le_fidelity_sq_lower {s : ℕ} (k n t : ℕ)
16 (hcard : Fintype.card (Fin (r+k)×Fin r)=s+1)
17 (b0 : (Fin n → Fin (r+k))×(Fin n → Fin r))
18 (ρ : Cloning.MatrixFidelity.State (Fin (r+k))) (hrank : ρ.matrix.rank≤r) :
19 wernerScale n (n+t) s ≤
20 ((tensorState ρ n).map
21 (PCTRankGlobal.channel hcard n t (Cloning.TensorLie.coordinateInclusionMatrix r k) b0).toPositiveTracePreservingMap).rootFidelity
22 (tensorState ρ (n+t))^2 := by
23 have h := channel_rank_le_fidelity_lower k n t hcard b0 ρ hrank
24 have hs := Real.sq_sqrt (wernerScale_pos n (n+t) s).le
25 change Real.sqrt (wernerScale n (n+t) s)≤_ at h
26 have hp := ((tensorState ρ n).map
27 (PCTRankGlobal.channel hcard n t (Cloning.TensorLie.coordinateInclusionMatrix r k) b0).toPositiveTracePreservingMap).rootFidelity_nonneg
28 (tensorState ρ (n+t))
29 nlinarith [Real.sqrt_nonneg (wernerScale n (n+t) s)]
30
31/-- Here s=rD−1 is supplied only by the exact cardinality identity. The
32sample threshold and channel are independent of the input density. -/
33theorem channel_rank_le_fidelity_sq_ge_target {s : ℕ} (k N M : ℕ)
34 (hcard : Fintype.card (Fin (r+k)×Fin r)=s+1)
35 (b0 : (Fin N → Fin (r+k))×(Fin N → Fin r))
36 (ρ : Cloning.MatrixFidelity.State (Fin (r+k))) (hrank : ρ.matrix.rank≤r)
37 (hN : 0<N) (hM : 0<M) (hs : 0<s)
38 {ε : ℝ} (hε : 0<ε) (hε1 : ε<1)
39 (hR : SampleRatio.threshold s ε ≤ (N:ℝ)/M) :
40 1-ε ≤
41 ((tensorState ρ N).map
42 (PCTRankGlobal.channel hcard N M (Cloning.TensorLie.coordinateInclusionMatrix r k) b0).toPositiveTracePreservingMap).rootFidelity
43 (tensorState ρ (N+M))^2 :=
44 (SampleRatio.wernerScale_ge_target N M s hN hM hs hε hε1 hR).trans
45 (channel_rank_le_fidelity_sq_lower k N M hcard b0 ρ hrank)
46
47end Cloning.PCTRankPurification