Exact Lean source
PhysicalFlatConverseJensen
formalization/Cloning/PhysicalFlatConverseJensen.lean
Source hash: 0966284e15e70b94faf3500c148e85d70991c38eff109801387603465f80ae7f
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.PhysicalFlatConverseHaar
2import Cloning.MatrixFidelityMixtures
3import Cloning.MatrixFidelityBounds
4import Cloning.MatrixFidelityEmbedding
5import Mathlib.Analysis.Convex.Integral
6
7/-! Fidelity Jensen inequality for the actual compact Haar orbit, followed
8by the exact physical sector dimension-ratio bound. -/
9noncomputable section
10open scoped BigOperators InnerProductSpace Matrix Topology Matrix.Norms.L2Operator MatrixOrder ComplexOrder
11open MeasureTheory
12namespace Cloning.PhysicalFlatConverse
13open Cloning.TensorLie Cloning.MatrixFidelity Cloning.PCTPurificationChannel
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 800000
16variable {I : Type*} [Fintype I] [DecidableEq I]
17
18local instance : CStarAlgebra (Matrix I I ℂ) where
19
20/-- Jensen on a compact family of actual positive matrices. Integrability
21and positivity of the averaged family are obtained from the stated objects. -/
22theorem fidelity_compact_integral_le {A : Type*} [TopologicalSpace A] [CompactSpace A]
23 [MeasurableSpace A] [BorelSpace A] (ν : Measure A) [IsProbabilityMeasure ν]
24 (f : A → Matrix I I ℂ) (hf : Continuous f) (hp : ∀ a, (f a).PosSemidef)
25 (T : Matrix I I ℂ) (hT : T.PosSemidef) :
26 (∫ a, fidelity (f a) T ∂ν) ≤ fidelity (∫ a, f a ∂ν) T := by
27 have hpair : Continuous (fun M : Matrix I I ℂ => (M,T)) :=
28 continuous_id.prodMk continuous_const
29 have hg : ContinuousOn (fun M : Matrix I I ℂ => fidelity M T) {M | M.PosSemidef} := by
30 apply (continuousOn_fidelity (n := I)).comp hpair.continuousOn
31 intro M hM
32 exact ⟨hM,hT⟩
33 have hs : IsClosed {M : Matrix I I ℂ | M.PosSemidef} := by
34 simpa only [Matrix.nonneg_iff_posSemidef] using
35 (isClosed_le continuous_const continuous_id : IsClosed {M : Matrix I I ℂ | 0 ≤ M})
36 have hcont : Continuous (fun a => fidelity (f a) T) :=
37 hg.comp_continuous hf hp
38 exact (concaveOn_fidelity_left T).le_map_integral hg hs (ae_of_all ν hp)
39 (hf.integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _))
40 (hcont.integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _))
41
42variable {d : ℕ} [Nonempty (Fin d)]
43
44theorem partitionTwirl_eq_real (mu : Fin d → ℕ) (hmu : Antitone mu)
45 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ) (hM : M.PosSemidef) :
46 partitionTwirl mu hmu M = (M.trace.re / (partitionDimension mu hmu : ℝ)) •
47 (1 : Matrix (PartitionIndex mu hmu) _ ℂ) := by
48 have ht : M.trace = (M.trace.re : ℂ) := by
49 apply Complex.ext <;> simp [trace_im_zero hM]
50 have hc : M.trace / (partitionDimension mu hmu : ℂ) =
51 ((M.trace.re / (partitionDimension mu hmu : ℝ) : ℝ) : ℂ) := by
52 rw [Complex.ofReal_div, Complex.ofReal_natCast, ht]
53 simp only [Complex.ofReal_re]
54 rw [partitionTwirl_eq, hc]
55 exact (RCLike.real_smul_eq_coe_smul (K := ℂ) _ _).symm
56
57/-- Haar orbit average fidelity is bounded by the exact scalar-identity
58value. The averaged matrix is the actual physical sector twirl. -/
59theorem integral_partition_fidelity_le
60 (mu : Fin d → ℕ) (hmu : Antitone mu)
61 (M T : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ)
62 (hM : M.PosSemidef) (hT : T.PosSemidef) :
63 (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
64 fidelity (partitionActionMatrix mu hmu U * M * (partitionActionMatrix mu hmu U)ᴴ) T
65 ∂unitaryHaar) ≤
66 fidelity ((M.trace.re / (partitionDimension mu hmu : ℝ)) •
67 (1 : Matrix (PartitionIndex mu hmu) _ ℂ)) T := by
68 have hh := fidelity_compact_integral_le unitaryHaar
69 (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) =>
70 partitionActionMatrix mu hmu U * M * (partitionActionMatrix mu hmu U)ᴴ)
71 (continuous_partitionSandwich mu hmu M)
72 (fun U => hM.mul_mul_conjTranspose_same _) T hT
73 change _ ≤ fidelity (partitionTwirl mu hmu M) T at hh
74 rwa [partitionTwirl_eq_real mu hmu M hM] at hh
75
76/-- Exact finite-sector dimension loss for any positive channel output block,
77with no covariance, normalization, or invariant-output assumption. -/
78theorem integral_partition_flat_fidelity_le
79 (mu : Fin d → ℕ) (hmu : Antitone mu)
80 (M P : Matrix (PartitionIndex mu hmu) (PartitionIndex mu hmu) ℂ)
81 (hM : M.PosSemidef) (hP : P.PosSemidef) (hPP : P*P=P)
82 (q s : ℝ) (hq : 0 ≤ q) (hs : 0 < s) (htrace : P.trace.re = s) :
83 (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
84 fidelity (partitionActionMatrix mu hmu U * M * (partitionActionMatrix mu hmu U)ᴴ) ((q/s) • P)
85 ∂unitaryHaar) ≤
86 Real.sqrt (M.trace.re * q / ((partitionDimension mu hmu : ℝ) / s)) := by
87 apply (integral_partition_fidelity_le mu hmu M ((q/s) • P) hM
88 (hP.smul (div_nonneg hq hs.le))).trans_eq
89 exact fidelity_flat_projector_block _ q _ s (trace_re_nonneg hM) hq
90 (Nat.cast_pos.mpr (partitionDimension_pos mu hmu)) hs hP hPP htrace
91
92end Cloning.PhysicalFlatConverse