Exact Lean source
PhysicalFlatConverseOrbitAverage
formalization/Cloning/PhysicalFlatConverseOrbitAverage.lean
Source hash: f8d500653987b44bc0d9b4a57050e9837207720c7385e51395863be783482377
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.PhysicalFlatConverse.partitionActionMatrix_invtheorem Cloning.PhysicalFlatConverse.partition_fidelity_move_unitarytheorem Cloning.PhysicalFlatConverse.integral_partition_target_fidelity_eqtheorem Cloning.PhysicalFlatConverse.integral_partition_target_projector_letheorem Cloning.PhysicalFlatConverse.integrable_partition_target_fidelitytheorem Cloning.PhysicalFlatConverse.integral_partition_copy_projectors_le1import Cloning.PhysicalFlatConverseJensen
2
3/-! The averaged physical target orbit, and its finite-copy Cauchy--Schwarz
4bound, including zero-rank support projections. -/
5noncomputable section
6open scoped BigOperators InnerProductSpace Matrix Topology Matrix.Norms.L2Operator MatrixOrder ComplexOrder
7open MeasureTheory
8namespace Cloning.PhysicalFlatConverse
9open Cloning.TensorLie Cloning.MatrixFidelity Cloning.PCTPurificationChannel
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 800000
12variable {d : ℕ} [Nonempty (Fin d)]
13
14theorem partitionActionMatrix_inv (mu : Fin d → ℕ) (hmu : Antitone mu)
15 (U : unitary (Matrix (Fin d) (Fin d) ℂ)) :
16 partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ) = (partitionActionMatrix mu hmu U)ᴴ := by
17 rw [← Unitary.star_eq_inv]
18 exact partitionActionMatrix_star mu hmu U
19
20theorem partition_fidelity_move_unitary (mu : Fin d → ℕ) (hmu : Antitone mu)
21 (M T : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ)
22 (hM : M.PosSemidef) (hT : T.PosSemidef)
23 (U : unitary (Matrix (Fin d) (Fin d) ℂ)) :
24 fidelity M (partitionActionMatrix mu hmu U * T * (partitionActionMatrix mu hmu U)ᴴ) =
25 fidelity (partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ) * M * (partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ))ᴴ) T := by
26 let V := partitionActionMatrix mu hmu U
27 have hV : Vᴴ * V = 1 := partitionActionMatrix_unitary mu hmu U
28 have hV' : V * Vᴴ = 1 := mul_eq_one_comm.mp hV
29 have he : V * (Vᴴ * M * V) * Vᴴ = M := by
30 calc
31 _ = (V*Vᴴ)*M*(V*Vᴴ) := by noncomm_ring
32 _ = M := by rw [hV',one_mul,mul_one]
33 have hh := fidelity_unitary_conjugation V hV (hM.conjTranspose_mul_mul_same V) hT
34 rw [he] at hh
35 simpa only [partitionActionMatrix_inv, Matrix.conjTranspose_conjTranspose, V] using hh
36
37theorem integral_partition_target_fidelity_eq (mu : Fin d → ℕ) (hmu : Antitone mu)
38 (M T : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ)
39 (hM : M.PosSemidef) (hT : T.PosSemidef) :
40 (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
41 fidelity M (partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ) * T * (partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ))ᴴ) ∂unitaryHaar) =
42 (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
43 fidelity (partitionActionMatrix mu hmu U * M * (partitionActionMatrix mu hmu U)ᴴ) T ∂unitaryHaar) := by
44 apply integral_congr_ae
45 apply ae_of_all
46 intro U
47 have he := partition_fidelity_move_unitary mu hmu M T hM hT (U⁻¹)
48 simpa only [inv_inv] using he
49
50theorem integral_partition_target_projector_le (mu : Fin d → ℕ) (hmu : Antitone mu)
51 (M P : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ)
52 (hM : M.PosSemidef) (hP : P.PosSemidef) (hPP : P*P=P) (c : ℝ) (hc : 0 ≤ c) :
53 (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
54 fidelity M (partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ) * (c • P) * (partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ))ᴴ)
55 ∂unitaryHaar) ≤
56 Real.sqrt (M.trace.re * (c * P.trace.re ^ 2) / (partitionDimension mu hmu : ℝ)) := by
57 rw [integral_partition_target_fidelity_eq mu hmu M (c • P) hM (hP.smul hc)]
58 apply (integral_partition_fidelity_le mu hmu M (c • P) hM (hP.smul hc)).trans_eq
59 rw [fidelity_identity_projector _ c
60 (div_nonneg (trace_re_nonneg hM) (Nat.cast_nonneg _)) hc hP hPP]
61 have hs : 0 ≤ P.trace.re := trace_re_nonneg hP
62 have hrad : 0 ≤ (M.trace.re / (partitionDimension mu hmu : ℝ)) * c :=
63 mul_nonneg (div_nonneg (trace_re_nonneg hM) (Nat.cast_nonneg _)) hc
64 have hsq : (Real.sqrt ((M.trace.re / (partitionDimension mu hmu : ℝ))*c) * P.trace.re)^2 =
65 M.trace.re * (c * P.trace.re^2) / (partitionDimension mu hmu : ℝ) := by
66 rw [mul_pow,Real.sq_sqrt hrad]
67 ring
68 rw [← hsq, Real.sqrt_sq (mul_nonneg (Real.sqrt_nonneg _) hs)]
69
70theorem integrable_partition_target_fidelity (mu : Fin d → ℕ) (hmu : Antitone mu)
71 (M T : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ)
72 (hM : M.PosSemidef) (hT : T.PosSemidef) :
73 Integrable (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) =>
74 fidelity M (partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ) * T * (partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ))ᴴ)) unitaryHaar := by
75 have hp : Continuous (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) =>
76 (M,partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ) * T * (partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ))ᴴ)) :=
77 continuous_const.prodMk ((continuous_partitionSandwich mu hmu T).comp continuous_inv)
78 have hg : ContinuousOn (fun X : Matrix (PartitionIndex mu hmu) _ ℂ => fidelity M X)
79 {X | X.PosSemidef} := by
80 apply (continuousOn_fidelity (n := PartitionIndex mu hmu)).comp
81 (show Continuous (fun X : Matrix (PartitionIndex mu hmu) _ ℂ => (M,X)) from
82 continuous_const.prodMk continuous_id).continuousOn
83 intro X hX
84 exact ⟨hM,hX⟩
85 have hh := hg.comp_continuous ((continuous_partitionSandwich mu hmu T).comp continuous_inv)
86 (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) => hT.mul_mul_conjTranspose_same
87 (partitionActionMatrix mu hmu ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ)))
88 exact hh.integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _)
89
90/-- Sum over actual irreducible copies, with no condition on repeated labels
91or on vanishing target support ranks. -/
92theorem integral_partition_copy_projectors_le {ι : Type*} [Fintype ι]
93 (mu : ι → Fin d → ℕ) (hmu : ∀ i, Antitone (mu i))
94 (M P : ∀ i, Matrix (PartitionIndex (mu i) (hmu i)) (PartitionIndex (mu i) (hmu i)) ℂ)
95 (hM : ∀ i, (M i).PosSemidef) (hP : ∀ i, (P i).PosSemidef)
96 (hPP : ∀ i, P i * P i = P i) (c : ι → ℝ) (hc : ∀ i, 0 ≤ c i) :
97 (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ), ∑ i,
98 fidelity (M i) (partitionActionMatrix (mu i) (hmu i) ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ) * (c i • P i) *
99 (partitionActionMatrix (mu i) (hmu i) ((U⁻¹ : unitary (Matrix (Fin d) (Fin d) ℂ)) : Matrix (Fin d) (Fin d) ℂ))ᴴ) ∂unitaryHaar) ≤
100 Real.sqrt ((∑ i, (M i).trace.re) *
101 ∑ i, c i * (P i).trace.re ^ 2 / (partitionDimension (mu i) (hmu i) : ℝ)) := by
102 rw [integral_finset_sum _ (fun i _ => integrable_partition_target_fidelity
103 (mu i) (hmu i) (M i) (c i • P i) (hM i) ((hP i).smul (hc i)))]
104 apply (Finset.sum_le_sum (fun i _ => integral_partition_target_projector_le
105 (mu i) (hmu i) (M i) (P i) (hM i) (hP i) (hPP i) (c i) (hc i))).trans
106 exact Cloning.Projector.block_fidelity_le_of_mass_le Finset.univ
107 (fun i => (M i).trace.re) (fun i => c i*(P i).trace.re^2)
108 (fun i => (partitionDimension (mu i) (hmu i) : ℝ)) _
109 (fun i _ => trace_re_nonneg (hM i)) (fun i _ => mul_nonneg (hc i) (sq_nonneg _))
110 (fun i _ => Nat.cast_pos.mpr (partitionDimension_pos (mu i) (hmu i))) le_rfl
111
112end Cloning.PhysicalFlatConverse