Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarPathClassSums

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

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

14 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarPathRefinedCounting7import Nonadditivity.HaarRefinedVertexFibre8import Nonadditivity.HaarOperatorPathSum910/-! # Exact regrouping over the genuine refined path quotient1112The finite path sum is transported to literal refined fibres. The resulting13operator coefficient sum remains inside each class before any norm is taken.14-/15noncomputable section16set_option backward.isDefEq.respectTransparency false17namespace Nonadditivity.HaarPathClasses18open HaarPathGraph HaarRefinedVertexFibre19open scoped BigOperators20attribute [local instance] Classical.propDecidable21variable {V : Type*} [Fintype V] [DecidableEq V] {d m : ℕ}2223/-- A quotient fibre is exactly the literal refined class of its chosen24representative. -/25def refinedQuotientFibreEquiv (C : RefinedClass V d m) :26    {P : Path V d m // Quotient.mk refinedPathSetoid P=C} ≃27      HaarRefinedVertexFibre.Fibre (Quotient.out C) where28  toFun P := ⟨P.val,by29    apply @Quotient.exact _ refinedPathSetoid30    exact (Quotient.out_eq C).trans P.property.symm⟩31  invFun P := ⟨P.val,by32    exact (Quotient.sound P.property).symm.trans (Quotient.out_eq C)⟩33  left_inv _ := rfl34  right_inv _ := rfl3536/-- Exact class regrouping; this statement uses no invariance assumption. -/37theorem sum_paths_eq_sum_refined {R : Type*} [AddCommMonoid R]38    (f : Path V d m → R) :39    ∑ P, f P = ∑ C : RefinedClass V d m,40      ∑ P : HaarRefinedVertexFibre.Fibre (Quotient.out C), f P.val := by41  classical42  rw [← Fintype.sum_fiberwise (Quotient.mk refinedPathSetoid) f]43  apply Finset.sum_congr rfl44  intro C _45  exact (refinedQuotientFibreEquiv C).sum_comp (fun P => f P.val)4647/-- Pulling an invariant scalar through the genuine class fibre leaves the48operator coefficients grouped together. -/49theorem sum_paths_smul_eq_sum_refined {R : Type*} [AddCommMonoid R] [Module ℂ R]50    (w : Path V d m → ℂ) (f : Path V d m → R)51    (hw : ∀ P Q, RefinedPattern P Q → w P=w Q) :52    ∑ P, w P • f P = ∑ C : RefinedClass V d m,53      w (Quotient.out C) • ∑ P : HaarRefinedVertexFibre.Fibre (Quotient.out C), f P.val := by54  rw [sum_paths_eq_sum_refined]55  apply Finset.sum_congr rfl56  intro C _57  rw [Finset.smul_sum]58  apply Finset.sum_congr rfl59  intro P _60  rw [hw (Quotient.out C) P.val P.property]6162/-- Norms are taken after summing all coefficients in the refined class. -/63theorem norm_sum_paths_smul_le {R : Type*} [NormedAddCommGroup R] [NormedSpace ℂ R]64    (w : Path V d m → ℂ) (f : Path V d m → R)65    (hw : ∀ P Q, RefinedPattern P Q → w P=w Q) :66    ‖∑ P, w P • f P‖ ≤ ∑ C : RefinedClass V d m,67      ‖w (Quotient.out C)‖ *68        ‖∑ P : HaarRefinedVertexFibre.Fibre (Quotient.out C), f P.val‖ := by69  rw [sum_paths_smul_eq_sum_refined w f hw]70  exact (norm_sum_le _ _).trans_eq (by simp only [norm_smul])7172end Nonadditivity.HaarPathClasses7374namespace Nonadditivity.HaarOperatorPathBridge75open HaarPathGraph HaarPathClasses HaarRefinedVertexFibre76open scoped BigOperators7778/-- The exact operator contribution partitioned into actual refined classes. -/79theorem pathOperatorSum_eq_refinedSum {E : Type} [NormedAddCommGroup E]80    [InnerProductSpace ℂ E] [CompleteSpace E] (N : ℕ)81    (A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E) (p t : ℕ) :82    pathOperatorSum N A p t = ∑ C : RefinedClass (Fin (N+1)) 2 t,83      ∑ P : HaarRefinedVertexFibre.Fibre (Quotient.out C),84        pathWeight P.val • (A^p) (FreeGroup.mk (List.ofFn P.val.colors)) := by85  exact sum_paths_eq_sum_refined _8687/-- The grouped coefficient sum needed by the profile Cauchy--Schwarz estimate. -/88def refinedCoefficientSum {E : Type} [NormedAddCommGroup E]89    [InnerProductSpace ℂ E] [CompleteSpace E] {V : Type*} [Fintype V] [DecidableEq V]90    (A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E) (p : ℕ)91    {t : ℕ} (P : Path V 2 t) : E →L[ℂ] E :=92  ∑ Q : HaarRefinedVertexFibre.Fibre P, (A^p) (FreeGroup.mk (List.ofFn Q.val.colors))9394/-- The only analytic input required to extract the weight is its equality95on the refined relation; the partition itself has already been constructed. -/96theorem pathOperatorSum_eq_weighted_refinedSum {E : Type} [NormedAddCommGroup E]97    [InnerProductSpace ℂ E] [CompleteSpace E] (N : ℕ)98    (A : HaarOperatorPolynomial.Polynomial (FreeGroup (Fin 2)) E) (p t : ℕ)99    (hw : ∀ P Q : Path (Fin (N+1)) 2 t, RefinedPattern P Q → pathWeight P=pathWeight Q) :100    pathOperatorSum N A p t = ∑ C : RefinedClass (Fin (N+1)) 2 t,101      pathWeight (Quotient.out C) • refinedCoefficientSum A p (Quotient.out C) := by102  exact sum_paths_smul_eq_sum_refined pathWeight _ hw103104end Nonadditivity.HaarOperatorPathBridge