Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarSharpBound

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

Catalog entries: One-pair Haar estimate at the original moment range

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

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

4 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarSharpSummation7import Nonadditivity.HaarPrescribedBound89/-! # The one-pair Haar bound at the original dimension threshold1011Chronological weighted class counting replaces the loose padded-list bound.12The statement uses the actual Haar integral with all remaining free factors.13-/14noncomputable section15set_option backward.isDefEq.respectTransparency false16set_option maxHeartbeats 120000017namespace Nonadditivity.HaarSharpBound18open HaarOperatorPathBridge HaarPathGraph HaarPathClasses HaarMomentConstants19  HaarOperatorCurry HaarOnePairAssembly HaarWordExpansion HaarIteratedMoments20  HaarMixedWordExpansion HaarTensorReplacement MeasureTheory ProductHaagerupProduct21open scoped BigOperators Matrix Matrix.Norms.L2Operator2223variable {E : Type} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]2425theorem normalized_path_sum_bound {N p t : ℕ} (hp : 2≤p) (ht : 0<t) (htp : t≤p)26    (hN : 2^32*(p:ℝ)^80≤N+1)27    (A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E)28    {scale : ℝ} (hscale : 0≤scale)29    (hb : ∀ P : Path (Fin (N+1)) 2 t, pathWeight P≠0 →30      ‖refinedCoefficientSum A p P‖ ≤ (N+1:ℝ)^P.vertices.card *31        (2^(HaarPathMultiplicity.singletonEdges P.edgeList).card *32          (p:ℝ)^(9*P.defectTwice+11)*scale)) :33    ‖(1/(N+1:ℂ)) • pathOperatorSum N A p t‖ ≤34      (4096*(p:ℝ)^25/(N+1)*(1+64/(p:ℝ))^p)*scale := by35  classical36  let term : RefinedClass (Fin (N+1)) 2 t → E →L[ℂ] E := fun C =>37    (1/(N+1:ℂ)) • (pathWeight (Quotient.out C) • refinedCoefficientSum A p (Quotient.out C))38  have hs : (∑ C, term C)=∑ C ∈ activeRefinedClasses N t, term C := by39    symm40    apply Finset.sum_subset (Finset.subset_univ _)41    intro C _ hC42    have hz : pathWeight (Quotient.out C)=0 := by43      by_contra hn44      exact hC ((mem_activeRefinedClasses C).mpr hn)45    simp only [term,hz,zero_smul,smul_zero]46  rw [pathOperatorSum_eq_weighted_refinedSum N A p t (fun _ _ h => pathWeight_eq_of_refined h),47    Finset.smul_sum]48  change ‖∑ C, term C‖ ≤ _49  rw [hs]50  calc51    _ ≤ ∑ C ∈ activeRefinedClasses N t, ‖term C‖ := norm_sum_le _ _52    _ ≤ ∑ C ∈ activeRefinedClasses N t,53        refinedClassWeightMajorant p (N+1) t54          (refinedSingletonCount C) (refinedVertexDeficit C)*scale := by55      apply Finset.sum_le_sum56      intro C hC57      have hn := (mem_activeRefinedClasses C).mp hC58      exact HaarSharpPathWeight.normalized_pathWeight_smul_norm_le hp ht htp hN59        (Quotient.out C) hn (refinedCoefficientSum A p (Quotient.out C)) hscale60        (hb (Quotient.out C) hn)61    _ = (∑ C ∈ activeRefinedClasses N t,62        refinedClassWeightMajorant p (N+1) t63          (refinedSingletonCount C) (refinedVertexDeficit C))*scale := by rw [Finset.sum_mul]64    _ ≤ _ := mul_le_mul_of_nonneg_right65      (HaarSharpSummation.sum_active_weights_le hp ht htp hN) hscale6667theorem mixed_length_bound {N p : ℕ} (hp : 2≤p) (hN : 2^32*(p:ℝ)^80≤N+1)68    (j : ℕ) (ι : Type) [Fintype ι] [DecidableEq ι] [Nonempty ι]69    (f : MatrixPolynomial (ProductHaagerupProduct.GroupIndex (Fin 2) (j+1)) ι)70    (hlinear : ∀ w ∈ f.support, RadiusLe 1 w) (t : ℕ) (ht : t ∈ Finset.Icc 1 p) :71    ‖mixedLengthContribution (pairMeasure N) (pairMatrix N) f p t‖ ≤72      (4096*(p:ℝ)^25/(N+1)*(1+64/(p:ℝ))^p)*‖regularEval f‖^p := by73  have ht0 := (Finset.mem_Icc.mp ht).174  have htp := (Finset.mem_Icc.mp ht).275  have hA := operatorCurry_linear f (fun w hw => (hlinear w hw).1)76  have hb : ∀ P : Path (Fin (N+1)) 2 t, pathWeight P≠0 →77      ‖refinedCoefficientSum (operatorCurry f) p P‖ ≤ (N+1:ℝ)^P.vertices.card *78        (2^(HaarPathMultiplicity.singletonEdges P.edgeList).card *79          (p:ℝ)^(9*P.defectTwice+11)*‖regularEval f‖^p) := by80    intro P _81    have h := coefficient_bound (operatorCurry f) hA p (by omega) P ht082    simpa only [Fintype.card_fin,Nat.cast_add,Nat.cast_one,operatorCurry_norm,mul_assoc] using h83  have h := normalized_path_sum_bound hp ht0 htp hN84    (operatorCurry f) (pow_nonneg (norm_nonneg _) p) hb85  have he : ‖(N:ℂ)+1‖=(N:ℝ)+1 := by exact_mod_cast Complex.norm_natCast (N+1)86  rw [norm_smul,norm_div,norm_one,he,one_div_mul_eq_div] at h87  exact mixedLengthContribution_le_of_pathSum N p t ht0 f88    ((div_le_iff₀ (by positivity : (0:ℝ)<N+1)).mp h |>.trans_eq (mul_comm _ _))8990/-- The original `2^32 p^80` moment range is recovered with the corrected91path and coefficient estimates, with no analytic premise. -/92theorem onePairTraceBound {N p : ℕ} (hp : 2≤p)93    (hN : 2^32*(p:ℝ)^80≤N+1) : OnePairTraceBound N p := by94  intro j ι _ _ _ f hf hlinear95  have he := integral_mixed_error_by_length (pairMeasure N) (pairMatrix N) f p96    (fun w hw => (hlinear w hw).1) (integrable_pair_word_trace N)97  have hi := (continuous_mixed_moment N p j f).integrable_of_hasCompactSupport98    (μ := pairMeasure N) (HasCompactSupport.of_compactSpace _)99  have hre := congrArg Complex.re he100  rw [Complex.sub_re,Complex.re_sum] at hre101  have hir := integral_re hi102  simp only [RCLike.re_eq_complex_re] at hir103  change (∫ U : Pair N, (vacuumTrace ((partialEval (pairMatrix N U) f)^p)).re104    ∂pairMeasure N) ≤ _105  rw [hir]106  have hb : (∑ t ∈ Finset.Icc 1 p,107      (mixedLengthContribution (pairMeasure N) (pairMatrix N) f p t).re) ≤108      (N+1:ℝ)^(-(1/2:ℝ))*‖regularEval f‖^p := by109    calc110      _ ≤ ∑ t ∈ Finset.Icc 1 p,111          (4096*(p:ℝ)^25/(N+1)*(1+64/(p:ℝ))^p)*‖regularEval f‖^p := by112        apply Finset.sum_le_sum113        intro t ht114        exact (Complex.re_le_norm _).trans (mixed_length_bound hp hN j ι f hlinear t ht)115      _ = (4096*(p:ℝ)^26/(N+1)*(1+64/(p:ℝ))^p)*‖regularEval f‖^p := by116        simp only [Finset.sum_const, Nat.card_Icc, Nat.add_sub_cancel,117          nsmul_eq_mul]118        ring119      _ ≤ _ := mul_le_mul_of_nonneg_right120        (HaarSharpConstants.sharp_final_error_bound hp hN) (pow_nonneg (norm_nonneg _) p)121  linarith122123end Nonadditivity.HaarSharpBound