Offline · exact source
Exact Lean source

MixedChannelsBounded

formalization/Cloning/MixedChannelsBounded.lean

Source hash: 55b3a13e05f6ca47fc3d973f58dd3d1697c1b32748b2c59ab3ddf5e73cfb1bc3

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.MixedChannels
2 
3/-! A channel-independent norm bound for reverse mixed channels. Simple-function
4density avoids assuming a measurable field of Jordan decompositions. -/
5 
6noncomputable section
7open scoped ComplexOrder Topology ENNReal
8open MeasureTheory Filter Cloning.InfiniteTraceClass
9namespace Cloning.Hybrid
10set_option backward.isDefEq.respectTransparency false
11 
12variable {Ω H K : Type*} [MeasurableSpace Ω] {μ : Measure Ω}
13  [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
14  [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
15 
16private def indicatorLinear {s : Set Ω} (hs : MeasurableSet s) (hμs : μ s ≠ ∞) :
17    TraceClass H →ₗ[ℂ] Lp (TraceClass H) 1 μ where
18  toFun A := indicatorConstLp 1 hs hμs A
19  map_add' A B := indicatorConstLp_add.symm
20  map_smul' c A := by
21    apply Lp.ext
22    filter_upwards [indicatorConstLp_coeFn (c := c • A),
23      indicatorConstLp_coeFn (p := 1) (hs := hs) (hμs := hμs) (c := A),
24      Lp.coeFn_smul c (indicatorConstLp 1 hs hμs A)] with y hy hz hw
25    change _ = (c • indicatorConstLp 1 hs hμs A) y
26    rw [hy, hw, Pi.smul_apply, hz]
27    by_cases h : y ∈ s <;> simp [h]
28 
29private lemma indicatorLinear_nonneg {s : Set Ω} (hs : MeasurableSet s)
30    (hμs : μ s ≠ ∞) (A : TraceClass H) (hA : 0 ≤ A.1) :
31    ∀ᵐ y ∂μ, 0 ≤ (indicatorLinear hs hμs A y).1 := by
32  filter_upwards [indicatorConstLp_coeFn (p := 1) (hs := hs) (hμs := hμs) (c := A)] with y hy
33  change 0 ≤ (indicatorConstLp 1 hs hμs A y).1
34  rw [hy]
35  by_cases h : y ∈ s <;> simp [h, hA]
36 
37/-- A positive-cone contraction has a universal bound on complex operator-valued L¹. -/
38theorem norm_le_two_of_positive_L1_bound {E : Type*} [NormedAddCommGroup E]
39    [NormedSpace ℂ E] (T : Lp (TraceClass H) 1 μ →L[ℂ] E)
40    (hp : ∀ A, (∀ᵐ y ∂μ, 0 ≤ (A y).1) → ‖T A‖ ≤ ‖A‖)
41    (A : Lp (TraceClass H) 1 μ) : ‖T A‖ ≤ 2 * ‖A‖ := by
42  refine Lp.induction (p := 1) (by simp) (fun A => ‖T A‖ ≤ 2 * ‖A‖) ?_ ?_ ?_ A
43  · intro c s hs hμs
44    have hpos : ∀ B : TraceClass H, 0 ≤ B.1 →
45        ‖(T.toLinearMap.comp (indicatorLinear hs hμs.ne)) B‖ ≤ μ.real s * ‖B‖ := by
46      intro B hB
47      have h := hp (indicatorLinear hs hμs.ne B) (indicatorLinear_nonneg hs hμs.ne B hB)
48      change ‖T (indicatorConstLp 1 hs hμs.ne B)‖ ≤ _ at h ⊢
49      simpa [indicatorLinear,
50        norm_indicatorConstLp (by simp : (1 : ℝ≥0∞) ≠ 0) (by simp), mul_comm] using h
51    have h := norm_map_two_mul_of_positive_bound
52      (T.toLinearMap.comp (indicatorLinear hs hμs.ne)) ENNReal.toReal_nonneg hpos c
53    simpa [indicatorLinear, norm_indicatorConstLp (by simp : (1 : ℝ≥0∞) ≠ 0) (by simp),
54      mul_comm, mul_left_comm, mul_assoc] using h
55  · intro f g hf hg hfg hF hG
56    have hn : ‖hf.toLp f + hg.toLp g‖ = ‖hf.toLp f‖ + ‖hg.toLp g‖ := by
57      rw [L1.norm_eq_integral_norm, L1.norm_eq_integral_norm, L1.norm_eq_integral_norm,
58        ← integral_add (L1.integrable_coeFn (hf.toLp f)).norm
59          (L1.integrable_coeFn (hg.toLp g)).norm]
60      apply integral_congr_ae
61      filter_upwards [Lp.coeFn_add (hf.toLp f) (hg.toLp g), hf.coeFn_toLp, hg.coeFn_toLp]
62        with y hy hfy hgy
63      rw [hy, Pi.add_apply, hfy, hgy]
64      have hd : f y = 0 ∨ g y = 0 := by
65        by_cases h : f y = 0
66        · exact Or.inl h
67        · exact Or.inr (by
68            by_contra hh
69            exact Set.disjoint_left.mp hfg h hh)
70      rcases hd with h | h <;> simp [h]
71    rw [map_add, hn, mul_add]
72    exact (norm_add_le _ _).trans (add_le_add hF hG)
73  · exact isClosed_le T.continuous.norm (continuous_const.mul continuous_norm)
74 
75theorem HybridToQuantum.norm_le_two (S : HybridToQuantum H K μ)
76    (A : Lp (TraceClass H) 1 μ) : ‖S.map A‖ ≤ 2 * ‖A‖ :=
77  norm_le_two_of_positive_L1_bound S.map
78    (fun B hB => le_of_eq (S.norm_map_of_nonneg B hB)) A
79 
80theorem HybridToQuantum.opNorm_le_two (S : HybridToQuantum H K μ) : ‖S.map‖ ≤ 2 :=
81  ContinuousLinearMap.opNorm_le_bound _ (by norm_num) S.norm_le_two
82 
83theorem QuantumToHybrid.opNorm_le_two (T : QuantumToHybrid H K μ) : ‖T.map‖ ≤ 2 :=
84  ContinuousLinearMap.opNorm_le_bound _ (by norm_num) T.norm_le_two
85 
86end Cloning.Hybrid