Offline · exact source
Exact Lean source

PhysicalFlatPCTTheorem

formalization/Cloning/PhysicalFlatPCTTheorem.lean

Source hash: 2d19df88d51881a9db15225b328764da9ddff26aa7b79de7fdebd690b1bd75c5

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.

In the dependency map: Purify–clone–trace

Paper ↔ Lean correspondence in this module
Declarations in this module
1import Cloning.PhysicalFlatPCTAction
2import Cloning.PhysicalFlatPCTBound
3 
4/-! The rank-adapted physical PCT theorem for one fixed all-input CPTP
5channel and every literal Grassmann projector, with a strict optimality gap. -/
6noncomputable section
7open scoped Topology Matrix ComplexOrder
8open Filter
9namespace Cloning.PhysicalFlatPCT
10open Cloning.PCT Cloning.PCTPhysicalState Cloning.PCTRankAdapted
11open Cloning.PhysicalFlatGrassmann Cloning.InfiniteTraceClass Cloning.Hybrid
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1200000
14local instance theoremAmbientNeZero (d k : ℕ) : NeZero (d+1+k) := ⟨by omega⟩
15 
16/-- Exact finite-sample fidelity, independent of the unknown projector. -/
17theorem fidelity_eq_supportFactor (d k : ℕ) (P : Projector (d+1) k) (n t : ℕ) :
18    fidelity d k P n t =
19      Real.sqrt (supportFactor n (n+t) (d*(d+2)) (flatPurificationDimension d k)) *
20        (PCTPhysicalState.outputState (flat_internal_register_card d) (flatInternalState d) n t).rootFidelity
21          (tensorState (flatInternalState d) (n+t)) := by
22  obtain ⟨J,hJ,hP⟩ := exists_embedded_flatState d k P
23  unfold fidelity
24  rw [outputState_eq_flatEmbeddedOutput d k P J hJ hP, hP]
25  exact embeddedPurificationOutput_fidelity_factorization
26    (flat_internal_register_card d) (flat_ambient_register_card d k) J hJ (flatInternalState d) n t
27 
28/-- Theorem (b), for the actual fixed PCT channel and a literal rank-(d+1)
29projector in ambient dimension d+1+k. No action, Gaussian, or limit premise is supplied. -/
30theorem fidelity_limsup_le (d k : ℕ) (P : Projector (d+1) k)
31    (t : ℕ → ℕ) (γ : ℝ) (hγ : 1<γ)
32    (hgain : Tendsto (fun n => ((n+t n : ℕ) : ℝ)/n) atTop (𝓝 γ)) :
33    limsup (fun n => fidelity d k P n (t n)) atTop ≤
34      γ ^ (-((((d+1)*k : ℕ) : ℝ)/2)) *
35        (Real.sqrt (2*γ-1)/γ) ^ ((((d+1 : ℕ) : ℝ)-1)/2) := by
36  obtain ⟨J,hJ,hP⟩ := exists_embedded_flatState d k P
37  have he : (fun n => fidelity d k P n (t n)) =
38      (fun n => (flatEmbeddedOutput d k J hJ n (t n)).rootFidelity
39        (tensorState (embeddedState J hJ (flatInternalState d)) (n+t n))) := by
40    funext n
41    unfold fidelity
42    rw [outputState_eq_flatEmbeddedOutput d k P J hJ hP, hP]
43  rw [he]
44  exact flatEmbeddedOutput_limsup_le d k J hJ t γ hγ hgain
45 
46/-- Supported rank greater than one gives a strict gap below the sharp
47Grassmann minimax value. -/
48theorem fidelity_limsup_lt_optimal (d k : ℕ) (hd : 0<d) (P : Projector (d+1) k)
49    (t : ℕ → ℕ) (γ : ℝ) (hγ : 1<γ)
50    (hgain : Tendsto (fun n => ((n+t n : ℕ) : ℝ)/n) atTop (𝓝 γ)) :
51    limsup (fun n => fidelity d k P n (t n)) atTop <
52      γ ^ (-((((d+1)*k : ℕ) : ℝ)/2)) :=
53  (fidelity_limsup_le d k P t γ hγ hgain).trans_lt
54    (rankAdaptedBound_lt_optimal hγ (by omega : 1<d+1) k)
55 
56/-- The upper estimate is uniform over all projectors for the same fixed
57channel sequence; the sample cutoff is selected before the projector. -/
58theorem fidelity_uniform_upper (d k : ℕ) (t : ℕ → ℕ) (γ : ℝ) (hγ : 1<γ)
59    (hgain : Tendsto (fun n => ((n+t n : ℕ) : ℝ)/n) atTop (𝓝 γ))
60    (ε : ℝ) (hε : 0<ε) :
61    ∀ᶠ n in atTop, ∀ P : Projector (d+1) k,
62      fidelity d k P n (t n) <
63        γ ^ (-((((d+1)*k : ℕ) : ℝ)/2)) *
64          (Real.sqrt (2*γ-1)/γ) ^ ((((d+1 : ℕ) : ℝ)-1)/2)+ε := by
65  let P₀ := orbitProjector (d+1) k 1
66  have hb : atTop.IsBoundedUnder (· ≤ ·) (fun n => fidelity d k P₀ n (t n)) :=
67    isBoundedUnder_of_eventually_le (Eventually.of_forall (fun n => fidelity_le_one d k P₀ n (t n)))
68  have h := eventually_lt_of_limsup_lt
69    ((fidelity_limsup_le d k P₀ t γ hγ hgain).trans_lt (lt_add_of_pos_right _ hε)) hb
70  filter_upwards [h] with n hn P
71  simpa only [fidelity_eq_supportFactor] using hn
72 
73end Cloning.PhysicalFlatPCT