Exact Lean source
MatrixFidelityAchievability
formalization/Cloning/MatrixFidelityAchievability.lean
Source hash: ee2ea61faa5da4a11e28c3711d3086fd5c28932bc88a5e229166b407aa857201
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.MatrixFidelityLifted
2import Cloning.MatrixFidelityProjector
3import Mathlib.Tactic.Linarith
4
5/-!
6# Concrete finite-block achievability from one-sided sector bounds
7
8The lower bound uses monotonicity under deletion and classical affinity
9continuity. It requires only lower fidelity bounds for the normalized retained
10sectors, not two-sided convergence of mixture fidelities.
11-/
12
13noncomputable section
14open scoped BigOperators MatrixOrder ComplexOrder Kronecker
15open Matrix
16namespace Cloning.MatrixFidelity
17
18set_option backward.isDefEq.respectTransparency false
19
20/-- A one-sided sector estimate passes through subprobability Hellinger weights. -/
21lemma weighted_sector_lower_bound {ι : Type*} [Fintype ι]
22 (p q f : ι → ℝ) (c η : ℝ)
23 (hp : ∀ i, 0 ≤ p i) (hq : ∀ i, 0 ≤ q i)
24 (hps : ∑ i, p i ≤ 1) (hqs : ∑ i, q i ≤ 1) (hη : 0 ≤ η)
25 (hsector : ∀ i, 0 < q i → c - η ≤ f i) :
26 c * Cloning.BlockFidelity.classicalAffinity q p - η ≤
27 ∑ i, Real.sqrt (q i) * Real.sqrt (p i) * f i := by
28 have hsum : ∑ i, Real.sqrt (q i) * Real.sqrt (p i) * (c - η) ≤
29 ∑ i, Real.sqrt (q i) * Real.sqrt (p i) * f i := by
30 apply Finset.sum_le_sum
31 intro i _
32 by_cases hpos : 0 < q i
33 · exact mul_le_mul_of_nonneg_left (hsector i hpos)
34 (mul_nonneg (Real.sqrt_nonneg _) (Real.sqrt_nonneg _))
35 · have hz : q i = 0 := le_antisymm (le_of_not_gt hpos) (hq i)
36 simp [hz]
37 have heq : ∑ i, Real.sqrt (q i) * Real.sqrt (p i) * (c - η) =
38 c * Cloning.BlockFidelity.classicalAffinity q p -
39 η * Cloning.BlockFidelity.classicalAffinity q p := by
40 rw [← Finset.sum_mul]
41 unfold Cloning.BlockFidelity.classicalAffinity
42 ring
43 have herror : η * Cloning.BlockFidelity.classicalAffinity q p ≤ η := by
44 simpa using mul_le_mul_of_nonneg_left
45 (Cloning.BlockFidelity.classicalAffinity_le_one q p hq hp hqs hps) hη
46 rw [heq] at hsum
47 linarith
48
49variable {ι : Type*} [Fintype ι] [DecidableEq ι]
50variable {d s : ι → Type*}
51variable [∀ i, Fintype (d i)] [∀ i, DecidableEq (d i)]
52variable [∀ i, Fintype (s i)] [∀ i, DecidableEq (s i)]
53
54/-- A finite achievability estimate for actual lifted matrix blocks. The output
55marginal is the actual block trace, and only retained positive-trace sectors
56need satisfy the lower fidelity estimate. -/
57theorem fidelity_lifted_achievability
58 (X G ρ : ∀ i, Matrix (d i) (d i) ℂ)
59 (τ : ∀ i, Matrix (s i) (s i) ℂ) (p : ι → ℝ) (c η : ℝ)
60 (hX : ∀ i, (X i).PosSemidef) (hG : ∀ i, (G i).PosSemidef)
61 (hρ : ∀ i, (ρ i).PosSemidef) (hτ : ∀ i, (τ i).PosSemidef)
62 (hp : ∀ i, 0 ≤ p i) (htrace : ∀ i, (Matrix.trace (τ i)).re = 1)
63 (hps : ∑ i, p i = 1) (hXs : ∑ i, (Matrix.trace (X i)).re ≤ 1)
64 (hGX : ∀ i, G i ≤ X i) (hc0 : 0 ≤ c) (hc1 : c ≤ 1) (hη : 0 ≤ η)
65 (hsectorLower : ∀ i, 0 < (Matrix.trace (G i)).re →
66 c - η ≤ fidelity (normalizedBlock (G i)) (ρ i)) :
67 c * Cloning.BlockFidelity.classicalAffinity
68 (fun i => (Matrix.trace (X i)).re) p - η -
69 Real.sqrt (∑ i, ((Matrix.trace (X i)).re - (Matrix.trace (G i)).re)) ≤
70 fidelity (Matrix.blockDiagonal' (fun i => X i ⊗ₖ τ i))
71 (Matrix.blockDiagonal' (fun i => (p i • ρ i) ⊗ₖ τ i)) := by
72 let q : ι → ℝ := fun i => (Matrix.trace (X i)).re
73 let qG : ι → ℝ := fun i => (Matrix.trace (G i)).re
74 have hqG : ∀ i, 0 ≤ qG i := fun i => trace_re_nonneg (hG i)
75 have hqGX : ∀ i, qG i ≤ q i := fun i => trace_re_mono (hGX i)
76 have hqGs : ∑ i, qG i ≤ 1 := (Finset.sum_le_sum fun i _ => hqGX i).trans hXs
77 have hretained : c * Cloning.BlockFidelity.classicalAffinity qG p - η ≤
78 fidelity (Matrix.blockDiagonal' (fun i => G i ⊗ₖ τ i))
79 (Matrix.blockDiagonal' (fun i => (p i • ρ i) ⊗ₖ τ i)) := by
80 rw [fidelity_lifted_blocks_normalized G ρ τ p hG hρ hτ hp htrace]
81 exact weighted_sector_lower_bound p qG
82 (fun i => fidelity (normalizedBlock (G i)) (ρ i)) c η hp hqG
83 (le_of_eq hps) hqGs hη hsectorLower
84 have hmono : fidelity (Matrix.blockDiagonal' (fun i => G i ⊗ₖ τ i))
85 (Matrix.blockDiagonal' (fun i => (p i • ρ i) ⊗ₖ τ i)) ≤
86 fidelity (Matrix.blockDiagonal' (fun i => X i ⊗ₖ τ i))
87 (Matrix.blockDiagonal' (fun i => (p i • ρ i) ⊗ₖ τ i)) := by
88 rw [fidelity_lifted_blocks G ρ τ p hG hρ hτ hp htrace,
89 fidelity_lifted_blocks X ρ τ p hX hρ hτ hp htrace]
90 exact Finset.sum_le_sum fun i _ => mul_le_mul_of_nonneg_left
91 (fidelity_mono_left (hGX i) (ρ i)) (Real.sqrt_nonneg _)
92 have htrim := Cloning.BlockFidelity.classicalAffinity_trim_bound q qG p hqG hp hqGX hps
93 have hdiff : Cloning.BlockFidelity.classicalAffinity q p -
94 Cloning.BlockFidelity.classicalAffinity qG p ≤ Real.sqrt (∑ i, (q i - qG i)) :=
95 (le_abs_self _).trans htrim
96 have hscaled : c * (Cloning.BlockFidelity.classicalAffinity q p -
97 Cloning.BlockFidelity.classicalAffinity qG p) ≤ Real.sqrt (∑ i, (q i - qG i)) := by
98 calc
99 _ ≤ c * Real.sqrt (∑ i, (q i - qG i)) := mul_le_mul_of_nonneg_left hdiff hc0
100 _ ≤ _ := by
101 simpa using (mul_le_mul_of_nonneg_right hc1
102 (Real.sqrt_nonneg (∑ i, (q i - qG i))))
103 change c * Cloning.BlockFidelity.classicalAffinity q p - η -
104 Real.sqrt (∑ i, (q i - qG i)) ≤ _
105 linarith
106
107end Cloning.MatrixFidelity