Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarPathClassAssembly

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

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

6 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarPathClassSums7import Nonadditivity.HaarPathClassStats8import Nonadditivity.HaarPathWeightBudget9import Nonadditivity.HaarRefinedWeight1011/-! # The complete actual path-class summation1213All quotient counts, graph statistics, scalar weights, and finite sums are14discharged here. The two analytic class inputs are isolated as the equality of15actual Haar weights and the bound on actual grouped operator coefficients.16-/17noncomputable section18set_option backward.isDefEq.respectTransparency false19namespace Nonadditivity.HaarOperatorPathBridge20open HaarPathGraph HaarPathClasses HaarMomentConstants21open scoped BigOperators2223variable {E : Type} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]2425/-- The normalized literal path sum is bounded by the prescribed encoding26majorant as soon as its two actual class estimates are supplied. -/27theorem norm_normalized_pathOperatorSum_le_of_refined_estimates28    {N p t : ℕ} (hp : 2 ≤ p) (ht : 0 < t) (htp : t ≤ p)29    (hN : 2^80*(p:ℝ)^80 ≤ N+1)30    (A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E)31    {scale : ℝ} (hscale : 0 ≤ scale)32    (hw : ∀ P Q : Path (Fin (N+1)) 2 t, RefinedPattern P Q → pathWeight P=pathWeight Q)33    (hb : ∀ P : Path (Fin (N+1)) 2 t, pathWeight P ≠ 0 →34      ‖refinedCoefficientSum A p P‖ ≤ (N+1:ℝ)^P.vertices.card *35        (2^(HaarPathMultiplicity.singletonEdges P.edgeList).card *36          (p:ℝ)^(9*P.defectTwice+11)*scale)) :37    ‖(1/(N+1:ℂ)) • pathOperatorSum N A p t‖ ≤38      encodingMajorant p (N+1) t (p+1) (p+1)*scale := by39  classical40  let term : RefinedClass (Fin (N+1)) 2 t → E →L[ℂ] E := fun C =>41    (1/(N+1:ℂ)) • (pathWeight (Quotient.out C) • refinedCoefficientSum A p (Quotient.out C))42  have hs : (∑ C, term C)=∑ C ∈ activeRefinedClasses N t, term C := by43    symm44    apply Finset.sum_subset (Finset.subset_univ _)45    intro C _ hC46    have hz : pathWeight (Quotient.out C)=0 := by47      by_contra hn48      exact hC ((mem_activeRefinedClasses C).mpr hn)49    simp only [term,hz,zero_smul,smul_zero]50  rw [pathOperatorSum_eq_weighted_refinedSum N A p t hw,Finset.smul_sum]51  change ‖∑ C, term C‖ ≤ _52  rw [hs]53  apply norm_sum_active_refined_le_moment ht htp term hscale54  intro C hC55  have hn := (mem_activeRefinedClasses C).mp hC56  exact normalized_pathWeight_smul_norm_le hp ht htp hN (Quotient.out C) hn57    (refinedCoefficientSum A p (Quotient.out C)) hscale (hb (Quotient.out C) hn)5859/-- Equivalent unnormalized form for the established trace-to-path bridge. -/60theorem norm_pathOperatorSum_le_of_refined_estimates61    {N p t : ℕ} (hp : 2 ≤ p) (ht : 0 < t) (htp : t ≤ p)62    (hN : 2^80*(p:ℝ)^80 ≤ N+1)63    (A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E)64    {scale : ℝ} (hscale : 0 ≤ scale)65    (hw : ∀ P Q : Path (Fin (N+1)) 2 t, RefinedPattern P Q → pathWeight P=pathWeight Q)66    (hb : ∀ P : Path (Fin (N+1)) 2 t, pathWeight P ≠ 0 →67      ‖refinedCoefficientSum A p P‖ ≤ (N+1:ℝ)^P.vertices.card *68        (2^(HaarPathMultiplicity.singletonEdges P.edgeList).card *69          (p:ℝ)^(9*P.defectTwice+11)*scale)) :70    ‖pathOperatorSum N A p t‖ ≤71      (N+1:ℝ)*(encodingMajorant p (N+1) t (p+1) (p+1)*scale) := by72  have h := norm_normalized_pathOperatorSum_le_of_refined_estimates hp ht htp hN A hscale hw hb73  have hn : ‖(N:ℂ)+1‖=(N:ℝ)+1 := by exact_mod_cast Complex.norm_natCast (N+1)74  rw [norm_smul,norm_div,norm_one,hn,one_div_mul_eq_div] at h75  exact (div_le_iff₀ (by positivity : (0:ℝ) < N+1)).mp h |>.trans_eq (mul_comm _ _)7677/-- Equality of the actual Haar weights on every genuine refined class. -/78theorem pathWeight_eq_of_refined {N t : ℕ} {P Q : Path (Fin (N+1)) 2 t}79    (h : RefinedPattern P Q) : pathWeight P=pathWeight Q :=80  h.integral_pathProduct_eq8182/-- Every combinatorial and Haar-integral input is discharged; only the83actual grouped operator coefficient estimate is required. -/84theorem norm_normalized_pathOperatorSum_le_of_coefficient_bound85    {N p t : ℕ} (hp : 2 ≤ p) (ht : 0 < t) (htp : t ≤ p)86    (hN : 2^80*(p:ℝ)^80 ≤ N+1)87    (A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E)88    {scale : ℝ} (hscale : 0 ≤ scale)89    (hb : ∀ P : Path (Fin (N+1)) 2 t, pathWeight P ≠ 0 →90      ‖refinedCoefficientSum A p P‖ ≤ (N+1:ℝ)^P.vertices.card *91        (2^(HaarPathMultiplicity.singletonEdges P.edgeList).card *92          (p:ℝ)^(9*P.defectTwice+11)*scale)) :93    ‖(1/(N+1:ℂ)) • pathOperatorSum N A p t‖ ≤94      encodingMajorant p (N+1) t (p+1) (p+1)*scale :=95  norm_normalized_pathOperatorSum_le_of_refined_estimates hp ht htp hN A hscale96    (fun _ _ h => pathWeight_eq_of_refined h) hb9798theorem norm_pathOperatorSum_le_of_coefficient_bound99    {N p t : ℕ} (hp : 2 ≤ p) (ht : 0 < t) (htp : t ≤ p)100    (hN : 2^80*(p:ℝ)^80 ≤ N+1)101    (A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E)102    {scale : ℝ} (hscale : 0 ≤ scale)103    (hb : ∀ P : Path (Fin (N+1)) 2 t, pathWeight P ≠ 0 →104      ‖refinedCoefficientSum A p P‖ ≤ (N+1:ℝ)^P.vertices.card *105        (2^(HaarPathMultiplicity.singletonEdges P.edgeList).card *106          (p:ℝ)^(9*P.defectTwice+11)*scale)) :107    ‖pathOperatorSum N A p t‖ ≤108      (N+1:ℝ)*(encodingMajorant p (N+1) t (p+1) (p+1)*scale) :=109  norm_pathOperatorSum_le_of_refined_estimates hp ht htp hN A hscale110    (fun _ _ h => pathWeight_eq_of_refined h) hb111112end Nonadditivity.HaarOperatorPathBridge