Exact Lean source
PCTProjectorPurityDomination
formalization/Cloning/PCTProjectorPurityDomination.lean
Source hash: 8f51c128496962c8af72096336d71ac2dff1db39449b5b341b9ac784d850727e
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
theorem
Cloning.PCTProjectorPurity.continuous_particle_entrytheorem Cloning.PCTProjectorPurity.continuous_particle_purity_kerneltheorem Cloning.PCTProjectorPurity.particle_overlap_nonnegtheorem Cloning.PCTProjectorPurity.trace_mul_re_le_frobeniustheorem Cloning.PCTProjectorPurity.particle_overlap_scaled_boundtheorem Cloning.PCTProjectorPurity.particle_purity_kernel_le_energy1import Cloning.PCTProjectorPurityKernel
2import Cloning.PCTPurityFidelityBound
3import Cloning.PCTFlatGaussianCrossKernel
4import Cloning.MatrixTraceOrder
5import Cloning.GeneralCoherentMixture
6
7/-! An actual two-energy integrable envelope for the finite PCT purity
8kernel. The bound uses the normalized physical particle, not a truncation. -/
9noncomputable section
10open scoped BigOperators Topology Matrix ComplexOrder InnerProductSpace Matrix.Norms.Frobenius
11open Filter MeasureTheory
12namespace Cloning.PCTProjectorPurity
13open Cloning.PCT Cloning.PCTReducedGaussian Cloning.PCTPhysicalState
14open Cloning.PCTLocalChart Cloning.PCTGaussianCovariance Cloning.YoungGeneral
15set_option backward.isDefEq.respectTransparency true
16set_option maxHeartbeats 180000
17variable {r s : ℕ}
18
19lemma continuous_particle_entry
20 (u : OrthonormalBasis (Fin (s+1)) ℂ (Register (Fin r×Fin r)))
21 (L : ℕ) (i j : Fin r) : Continuous (fun z => particle u z L i j) := by
22 have hc (a b : Fin r) : Continuous (fun z => frameParticle u z L (a,b)) := by
23 simp only [frameParticle_apply]
24 exact continuous_finset_sum _ (fun k _ =>
25 (GeneralCoherent.continuous_oneParticle s L k).mul_const _)
26 unfold particle reducedDensityMatrix
27 exact continuous_finset_sum _ (fun k _ => (hc i k).mul (hc j k).star)
28
29lemma continuous_particle_purity_kernel
30 (u : OrthonormalBasis (Fin (s+1)) ℂ (Register (Fin r×Fin r))) (L : ℕ) :
31 Continuous (fun zw : (Fin s→ℂ)×(Fin s→ℂ) =>
32 ((r:ℝ)*(Matrix.trace (particle u zw.1 L*particle u zw.2 L)).re)^L) := by
33 apply Continuous.pow
34 apply Continuous.const_mul
35 apply Complex.continuous_re.comp
36 simp only [Matrix.trace,Matrix.diag_apply,Matrix.mul_apply]
37 apply continuous_finset_sum
38 intro i _
39 apply continuous_finset_sum
40 intro j _
41 exact ((continuous_particle_entry u L i j).comp continuous_fst).mul
42 ((continuous_particle_entry u L j i).comp continuous_snd)
43
44lemma particle_overlap_nonneg (hr : 0<r)
45 (u : OrthonormalBasis (Fin (s+1)) ℂ (Register (Fin r×Fin r)))
46 (z w : Fin s→ℂ) (L : ℕ) :
47 0≤(r:ℝ)*(Matrix.trace (particle u z L*particle u w L)).re := by
48 letI : Nonempty (Fin r) := ⟨⟨0,hr⟩⟩
49 exact mul_nonneg (Nat.cast_nonneg _) (Cloning.MatrixFidelity.trace_mul_re_nonneg
50 (reducedDensityMatrix_posSemidef _) (reducedDensityMatrix_posSemidef _))
51
52lemma trace_mul_re_le_frobenius (P Q : Matrix (Fin r) (Fin r) ℂ) (hP : P.IsHermitian) :
53 (Matrix.trace (P*Q)).re≤‖P‖*‖Q‖ := by
54 rw [←Cloning.PCTFlatGaussianCross.coefficientVector_inner_trace P Q hP,
55 Cloning.PCTPurity.frobenius_norm_eq_coefficientVector,
56 Cloning.PCTPurity.frobenius_norm_eq_coefficientVector]
57 exact (Complex.re_le_norm _).trans (norm_inner_le_norm _ _)
58
59lemma particle_overlap_scaled_bound (hr : 2≤r)
60 (u : OrthonormalBasis (Fin (s+1)) ℂ (Register (Fin r×Fin r)))
61 (hu : u 0=coefficientVector (schmidtCoefficients (flatSpectrum r)))
62 (z w : Fin s→ℂ) (L : ℕ) (hL : 0<L) :
63 (L:ℝ)*((r:ℝ)*(Matrix.trace (particle u z L*particle u w L)).re-1)≤
64 2*(r:ℝ)*(GeneralCoherent.energy z+GeneralCoherent.energy w) := by
65 have hr0 : 0<r := by omega
66 letI : Nonempty (Fin r) := ⟨⟨0,hr0⟩⟩
67 have hF : (flatBase r).IsHermitian := by
68 apply Matrix.isHermitian_diagonal_iff.mpr
69 intro i
70 simp [isSelfAdjoint_iff]
71 have hP : (particle u z L-flatBase r).IsHermitian :=
72 (reducedDensityMatrix_posSemidef _).isHermitian.sub hF
73 have ht := trace_mul_re_le_frobenius (particle u z L-flatBase r)
74 (particle u w L-flatBase r) hP
75 have hnorm := mul_le_mul
76 (Cloning.PCTPurity.particle_frobenius_deviation_le hr u hu z L)
77 (Cloning.PCTPurity.particle_frobenius_deviation_le hr u hu w L)
78 (norm_nonneg _) (by positivity)
79 have hz : 0≤GeneralCoherent.energy z/(L:ℝ) := div_nonneg (GeneralCoherent.energy_nonneg z) (Nat.cast_nonneg _)
80 have hw : 0≤GeneralCoherent.energy w/(L:ℝ) := div_nonneg (GeneralCoherent.energy_nonneg w) (Nat.cast_nonneg _)
81 have hab : 2*Real.sqrt (GeneralCoherent.energy z/L)*
82 (2*Real.sqrt (GeneralCoherent.energy w/L))≤
83 2*(GeneralCoherent.energy z/L+GeneralCoherent.energy w/L) := by
84 nlinarith [sq_nonneg (Real.sqrt (GeneralCoherent.energy z/L)-
85 Real.sqrt (GeneralCoherent.energy w/L)),Real.sq_sqrt hz,Real.sq_sqrt hw]
86 have hc := congrArg Complex.re (rank_trace_centered_mul hr0 (particle u z L)
87 (particle u w L) (trace_particle hr0 u z L) (trace_particle hr0 u w L))
88 simp only [Complex.mul_re,Complex.natCast_re,Complex.natCast_im,zero_mul,sub_zero,
89 Complex.sub_re,Complex.one_re] at hc
90 rw [←hc]
91 calc
92 _ ≤ (L:ℝ)*((r:ℝ)*(2*(GeneralCoherent.energy z/L+GeneralCoherent.energy w/L))) :=
93 mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left
94 (ht.trans (hnorm.trans hab)) (Nat.cast_nonneg _)) (Nat.cast_nonneg _)
95 _ = _ := by field_simp <;> ring
96
97/-- The exact manuscript domination, valid at every sample size. -/
98theorem particle_purity_kernel_le_energy (hr : 2≤r)
99 (u : OrthonormalBasis (Fin (s+1)) ℂ (Register (Fin r×Fin r)))
100 (hu : u 0=coefficientVector (schmidtCoefficients (flatSpectrum r)))
101 (z w : Fin s→ℂ) (L : ℕ) :
102 ((r:ℝ)*(Matrix.trace (particle u z L*particle u w L)).re)^L≤
103 Real.exp (2*(r:ℝ)*(GeneralCoherent.energy z+GeneralCoherent.energy w)) := by
104 rcases Nat.eq_zero_or_pos L with rfl|hL
105 · simp only [pow_zero]
106 apply Real.one_le_exp
107 exact mul_nonneg (by positivity) (add_nonneg (GeneralCoherent.energy_nonneg z) (GeneralCoherent.energy_nonneg w))
108 let a := (r:ℝ)*(Matrix.trace (particle u z L*particle u w L)).re
109 have ha : 0≤a := particle_overlap_nonneg (by omega) u z w L
110 calc
111 a^L ≤ (Real.exp (a-1))^L := by
112 apply pow_le_pow_left₀ ha
113 linarith [Real.add_one_le_exp (a-1)]
114 _ = Real.exp ((L:ℝ)*(a-1)) := by rw [←Real.exp_nat_mul]
115 _ ≤ _ := Real.exp_le_exp.mpr (particle_overlap_scaled_bound hr u hu z w L hL)
116
117end Cloning.PCTProjectorPurity