Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarSharpPathWeight

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

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

7 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarOperatorPathSum7import Nonadditivity.HaarPathScalarSummation89/-! # Actual Haar path weights under the original 2^32 dimension hypothesis -/10noncomputable section11namespace Nonadditivity.HaarSharpPathWeight12open HaarPathGraph HaarPathWeights HaarMomentConstants HaarOperatorPathBridge13open scoped BigOperators1415theorem strong_path_moment_dimension {N p t : ℕ} (hp : 2≤p) (ht : t≤p)16    (hN : 2^32*(p:ℝ)^80 ≤ N+1) :17    16*((t/2:ℕ):ℝ)^4 ≤ N+1 := by18  have hp1 : (1:ℝ)≤p := by exact_mod_cast (show 1≤p by omega)19  have ht' : ((t/2:ℕ):ℝ)≤p := by exact_mod_cast (Nat.div_le_self t 2).trans ht20  calc21    _ ≤ 16*(p:ℝ)^4 := mul_le_mul_of_nonneg_left22      (pow_le_pow_left₀ (by positivity) ht' 4) (by norm_num)23    _ ≤ 2^32*(p:ℝ)^80 := mul_le_mul (by norm_num)24      (pow_le_pow_right₀ hp1 (by norm_num)) (by positivity) (by norm_num)25    _ ≤ _ := hN2627theorem norm_pathWeight_le {N p t : ℕ} (hp : 2≤p) (ht0 : 0<t) (ht : t≤p)28    (hN : 2^32*(p:ℝ)^80 ≤ N+1) (P : Path (Fin (N+1)) 2 t) :29    ‖pathWeight P‖ ≤30      (4/(N+1:ℝ)^(t/2))*(t:ℝ)^P.defectTwice *31        ((t:ℝ)/(N+1:ℝ)^(1/4:ℝ))^(HaarPathMultiplicity.singletonEdges P.edgeList).card := by32  have h := norm_pathProduct_integral_le P ht0 (strong_path_moment_dimension hp ht hN)33  have hr : Real.sqrt (Real.sqrt (N+1:ℝ))=(N+1:ℝ)^(1/4:ℝ) := by34    rw [Real.sqrt_eq_rpow,Real.sqrt_eq_rpow,←Real.rpow_mul (by positivity)]35    norm_num36  simpa only [pathWeight,hr] using h3738theorem pathWeight_support {N t : ℕ} (P : Path (Fin (N+1)) 2 t)39    (hP : pathWeight P≠0) : Even t ∧ P.vertices.card≤t/2 := by40  have he := even_length_of_integral_ne_zero P hP41  exact ⟨he,P.vertices_le_half_of_balanced (locallyBalanced_of_integral_ne_zero P hP) he⟩4243/-- Multiplying an actual Haar weight by its grouped coefficient budget44leaves exactly the scalar cost indexed by singletons and vertex deficit. -/45theorem normalized_pathWeight_smul_norm_le46    {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E]47    {N p t : ℕ} (hp : 2≤p) (ht0 : 0<t) (ht : t≤p)48    (hN : 2^32*(p:ℝ)^80 ≤ N+1) (P : Path (Fin (N+1)) 2 t)49    (hP : pathWeight P≠0) (B : E) {scale : ℝ} (_hs : 0≤scale)50    (hb : ‖B‖ ≤ (N+1:ℝ)^P.vertices.card *51      (2^(HaarPathMultiplicity.singletonEdges P.edgeList).card *52        (p:ℝ)^(9*P.defectTwice+11)*scale)) :53    ‖(1/(N+1:ℂ)) • (pathWeight P • B)‖ ≤54      refinedClassWeightMajorant p (N+1) t55        (HaarPathMultiplicity.singletonEdges P.edgeList).card (t/2-P.vertices.card)*scale := by56  let e := (HaarPathMultiplicity.singletonEdges P.edgeList).card57  let v := P.vertices.card58  let r := t/2-v59  have hsupp := pathWeight_support P hP60  have hhalf : t/2=v+r := by dsimp [v,r]; omega61  have hlen : t=2*(v+r) := by62    obtain ⟨k,hk⟩ := hsupp.163    omega64  have hdef : P.defectTwice=e+2*r := by65    exact graph_defect_eq_singletons_add_twice_deficit hlen66  have hw := norm_pathWeight_le hp ht0 ht hN P67  change ‖pathWeight P‖ ≤ (4/(N+1:ℝ)^(t/2))*(t:ℝ)^P.defectTwice *68    ((t:ℝ)/(N+1:ℝ)^(1/4:ℝ))^e at hw69  rw [hdef,hhalf] at hw70  change ‖B‖ ≤ (N+1:ℝ)^v * (2^e*(p:ℝ)^(9*P.defectTwice+11)*scale) at hb71  rw [hdef] at hb72  have hnorm : ‖(N:ℂ)+1‖=(N:ℝ)+1 := by73    exact_mod_cast Complex.norm_natCast (N+1)74  rw [norm_smul,norm_div,norm_one,hnorm,norm_smul]75  calc76    _ ≤ (1/(N+1:ℝ))*77        (((4/(N+1:ℝ)^(v+r))*(t:ℝ)^(e+2*r)*78          ((t:ℝ)/(N+1:ℝ)^(1/4:ℝ))^e) *79          ((N+1:ℝ)^v*(2^e*(p:ℝ)^(9*(e+2*r)+11)*scale))) := by80      exact mul_le_mul_of_nonneg_left81        (mul_le_mul hw hb (norm_nonneg _) (by positivity)) (by positivity)82    _ = (((N+1:ℝ)^v/(N+1))*(4/(N+1:ℝ)^(v+r)))*83        (t:ℝ)^(e+2*r)*((t:ℝ)/(N+1:ℝ)^(1/4:ℝ))^e*84        2^e*(p:ℝ)^(9*(e+2*r)+11)*scale := by ring85    _ = _ := by86      rw [vertex_dimension_cancellation (by positivity)]87      rfl8889end Nonadditivity.HaarSharpPathWeight