Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.UniversalShiftedDilation

Download original .lean · View on GitHub · Jump to source

Direct imports

  • Mathlib.Analysis.InnerProductSpace.ProdL2 dependency
  • Mathlib.Analysis.CStarAlgebra.ContinuousLinearMap dependency
  • Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order dependency

Imported by project modules

2 direct reverse imports

Relationships above come from literal import commands. The declarations below link to types and references extracted from Lean’s environment. Source text is complete and unchanged.

Declarations in this module

29 project constants, including generated, internal and private declarations.

29 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Mathlib.Analysis.InnerProductSpace.ProdL27import Mathlib.Analysis.CStarAlgebra.ContinuousLinearMap8import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order910/-! # Hermitian dilation on an arbitrary complex Hilbert space1112The two blocks carry the Hilbert product norm. The grading symmetry puts the13positive norm endpoint in the spectrum, without a finite-dimensional premise.14-/1516noncomputable section17set_option backward.isDefEq.respectTransparency false1819namespace Nonadditivity.UniversalShiftedDilation2021variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]2223abbrev Double (E : Type*) := WithLp 2 (E × E)2425/-- The Hermitian block matrix with upper-right block `A`. -/26def dilation (A : E →L[ℂ] E) : Double E →L[ℂ] Double E :=27  (WithLp.prodContinuousLinearEquiv 2 ℂ E E).symm.toContinuousLinearMap.comp28    ((A.comp (WithLp.sndL 2 ℂ E E)).prod29      (A.adjoint.comp (WithLp.fstL 2 ℂ E E)))3031@[simp] theorem dilation_apply_fst (A : E →L[ℂ] E) (x : Double E) :32    (dilation A x).fst = A x.snd := rfl3334@[simp] theorem dilation_apply_snd (A : E →L[ℂ] E) (x : Double E) :35    (dilation A x).snd = A.adjoint x.fst := rfl3637theorem dilation_norm_le (A : E →L[ℂ] E) : ‖dilation A‖ ≤ ‖A‖ := by38  apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _)39  intro x40  apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (norm_nonneg _) (norm_nonneg _))).mp41  rw [WithLp.prod_norm_sq_eq_of_L2, dilation_apply_fst, dilation_apply_snd,42    mul_pow, WithLp.prod_norm_sq_eq_of_L2]43  have hL := pow_le_pow_left₀ (norm_nonneg _) (A.le_opNorm x.snd) 244  have hR := pow_le_pow_left₀ (norm_nonneg _) (A.adjoint.le_opNorm x.fst) 245  have hnorm : ‖A.adjoint‖ = ‖A‖ := ContinuousLinearMap.adjoint.norm_map _46  rw [hnorm] at hR47  simp only [mul_pow] at hL hR48  nlinarith4950theorem norm_le_dilation (A : E →L[ℂ] E) : ‖A‖ ≤ ‖dilation A‖ := by51  apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _)52  intro x53  let y : Double E := WithLp.toLp 2 (0, x)54  have hy : ‖y‖ = ‖x‖ := by55    apply (sq_eq_sq₀ (norm_nonneg _) (norm_nonneg _)).mp56    simp [y]57  have hAy : ‖dilation A y‖ = ‖A x‖ := by58    apply (sq_eq_sq₀ (norm_nonneg _) (norm_nonneg _)).mp59    simp [WithLp.prod_norm_sq_eq_of_L2, y]60  simpa only [hy, hAy] using (dilation A).le_opNorm y6162theorem dilation_norm (A : E →L[ℂ] E) : ‖dilation A‖ = ‖A‖ :=63  le_antisymm (dilation_norm_le A) (norm_le_dilation A)6465theorem dilation_selfAdjoint (A : E →L[ℂ] E) : IsSelfAdjoint (dilation A) := by66  change (dilation A).adjoint = dilation A67  apply ContinuousLinearMap.ext68  intro x69  apply ext_inner_right ℂ70  intro y71  rw [ContinuousLinearMap.adjoint_inner_left]72  simp only [WithLp.prod_inner_apply, WithLp.ofLp_fst, WithLp.ofLp_snd,73    dilation_apply_fst, dilation_apply_snd, ContinuousLinearMap.adjoint_inner_left,74    ContinuousLinearMap.adjoint_inner_right]75  exact add_comm _ _7677def gradingOperator : Double E →L[ℂ] Double E :=78  (WithLp.prodContinuousLinearEquiv 2 ℂ E E).symm.toContinuousLinearMap.comp79    ((WithLp.fstL 2 ℂ E E).prod (-(WithLp.sndL 2 ℂ E E)))8081omit [CompleteSpace E] in82@[simp] theorem grading_apply_fst (x : Double E) :83    (gradingOperator x).fst = x.fst := rfl8485omit [CompleteSpace E] in86@[simp] theorem grading_apply_snd (x : Double E) :87    (gradingOperator x).snd = -x.snd := rfl8889theorem grading_star : star (gradingOperator (E := E)) = gradingOperator := by90  change gradingOperator.adjoint = gradingOperator (E := E)91  apply ContinuousLinearMap.ext92  intro x93  apply ext_inner_right ℂ94  intro y95  rw [ContinuousLinearMap.adjoint_inner_left]96  simp9798omit [CompleteSpace E] in99theorem grading_sq : gradingOperator (E := E) * gradingOperator = 1 := by100  apply ContinuousLinearMap.ext101  intro x102  apply (WithLp.equiv 2 (E × E)).injective103  apply Prod.ext <;> simp [ContinuousLinearMap.mul_apply]104105def grading : unitary (Double E →L[ℂ] Double E) :=106  ⟨gradingOperator, by107    rw [Unitary.mem_iff, grading_star]108    exact ⟨grading_sq, grading_sq⟩⟩109110theorem grading_conjugate (A : E →L[ℂ] E) :111    (grading (E := E) : Double E →L[ℂ] Double E) * dilation A *112      (star (grading (E := E)) : Double E →L[ℂ] Double E) = -dilation A := by113  change gradingOperator * dilation A * star gradingOperator = _114  rw [grading_star]115  apply ContinuousLinearMap.ext116  intro x117  apply (WithLp.equiv 2 (E × E)).injective118  apply Prod.ext <;> simp [ContinuousLinearMap.mul_apply]119120theorem norm_mem_dilation_spectrum [Nontrivial E] (A : E →L[ℂ] E) :121    ‖A‖ ∈ spectrum ℝ (dilation A) := by122  have hsym : spectrum ℝ (-dilation A) = spectrum ℝ (dilation A) := by123    rw [← grading_conjugate A]124    exact Unitary.spectrum_star_right_conjugate125  rcases CStarAlgebra.norm_or_neg_norm_mem_spectrum (dilation_selfAdjoint A) with h | h126  · simpa only [dilation_norm] using h127  · rw [dilation_norm] at h128    have hneg : ‖A‖ ∈ spectrum ℝ (-dilation A) := by129      rw [← spectrum.neg_eq]130      exact h131    rwa [hsym] at hneg132133/-- The exact shifted dilation identity, valid on every nonzero complex Hilbert space. -/134theorem shifted_dilation_norm [Nontrivial E] (A : E →L[ℂ] E) (θ : ℝ) (hθ : 0 ≤ θ) :135    ‖dilation A + algebraMap ℝ (Double E →L[ℂ] Double E) θ‖ = ‖A‖ + θ := by136  apply le_antisymm137  · calc138      _ ≤ ‖dilation A‖ + ‖algebraMap ℝ (Double E →L[ℂ] Double E) θ‖ := norm_add_le _ _139      _ = ‖A‖ + θ := by140        rw [dilation_norm, norm_algebraMap', Real.norm_eq_abs, abs_of_nonneg hθ]141  · have hmem : ‖A‖ + θ ∈ spectrum ℝ142        (dilation A + algebraMap ℝ (Double E →L[ℂ] Double E) θ) := by143      rw [← spectrum.add_singleton_eq]144      exact Set.add_mem_add (norm_mem_dilation_spectrum A) (Set.mem_singleton θ)145    have h := spectrum.norm_le_norm_of_mem hmem146    rwa [Real.norm_eq_abs, abs_of_nonneg (add_nonneg (norm_nonneg _) hθ)] at h147148end Nonadditivity.UniversalShiftedDilation