Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarPrescribedDimension

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

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

3 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarExpectationFromMoment7import Nonadditivity.HaarOnePairAssembly89/-! # Prescribed channel dimensions from the precise remaining path estimate1011The premise below is deliberately explicit. It is discharged only when the12actual grouped path-length bound has been proved; no expectation estimate is13postulated as an axiom.14-/15noncomputable section16namespace Nonadditivity.HaarPrescribedDimension17open HaarOnePairAssembly HaarIteratedMoments StructuredHaarConsequences1819theorem explicitHaarExpectation_of_lengthBounds {K n : ℕ}20    (hK : 2≤K) (hn : Quantitative.n₀ K≤n)21    (hpaths : OnePairLengthBounds (sampleSize K n)22      (Quantitative.momentParameter (Real.log K) n)) :23    ExplicitHaarExpectation K n := by24  have hKreal : (2:ℝ)≤K := by exact_mod_cast hK25  have hlogK := Real.log_le_log (by norm_num : (0:ℝ)<2) hKreal26  have hh : (2:ℝ)/3≤Real.log (K:ℝ) := by linarith [Real.log_two_gt_d9]27  obtain ⟨_,hn64,_,_⟩ := Quantitative.threshold_consequences hK hn28  have hn2 : (2:ℝ)≤n := by linarith29  have hp := (Quantitative.moment_parameter_bounds hh hn2).2.130  have hD := HaarMomentConstants.prescribed_dimension_strong hh hn231  have he : sampleSize K n+1=Quantitative.dimensionChoice (Real.log K) n :=32    sampleSize_add_one K n33  rw [←he,Nat.cast_add,Nat.cast_one] at hD34  exact explicitHaarExpectation_of_onePairTraceBound hK hn35    (onePairTraceBound_of_lengthBounds hp hD hpaths)3637/-- All the original dimension and channel conclusions follow from the38literal path-length estimate at the prescribed moment order. -/39theorem exists_prescribed_channel_of_lengthBounds {K n : ℕ}40    (hK : 2≤K) (hn : Quantitative.n₀ K≤n)41    (hpaths : OnePairLengthBounds (sampleSize K n)42      (Quantitative.momentParameter (Real.log K) n)) :43    ∃ T : ActualConsequences.FiniteQuantumChannel,44      Fintype.card T.Input = 2*(localDimension K n)^n*K^(2*n) ∧45      Fintype.card T.Output = K^n ∧46      0 < T.chi ∧47      T.chi ≤ (n:ℝ)*Scalar.aK K+2*Scalar.log2 (kappa n) ∧48      (n:ℝ)*Scalar.log2 K/(K:ℝ)≤T.chiTwo ∧49      (n:ℝ)*Scalar.deltaK K-4*Scalar.log2 (kappa n)≤T.gap := by50  letI : NeZero K := ⟨by omega⟩51  exact exists_explicit_finite_channel hK hn (explicitHaarExpectation_of_lengthBounds hK hn hpaths)5253end Nonadditivity.HaarPrescribedDimension