Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarOnePairAssembly

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

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

9 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarMixedWordExpansion7import Nonadditivity.HaarEncodingSlack8import Nonadditivity.HaarIteratedMoments910/-! # Assembling the mixed one-pair trace estimate from path-length bounds1112This module assembles a bound on the actual length contributions into the13one-pair trace comparison consumed by the checked tensor induction. The length14bound itself is proved in `HaarPrescribedBound.onePairLengthBounds`. The corrected15majorant includes the extra `t^3` and all local color marks.16-/17noncomputable section18set_option backward.isDefEq.respectTransparency false19set_option maxHeartbeats 100000020namespace Nonadditivity.HaarOnePairAssembly21open MeasureTheory HaarWordExpansion HaarTensorReplacement HaarMixedWordExpansion22open HaarMomentConstants HaarIteratedMoments ProductHaagerupProduct23open scoped BigOperators Matrix Matrix.Norms.L2Operator2425def pairMatrix (N : ℕ) (U : Pair N) := representationMatrix (pairRepresentation N U)2627theorem continuous_pair_word_trace (N : ℕ) (g : FreeGroup (Fin 2)) :28    Continuous (fun U : Pair N => normalizedTrace (pairMatrix N U g)) := by29  unfold normalizedTrace Matrix.trace30  apply Continuous.div_const31  exact continuous_finset_sum _ (fun i _ => (continuous_pairRepresentation N g).matrix_elem i i)3233theorem integrable_pair_word_trace (N : ℕ) (g : FreeGroup (Fin 2)) :34    Integrable (fun U : Pair N => normalizedTrace (pairMatrix N U g)) (pairMeasure N) :=35  (continuous_pair_word_trace N g).integrable_of_hasCompactSupport36    (HasCompactSupport.of_compactSpace _)3738theorem continuous_mixed_moment (N p j : ℕ) {ι : Type} [Fintype ι] [DecidableEq ι]39    (f : MatrixPolynomial (GroupIndex (Fin 2) (j+1)) ι) :40    Continuous (fun U : Pair N => vacuumTrace ((partialEval (pairMatrix N U) f)^p)) := by41  simp only [vacuumTrace_partialEval_pow]42  apply continuous_finset_sum43  intro w hw44  split_ifs45  · exact (continuous_pair_word_trace N w.1).const_mul _46  · exact continuous_const4748/-- The actual grouped path-length estimate, proved by49`HaarPrescribedDimension.onePairLengthBounds` in `HaarPrescribedBound.lean`. -/50def OnePairLengthBounds (N p : ℕ) : Prop :=51  ∀ (j : ℕ) (ι : Type) [Fintype ι] [DecidableEq ι] [Nonempty ι]52    (f : MatrixPolynomial (GroupIndex (Fin 2) (j+1)) ι),53    IsSelfAdjoint (regularEval f) →54    (∀ w ∈ f.support, RadiusLe 1 w) →55    ∀ t ∈ Finset.Icc 1 p,56      ‖mixedLengthContribution (pairMeasure N) (pairMatrix N) f p t‖ ≤57        encodingMajorant p (N+1) t (p+1) (p+1) * ‖regularEval f‖^p5859/-- The grouped length bounds, at the manuscript's moment range, imply the60exact one-pair hypothesis of the tensor induction. -/61theorem onePairTraceBound_of_lengthBounds {N p : ℕ} (hp : 2 ≤ p)62    (hN : 2^80*(p:ℝ)^80 ≤ N+1) (hpaths : OnePairLengthBounds N p) :63    OnePairTraceBound N p := by64  intro j ι _ _ _ f hf hlinear65  have hfirst : ∀ w ∈ f.support, FreeGroup.norm w.1 ≤ 1 := by66    intro w hw67    exact (hlinear w hw).168  have he := integral_mixed_error_by_length (pairMeasure N) (pairMatrix N) f p hfirst69    (integrable_pair_word_trace N)70  let D : ℕ → ℝ := fun t =>71    (mixedLengthContribution (pairMeasure N) (pairMatrix N) f p t).re72  have hb := sum_encoding_errors_le hp hN73    (norm_nonneg (regularEval f)) D (fun _ => p+1) (fun _ => p+1) (by74      intro t ht75      exact (Complex.abs_re_le_norm _).trans (hpaths j ι f hf hlinear t ht))76  have hi := (continuous_mixed_moment N p j f).integrable_of_hasCompactSupport77    (μ := pairMeasure N) (HasCompactSupport.of_compactSpace _)78  have hre := congrArg Complex.re he79  rw [Complex.sub_re, Complex.re_sum] at hre80  have hir := integral_re hi81  simp only [RCLike.re_eq_complex_re] at hir82  change (∫ U : Pair N, (vacuumTrace ((partialEval (pairMatrix N U) f)^p)).re83    ∂pairMeasure N) ≤ _84  rw [hir]85  have hsum : (∫ U : Pair N, vacuumTrace ((partialEval (pairMatrix N U) f)^p)86      ∂pairMeasure N).re - (vacuumTrace (f^p)).re = ∑ t ∈ Finset.Icc 1 p, D t := hre87  have hupper := le_trans (le_abs_self (∑ t ∈ Finset.Icc 1 p, D t)) hb88  linarith8990end Nonadditivity.HaarOnePairAssembly