Exact Lean source
PCTProjectorPurityEnvelopePhysical
formalization/Cloning/PCTProjectorPurityEnvelopePhysical.lean
Source hash: fe6da057aeac0f774854188e1464eb9b3729d08d416ef01dad2d95eb1e6a3741
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.PCTProjectorPurityEnvelope
2import Cloning.PhysicalFlatPCTTheorem
3
4/-! Transfer of an explicit internal squared-error estimate to the fixed
5physical rank-adapted PCT channel, uniformly over all Grassmann projectors. -/
6noncomputable section
7open scoped Topology Matrix ComplexOrder
8open Filter
9namespace Cloning.PCTProjectorPurity
10open Cloning.PCT Cloning.PCTRankAdapted Cloning.PCTPhysicalState
11open Cloning.PhysicalFlatGrassmann Cloning.InfiniteTraceClass Cloning.Hybrid
12set_option maxHeartbeats 1200000
13set_option backward.isDefEq.respectTransparency false
14
15/-- The exact rank boundary determines the support mass limit. -/
16theorem flat_supportFactor_tendsto (d k : ℕ) (t : ℕ→ℕ) (δ : ℝ) (hδ : 0<δ)
17 (hgain : Tendsto (fun n=>((n+t n:ℕ):ℝ)/(n:ℝ)) atTop (𝓝 (1+δ))) :
18 Tendsto (fun n=>supportFactor n (n+t n) (d*(d+2)) (flatPurificationDimension d k))
19 atTop (𝓝 (supportLimit ((d+1)*k) δ)) := by
20 have hg : 0<1+δ := by linarith
21 have h := supportFactor_tendsto (fun n=>n+t n) (by linarith : 1<1+δ)
22 hgain (d*(d+2)) (flatPurificationDimension d k)
23 have he : (1/(1+δ))^(flatPurificationDimension d k)/(1/(1+δ))^(d*(d+2))=
24 supportLimit ((d+1)*k) δ := by
25 rw [← Real.rpow_natCast,← Real.rpow_natCast,← Real.rpow_sub (one_div_pos.mpr hg),
26 one_div,Real.inv_rpow hg.le,← Real.rpow_neg hg.le]
27 unfold supportLimit
28 congr 1
29 unfold flatPurificationDimension
30 push_cast
31 ring
32 exact he ▸ h
33
34/-- This is an intermediate implication. Its sole unclosed analytic input
35is the stated bound on the actual internal PCT squared fidelity. -/
36theorem physical_error_envelopes_of_internal_bound (d k : ℕ) (t : ℕ→ℕ)
37 (δ : ℝ) (hδ : 0<δ)
38 (hgain : Tendsto (fun n=>((n+t n:ℕ):ℝ)/(n:ℝ)) atTop (𝓝 (1+δ)))
39 (hint : ∀ε>0,∀ᶠ (n : ℕ) in atTop,
40 1-((PCTPhysicalState.outputState (flat_internal_register_card d) (flatInternalState d)
41 n (t n)).rootFidelity (tensorState (flatInternalState d) (n+t n)))^2≤
42 internalError (d*(d+2)) δ+ε) :
43 ∀ε>0,∀ᶠ (n : ℕ) in atTop,∀P : Projector (d+1) k,
44 lowerEnvelope ((d+1)*k) δ-ε≤1-(Cloning.PhysicalFlatPCT.fidelity d k P n (t n))^2 ∧
45 1-(Cloning.PhysicalFlatPCT.fidelity d k P n (t n))^2≤
46 upperEnvelope ((d+1)*k) (d*(d+2)) δ+ε := by
47 let s := fun n=>supportFactor n (n+t n) (d*(d+2)) (flatPurificationDimension d k)
48 let u := fun n=>(PCTPhysicalState.outputState (flat_internal_register_card d)
49 (flatInternalState d) n (t n)).rootFidelity (tensorState (flatInternalState d) (n+t n))
50 have hs : ∀n,0≤s n := fun n=>(supportFactor_pos _ _ _ _).le
51 have hu : ∀n,0≤u n ∧ u n≤1 := fun n=>
52 ⟨PositiveTraceClass.rootFidelity_nonneg _ _,
53 internal_fidelity_le_one (flat_internal_register_card d) (flatInternalState d) n (t n)⟩
54 have h := eventually_supported_error_envelopes s u (supportLimit ((d+1)*k) δ)
55 (internalError (d*(d+2)) δ) (supportLimit_nonneg _ _ hδ.le)
56 (supportLimit_le_one _ _ hδ.le) hs hu (flat_supportFactor_tendsto d k t δ hδ hgain) hint
57 intro ε hε
58 filter_upwards [h ε hε] with n hn P
59 rw [Cloning.PhysicalFlatPCT.fidelity_eq_supportFactor,mul_pow,
60 Real.sq_sqrt (supportFactor_pos _ _ _ _).le]
61 exact hn
62
63end Cloning.PCTProjectorPurity