Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.GaussianChannelBounds

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

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

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

11 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.SmallEnvironment7import Nonadditivity.ActualConsequences89/-! # Information bounds from a normalized rectangular Gaussian certificate1011This deterministic layer turns the concrete adjoint estimate into positive12single-use Holevo information and a lower bound on the two-use ratio.13-/1415noncomputable section16set_option maxHeartbeats 6000001718namespace Nonadditivity.GaussianChannelBounds1920open Channels ActualConsequences21open scoped Matrix.Norms.L2Operator2223theorem natural_bounds {K N : ℕ} [NeZero K] [NeZero N] (hK : 2 ≤ K)24    (T : KrausChannel (Fin N) (ZMod K) (Fin N))25    (hcert : ∀ A : Matrix (ZMod K) (ZMod K) ℂ, A.IsHermitian → A.trace = 0 →26      ‖T.adjointMap A‖ ≤ (512 / (K : ℝ)) * AdjointPurity.hsLength A) :27    0 < (Conversion.converted T).holevo ∧28    (Conversion.converted T).holevo ≤ 512^2 / (K : ℝ) ∧29    (Real.log (K : ℝ) - 1) / K ≤30      ((Conversion.converted T).tensor (Conversion.converted T)).holevo := by31  have hk : (0 : ℝ) < K := by exact_mod_cast (by omega : 0 < K)32  obtain ⟨hu, hl, _⟩ := GeneralBell.converted_bounds T le_rfl33    (show 0 ≤ 512 / (K : ℝ) by positivity) hcert34  refine ⟨SmallEnvironment.converted_holevo_pos hK T, hu.trans ?_, hl⟩35  have he : (K : ℝ) * (512 / (K : ℝ))^2 = 512^2 / (K : ℝ) := by36    field_simp37  rw [he]38  have h := Real.log_le_sub_one_of_pos39    (show 0 < 1 + 512^2 / (K : ℝ) by positivity)40  linarith4142/-- Positive Holevo information makes the ratio an actual quotient with43a nonzero denominator. All information quantities here are in bits. -/44theorem converted_bounds {K N : ℕ} [NeZero K] [NeZero N] (hK : 2 ≤ K)45    (hlog : 0 ≤ Real.log (K : ℝ) - 1)46    (T : KrausChannel (Fin N) (ZMod K) (Fin N))47    (hcert : ∀ A : Matrix (ZMod K) (ZMod K) ℂ, A.IsHermitian → A.trace = 0 →48      ‖T.adjointMap A‖ ≤ (512 / (K : ℝ)) * AdjointPurity.hsLength A) :49    let Q := FiniteQuantumChannel.ofKraus (Conversion.converted T)50    0 < Q.chi ∧ Q.chi ≤ 512^2 / ((K : ℝ) * Real.log 2) ∧51      (Real.log (K : ℝ) - 1) / (2 * 512^2) ≤ Q.twoUseRatio ∧52      Fintype.card Q.Input = 2 * N * K^2 ∧ Fintype.card Q.Output = K := by53  dsimp only54  obtain ⟨hp, hu, hl⟩ := natural_bounds hK T hcert55  have hk : (0 : ℝ) < K := by exact_mod_cast (by omega : 0 < K)56  have hratio : (Real.log (K : ℝ) - 1) / (2 * 512^2) ≤57      ((Conversion.converted T).tensor (Conversion.converted T)).holevo /58        (2 * (Conversion.converted T).holevo) := by59    apply (le_div_iff₀ (by positivity)).mpr60    calc61      _ ≤ ((Real.log (K : ℝ) - 1) / (2 * 512^2)) * (2 * (512^2 / K)) :=62        mul_le_mul_of_nonneg_left (by linarith) (by positivity)63      _ = (Real.log (K : ℝ) - 1) / K := by ring64      _ ≤ _ := hl65  refine ⟨div_pos hp Scalar.log_two_pos, ?_, ?_, ?_, ?_⟩66  · change (Conversion.converted T).holevo / Real.log 2 ≤ _67    convert div_le_div_of_nonneg_right hu Scalar.log_two_pos.le using 168    ring69  · change _ ≤ (((Conversion.converted T).tensor (Conversion.converted T)).holevo /70      Real.log 2) / (2 * ((Conversion.converted T).holevo / Real.log 2))71    convert hratio using 172    field_simp [hp.ne']73  · change Fintype.card ((ZMod K × ZMod K) × (Bool × Fin N)) = _74    simpa using (Conversion.converted_input_dimension (ι := Fin N) (d := K))75  · exact ZMod.card K7677end Nonadditivity.GaussianChannelBounds