Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.OneBlockRealization

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

Direct imports

Imported by project modules

1 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

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

20 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.CollinsYounOne7import Nonadditivity.RegularizedHolevo89/-!10# One-block channels with only the Haar convergence input1112The single-block free norm estimate is proved internally. Consequently the13single-block construction requires only the precise canonical Haar strong14convergence statement. All information quantities below are in bits.15-/1617namespace Nonadditivity.OneBlockRealization1819open ActualConsequences Channels.KrausChannel BlockConstruction2021/-- The global analytic interface need only supply the free estimate for22two or more blocks; the one-block case is discharged internally. -/23theorem analyticInputs_of_higher_blocks24    (hCY : ∀ K n : ℕ, 2 ≤ K → 2 ≤ n → FreeModel.CollinsYounBound K n)25    (hBC : ∀ (K : ℕ) [NeZero K] (n : ℕ), 2 ≤ K → 1 ≤ n →26      HaarModel.HaarStrongConvergence K n) : AnalyticInputs := by27  refine ⟨?_, hBC⟩28  intro K n hK hn29  by_cases hn1 : n = 130  · subst n31    exact CollinsYounOne.collinsYounBound_one hK32  · exact hCY K n hK (by omega)3334variable {K : ℕ} [NeZero K]3536theorem exists_one_block_bounds (hK : 2 ≤ K) {η : ℝ} (hη : 0 < η)37    (hBC : HaarModel.HaarStrongConvergence K 1) :38    ∃ T : FiniteQuantumChannel, 0 < T.chi ∧39      T.chi ≤ Scalar.aK K + η ∧40      Scalar.log2 K / (K : ℝ) ≤ T.chiTwo ∧41      Scalar.deltaK K - 2 * η ≤ T.gap := by42  obtain ⟨N, ω, h₁, h₂, _⟩ :=43    HaarModel.qualitative_realization_of_CY_and_Haar_strong_convergence44      1 hK (by omega) (mul_pos hη Scalar.log_two_pos)45      (CollinsYounOne.collinsYounBound_one hK) hBC46  let U := HaarModel.sampleUnitary K 1 N ω47  let C := Conversion.converted (blockChannel U 1)48  let T := FiniteQuantumChannel.ofKraus C49  have hp : 0 < T.chi :=50    PositiveHolevo.block_converted_holevoBits_pos hK U (by omega : 1 ≤ 1)51  have hu : T.chi ≤ Scalar.aK K + η := by52    simpa using HolevoBits.natural_upper_to_bits 1 h₁53  have hl : Scalar.log2 K / (K : ℝ) ≤ T.chiTwo := by54    simpa using HolevoBits.natural_lower_to_bits 1 h₂55  refine ⟨T, hp, hu, hl, ?_⟩56  unfold FiniteQuantumChannel.gap Scalar.deltaK57  linarith5859/-- Strict nonadditivity of an actual channel with only the specified Haar60norm convergence left as an analytic premise. -/61theorem exists_positive_gap (hK : 2 ≤ K) (hlog : 18 < Real.log (K : ℝ))62    (hBC : HaarModel.HaarStrongConvergence K 1) :63    ∃ T : FiniteQuantumChannel, 0 < T.chi ∧ 0 < T.gap := by64  have hδ := Scalar.deltaK_pos (show (0 : ℝ) < K by exact_mod_cast (by omega : 0 < K)) hlog65  obtain ⟨T, hp, _, _, hg⟩ := exists_one_block_bounds hK66    (show 0 < Scalar.deltaK K / 4 by positivity) hBC67  exact ⟨T, hp, by linarith⟩6869/-- Strict nonadditivity requires only one-block canonical Haar convergence:70the free estimate and a suitable finite generator count are proved here. -/71theorem exists_nonadditive_channel72    (hBC : ∀ (K : ℕ) [NeZero K], 2 ≤ K → HaarModel.HaarStrongConvergence K 1) :73    ∃ T : FiniteQuantumChannel, 0 < T.chi ∧ 0 < T.gap := by74  let K : ℕ := max 2 ⌈Real.exp 19⌉₊75  have hK : 2 ≤ K := le_max_left _ _76  letI : NeZero K := ⟨by omega⟩77  have hceil : (⌈Real.exp 19⌉₊ : ℝ) ≤ (K : ℝ) := by78    exact_mod_cast (le_max_right 2 ⌈Real.exp 19⌉₊)79  have hexp : Real.exp 19 ≤ (K : ℝ) := (Nat.le_ceil _).trans hceil80  have hlog := Real.log_le_log (Real.exp_pos 19) hexp81  rw [Real.log_exp] at hlog82  exact exists_positive_gap hK (by linarith) (hBC K hK)8384/-- A quantitative ratio bound already follows from one block. -/85theorem exists_one_block_ratio_lower (hK : 2 ≤ K)86    (hBC : HaarModel.HaarStrongConvergence K 1) :87    ∃ T : FiniteQuantumChannel, 0 < T.chi ∧88      Real.log (K : ℝ) / 36 ≤ T.twoUseRatio := by89  have hKr : (1 : ℝ) < K := by exact_mod_cast (by omega : 1 < K)90  have hKpos : (0 : ℝ) < K := by linarith91  have ha := Scalar.aK_pos hKpos92  obtain ⟨T, hp, hu, hl, _⟩ := exists_one_block_bounds hK ha hBC93  refine ⟨T, hp, ?_⟩94  have hnum : 0 ≤ Scalar.log2 K / (K : ℝ) := by95    unfold Scalar.log296    exact div_nonneg (div_nonneg (Real.log_pos hKr).le Scalar.log_two_pos.le) hKpos.le97  unfold FiniteQuantumChannel.twoUseRatio98  calc99    Real.log (K : ℝ) / 36 = (Real.log (K : ℝ) / 18) / 2 := by ring100    _ ≤ (Scalar.log2 K / (2 * (K : ℝ) * Scalar.aK K)) / 2 :=101      div_le_div_of_nonneg_right (Scalar.ratio_lower hKr) (by norm_num)102    _ = (Scalar.log2 K / (K : ℝ)) / (4 * Scalar.aK K) := by103      field_simp104      ring105    _ ≤ (Scalar.log2 K / (K : ℝ)) / (2 * T.chi) :=106      div_le_div_of_nonneg_left hnum (by positivity) (by linarith)107    _ ≤ T.chiTwo / (2 * T.chi) :=108      div_le_div_of_nonneg_right hl (by positivity)109110/-- Arbitrarily large multiplicative nonadditivity needs only canonical111one-block Haar convergence, with the free estimate proved internally. -/112theorem exists_arbitrarily_large_ratio113    (hBC : ∀ (K : ℕ) [NeZero K], 2 ≤ K → HaarModel.HaarStrongConvergence K 1)114    (R : ℝ) :115    ∃ T : FiniteQuantumChannel, 0 < T.chi ∧ R ≤ T.twoUseRatio := by116  let L : ℝ := 36 * max R 0 + 1117  let K : ℕ := max 2 ⌈Real.exp L⌉₊118  have hK : 2 ≤ K := le_max_left _ _119  letI : NeZero K := ⟨by omega⟩120  have hceil : (⌈Real.exp L⌉₊ : ℝ) ≤ (K : ℝ) := by121    exact_mod_cast (le_max_right 2 ⌈Real.exp L⌉₊)122  have hlog := Real.log_le_log (Real.exp_pos L) ((Nat.le_ceil _).trans hceil)123  rw [Real.log_exp] at hlog124  obtain ⟨T, hp, hr⟩ := exists_one_block_ratio_lower hK (hBC K hK)125  refine ⟨T, hp, ?_⟩126  have hmax : R ≤ max R 0 := le_max_left _ _127  dsimp [L] at hlog128  linarith129130theorem exists_arbitrarily_large_regularized_ratio131    (hBC : ∀ (K : ℕ) [NeZero K], 2 ≤ K → HaarModel.HaarStrongConvergence K 1)132    (R : ℝ) :133    ∃ T : FiniteQuantumChannel, 0 < T.chi ∧ R ≤ T.regularizedRatio := by134  obtain ⟨T, hp, hr⟩ := exists_arbitrarily_large_ratio hBC R135  exact ⟨T, hp, hr.trans (T.two_use_ratio_le_regularizedRatio hp)⟩136137end Nonadditivity.OneBlockRealization