Offline · exact source
Exact Lean source

HybridL1Jensen

formalization/Cloning/HybridL1Jensen.lean

Source hash: 1be2699d037a5b5ff13d7af662d53865764018caf81ff24054e752aa2c383463

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.HybridL1Fidelity
2 
3/-! Joint concavity and Bochner Jensen for fidelity on the positive
4operator-valued L1 cone. This applies directly to continuous hybrid channels. -/
5 
6noncomputable section
7open scoped ComplexOrder InnerProductSpace Topology BigOperators
8open MeasureTheory Filter Cloning.InfiniteTraceClass Cloning.InfiniteFidelity
9namespace Cloning.Hybrid
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 1000000
12 
13variable {Ω H : Type*} [MeasurableSpace Ω] {μ : Measure Ω}
14  [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
15 
16theorem coeFn_Lp_add_smul (A B : Lp (TraceClass H) 1 μ) (a b : ℝ) :
17    (a • A + b • B : Lp (TraceClass H) 1 μ) =ᵐ[μ]
18      fun y => a • A y + b • B y := by
19  filter_upwards [Lp.coeFn_add (a • A) (b • B), Lp.coeFn_smul a A,
20    Lp.coeFn_smul b B] with y hadd ha hb
21  simp only [hadd, Pi.add_apply, ha, hb, Pi.smul_apply]
22 
23def positiveL1Pairs : Set (Lp (TraceClass H) 1 μ × Lp (TraceClass H) 1 μ) :=
24  {p | (∀ᵐ y ∂μ, 0 ≤ (p.1 y).1) ∧ (∀ᵐ y ∂μ, 0 ≤ (p.2 y).1)}
25 
26def extendedL1RootFidelity (p : Lp (TraceClass H) 1 μ × Lp (TraceClass H) 1 μ) : ℝ := by
27  classical
28  exact if h : p ∈ positiveL1Pairs then
29    PositiveL1.rootFidelity ⟨p.1, h.1⟩ ⟨p.2, h.2⟩ else 0
30 
31theorem extendedL1RootFidelity_eq (A B : PositiveL1 H μ) :
32    extendedL1RootFidelity (A.1, B.1) = A.rootFidelity B := by
33  unfold extendedL1RootFidelity
34  rw [dif_pos (show (A.1, B.1) ∈ positiveL1Pairs from ⟨A.2, B.2⟩)]
35  rfl
36 
37theorem extendedL1RootFidelity_eq_integral
38    {p : Lp (TraceClass H) 1 μ × Lp (TraceClass H) 1 μ} (hp : p ∈ positiveL1Pairs) :
39    extendedL1RootFidelity p = ∫ y, extendedRootFidelity (p.1 y, p.2 y) ∂μ := by
40  rw [show p = (p.1, p.2) from rfl, extendedL1RootFidelity_eq ⟨p.1, hp.1⟩ ⟨p.2, hp.2⟩,
41    PositiveL1.rootFidelity_eq_integral]
42 
43theorem convex_positiveL1Pairs : Convex ℝ (positiveL1Pairs (H := H) (μ := μ)) := by
44  intro p hp q hq a b ha hb _
45  constructor
46  · filter_upwards [hp.1, hq.1, coeFn_Lp_add_smul p.1 q.1 a b] with y hpy hqy hy
47    change 0 ≤ ((a • p.1 + b • q.1) y).1
48    rw [hy]
49    change 0 ≤ a • (p.1 y).1 + b • (q.1 y).1
50    exact add_nonneg (smul_nonneg ha hpy) (smul_nonneg hb hqy)
51  · filter_upwards [hp.2, hq.2, coeFn_Lp_add_smul p.2 q.2 a b] with y hpy hqy hy
52    change 0 ≤ ((a • p.2 + b • q.2) y).1
53    rw [hy]
54    change 0 ≤ a • (p.2 y).1 + b • (q.2 y).1
55    exact add_nonneg (smul_nonneg ha hpy) (smul_nonneg hb hqy)
56 
57theorem isClosed_positiveL1Pairs : IsClosed (positiveL1Pairs (H := H) (μ := μ)) := by
58  have hs : IsClosed {A : Lp (TraceClass H) 1 μ | ∀ᵐ y ∂μ, 0 ≤ (A y).1} :=
59    isClosed_Lp_ae_mem (isClosed_le continuous_const (inclusionCLM (H := H)).continuous)
60  exact (hs.preimage continuous_fst).inter (hs.preimage continuous_snd)
61 
62theorem continuousOn_extendedL1RootFidelity :
63    ContinuousOn (extendedL1RootFidelity (H := H) (μ := μ)) positiveL1Pairs := by
64  rw [continuousOn_iff_continuous_restrict]
65  let j : positiveL1Pairs (H := H) (μ := μ) → PositiveL1 H μ × PositiveL1 H μ :=
66    fun p => (⟨p.1.1, p.2.1⟩, ⟨p.1.2, p.2.2⟩)
67  have hj : Continuous j :=
68    ((continuous_fst.comp continuous_subtype_val).subtype_mk _).prodMk
69      ((continuous_snd.comp continuous_subtype_val).subtype_mk _)
70  have h := PositiveL1.continuous_rootFidelity.comp hj
71  convert h using 1
72  funext p
73  exact extendedL1RootFidelity_eq ⟨p.1.1, p.2.1⟩ ⟨p.1.2, p.2.2⟩
74 
75/-- Fibrewise infinite-dimensional joint concavity integrates to the actual
76L1 fidelity; no commutativity of fibres or classical--quantum independence is used. -/
77theorem concaveOn_extendedL1RootFidelity :
78    ConcaveOn ℝ (positiveL1Pairs (H := H) (μ := μ)) extendedL1RootFidelity := by
79  refine ⟨convex_positiveL1Pairs, ?_⟩
80  intro p hp q hq a b ha hb hab
81  have hc := convex_positiveL1Pairs hp hq ha hb hab
82  have hip := PositiveL1.integrable_rootFidelity (⟨p.1, hp.1⟩ : PositiveL1 H μ) ⟨p.2, hp.2⟩
83  have hiq := PositiveL1.integrable_rootFidelity (⟨q.1, hq.1⟩ : PositiveL1 H μ) ⟨q.2, hq.2⟩
84  have hic := PositiveL1.integrable_rootFidelity
85    (⟨(a • p + b • q).1, hc.1⟩ : PositiveL1 H μ) ⟨(a • p + b • q).2, hc.2⟩
86  simp only [smul_eq_mul]
87  rw [extendedL1RootFidelity_eq_integral hp, extendedL1RootFidelity_eq_integral hq,
88    extendedL1RootFidelity_eq_integral hc, ← integral_const_mul, ← integral_const_mul,
89    ← integral_add (hip.const_mul a) (hiq.const_mul b)]
90  apply integral_mono_ae ((hip.const_mul a).add (hiq.const_mul b)) hic
91  filter_upwards [hp.1, hp.2, hq.1, hq.2,
92    coeFn_Lp_add_smul p.1 q.1 a b, coeFn_Lp_add_smul p.2 q.2 a b] with y hp₁ hp₂ hq₁ hq₂ h₁ h₂
93  change a * extendedRootFidelity (p.1 y, p.2 y) + b * extendedRootFidelity (q.1 y, q.2 y) ≤
94    extendedRootFidelity ((a • p.1 + b • q.1) y, (a • p.2 + b • q.2) y)
95  rw [h₁, h₂]
96  exact concaveOn_extendedRootFidelity.2 ⟨hp₁, hp₂⟩ ⟨hq₁, hq₂⟩ ha hb hab
97 
98namespace PositiveL1
99 
100variable {Ξ : Type*} [MeasurableSpace Ξ] {ν : Measure Ξ}
101 
102theorem integrable_family_rootFidelity (A B : Ξ → PositiveL1 H μ)
103    (hA : Integrable (fun ξ => (A ξ).1) ν) (hB : Integrable (fun ξ => (B ξ).1) ν) :
104    Integrable (fun ξ => (A ξ).rootFidelity (B ξ)) ν := by
105  have hmA : AEStronglyMeasurable A ν :=
106    Topology.IsEmbedding.subtypeVal.aestronglyMeasurable_comp_iff.mp hA.aestronglyMeasurable
107  have hmB : AEStronglyMeasurable B ν :=
108    Topology.IsEmbedding.subtypeVal.aestronglyMeasurable_comp_iff.mp hB.aestronglyMeasurable
109  apply (integrable_sqrt_mul_sqrt hA.norm hB.norm (fun _ => norm_nonneg _) (fun _ => norm_nonneg _)).mono'
110    (continuous_rootFidelity.comp_aestronglyMeasurable (hmA.prodMk hmB))
111  exact Eventually.of_forall fun ξ => by
112    rw [Real.norm_of_nonneg (rootFidelity_nonneg _ _)]
113    exact rootFidelity_le_sqrt _ _
114 
115/-- Joint Jensen for any Bochner-integrable probability family of actual
116positive L1 states, expressed with arbitrary identified average states. -/
117theorem integral_rootFidelity_le [IsProbabilityMeasure ν]
118    (A B : Ξ → PositiveL1 H μ)
119    (hA : Integrable (fun ξ => (A ξ).1) ν) (hB : Integrable (fun ξ => (B ξ).1) ν)
120    (R S : PositiveL1 H μ)
121    (hR : R.1 = ∫ ξ, (A ξ).1 ∂ν) (hS : S.1 = ∫ ξ, (B ξ).1 ∂ν) :
122    (∫ ξ, (A ξ).rootFidelity (B ξ) ∂ν) ≤ R.rootFidelity S := by
123  let f : Ξ → Lp (TraceClass H) 1 μ × Lp (TraceClass H) 1 μ :=
124    fun ξ => ((A ξ).1, (B ξ).1)
125  have hf : Integrable f ν := hA.prodMk hB
126  have hgi : Integrable (extendedL1RootFidelity ∘ f) ν := by
127    change Integrable (fun ξ => extendedL1RootFidelity ((A ξ).1, (B ξ).1)) ν
128    simpa only [extendedL1RootFidelity_eq] using
129      integrable_family_rootFidelity A B hA hB
130  have hp : ∀ᵐ ξ ∂ν, f ξ ∈ positiveL1Pairs :=
131    Eventually.of_forall fun ξ => And.intro (A ξ).2 (B ξ).2
132  have h := (concaveOn_extendedL1RootFidelity (H := H) (μ := μ)).le_map_integral
133    (continuousOn_extendedL1RootFidelity (H := H) (μ := μ))
134    (isClosed_positiveL1Pairs (H := H) (μ := μ)) hp hf hgi
135  change (∫ ξ, extendedL1RootFidelity ((A ξ).1, (B ξ).1) ∂ν) ≤
136    extendedL1RootFidelity (∫ ξ, ((A ξ).1, (B ξ).1) ∂ν) at h
137  simp only [extendedL1RootFidelity_eq] at h
138  rw [integral_pair hA hB, ← hR, ← hS, extendedL1RootFidelity_eq] at h
139  exact h
140 
141/-- The fixed-target form used for hybrid channel averaging. -/
142theorem integral_rootFidelity_const_le [IsProbabilityMeasure ν]
143    (A : Ξ → PositiveL1 H μ) (hA : Integrable (fun ξ => (A ξ).1) ν)
144    (R B : PositiveL1 H μ) (hR : R.1 = ∫ ξ, (A ξ).1 ∂ν) :
145    (∫ ξ, (A ξ).rootFidelity B ∂ν) ≤ R.rootFidelity B := by
146  exact integral_rootFidelity_le A (fun _ => B) hA (integrable_const B.1) R B hR (by simp)
147 
148end PositiveL1
149end Cloning.Hybrid