Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.DeterministicQualitative

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

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

10 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.DampedRealization7import Nonadditivity.FiniteBlockModel8import Nonadditivity.CanonicalBlockBell9import Nonadditivity.EntropyStability10import Nonadditivity.DampedPositivity11import Nonadditivity.ActualConsequences1213/-! # Unconditional qualitative finite-channel realization1415Finite quotients match the required free trace moments exactly. An invertible16input damping suppresses the exceptional spectral subspaces, and its normalized17trace loss controls the Bell entropy. Both Holevo errors may be made arbitrarily18small. No Haar convergence or quantitative random-matrix estimate is assumed.1920The two-use lower bound includes a freely prescribed error. This does not assert21the manuscript's exact no-error lower bound or its sharp local matrix dimension.22-/23noncomputable section24set_option backward.isDefEq.respectTransparency false25set_option maxHeartbeats 60000026namespace Nonadditivity.DeterministicQualitative27open Entropy Channels Channels.KrausChannel AdjointPurity BlockConstruction28open Conversion BlockScalars ActualConsequences FiniteBlockModel29open scoped Matrix.Norms.L2Operator ComplexOrder MatrixOrder3031/-- Actual finite CPTP channels with both qualitative estimates and the genuine32input/output dimensions. The local dimension is finite but is not sharply bounded. -/33theorem exists_actual_channel_bounds_with_dimensions {K n : ℕ}34    (hK : 2 ≤ K) (hn : 1 ≤ n) {η : ℝ} (hη : 0 < η) :35    ∃ (T : FiniteQuantumChannel) (N : ℕ), 0 < N ∧36      Fintype.card T.Input = 2 * N^n * K^(2*n) ∧37      Fintype.card T.Output = K^n ∧38      0 < T.chi ∧ T.chi ≤ (n : ℝ)*Scalar.aK K+η ∧39      (n : ℝ)*Scalar.log2 K/(K : ℝ)-η ≤ T.chiTwo := by40  classical41  letI : NeZero K := ⟨by omega⟩42  let ε : ℝ := η * Real.log 243  have hε : 0 < ε := mul_pos hη Scalar.log_two_pos44  obtain ⟨δ,hδ,hstable⟩ := EntropyStability.exists_damped_bell_entropy_modulus45    (ο := ZMod (K^n)) ε hε46  obtain ⟨p,hp,horder⟩ := DampedRealization.exists_moment_order47    (ο := ZMod (K^n)) (amplification_gt_one hε) (collinsYounConstant_pos hK hn) hδ48  let U := baseUnitary K (4*p)49  let B := blockChannel U n50  obtain ⟨F,G,hF,hres,hGF,hcert,hloss⟩ := horder _ _ B (by51    intro A _ ht hu52    exact block_adjoint_normalized_moment_le hK hn p A ht hu.le)53  let D := DampedChannel.damped B F hF hres54  letI : DecidableEq ((ZMod (K^n) × ZMod (K^n)) ×55      (Bool × TensorChainIndex (LocalIndex K (4*p)) n)) := instDecidableEqProd56  let T := converted D57  have hsingle : T.holevo ≤ (n : ℝ)*Real.log (1+9/(K : ℝ))+ε := by58    have h := converted_holevo_le_of_adjoint_certificate D59      (amplification_times_constant_pos (η := ε) hK hn).le hcert60    simp only [Nat.cast_pow] at h61    exact h.trans (log_purity_factor_le_eta hK hε)62  have hb := CanonicalBlockBell.block_channel_canonical_entropy_le U n63  have hd := hstable B F hF hres hloss64  have hjoint : ((D.tensor D.conjugate).output BellOutput.bellState).vonNeumann ≤65      (n : ℝ)*(2*Real.log K-Real.log K/(K : ℝ))+ε := by66    exact hd.trans (add_le_add hb (le_refl ε))67  have hpair := converted_tensor_holevo_lower D BellOutput.bellState68  have hlower : (n : ℝ)*Real.log K/(K : ℝ)-ε ≤ (T.tensor T).holevo := by69    have hc := two_use_entropy_cancellation K n70    linarith71  have hpos : 0 < T.holevoBits := DampedPositivity.converted_damped_block_holevoBits_pos72    hK U hn F G hF hres hGF73  refine ⟨FiniteQuantumChannel.ofKraus T, Fintype.card (LocalIndex K (4*p)),74    Fintype.card_pos, ?_, ?_, hpos, ?_, ?_⟩75  · exact Qualitative.constructed_input_dimension (LocalIndex K (4*p)) n76  · exact ZMod.card _77  · exact HolevoBits.natural_upper_to_bits n hsingle78  · have h := div_le_div_of_nonneg_right hlower Scalar.log_two_pos.le79    change (n : ℝ)*Scalar.log2 K/(K : ℝ)-η ≤ (T.tensor T).holevo / Real.log 280    convert h using 181    dsimp [Scalar.log2, ε]82    field_simp8384/-- Unconditional channel bounds in bits. In particular, no analytic input85structure, convergence premise, or assumed channel certificate occurs here. -/86theorem exists_actual_channel_bounds_positive {K n : ℕ}87    (hK : 2 ≤ K) (hn : 1 ≤ n) {η : ℝ} (hη : 0 < η) :88    ∃ T : FiniteQuantumChannel,89      0 < T.chi ∧ T.chi ≤ (n : ℝ)*Scalar.aK K+η ∧90      (n : ℝ)*Scalar.log2 K/(K : ℝ)-η ≤ T.chiTwo := by91  obtain ⟨T,_,_,_,_,h⟩ := exists_actual_channel_bounds_with_dimensions hK hn hη92  exact ⟨T,h⟩9394end Nonadditivity.DeterministicQualitative