Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarExpectationFromMoment

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

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

5 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarCanonicalTransport7import Nonadditivity.HaarFiniteSymmetry8import Nonadditivity.StructuredHaarConsequences910/-! # The canonical prescribed-dimension expectation from one-pair moments1112All tensor replacement, basis transport, Haar law regrouping, self-adjointness,13Jensen, and scalar dimension factors are proved. The sole analytic input here14is the explicit one-pair trace bound for arbitrary remaining free factors.15-/16noncomputable section17set_option backward.isDefEq.respectTransparency false18set_option maxHeartbeats 150000019namespace Nonadditivity.HaarIteratedMoments20open HaarWordExpansion HaarTensorReplacement HaarTensorConstants ProductMomentBridge21open ProductHaagerupProduct MeasureTheory22open scoped Matrix Matrix.Norms.L2Operator BigOperators2324theorem ofPolynomial_support_subset {G : Type} [Group G] [DecidableEq G]25    (P : PolynomialReduction.Polynomial G) : (ofPolynomial P).support ⊆ P.support := by26  intro g hg27  by_contra hn28  apply (Finsupp.mem_support_iff.mp hg)29  unfold ofPolynomial30  change (∑ w ∈ P.support, (Finsupp.single w (P.coefficient w) :31    G →₀ Matrix P.Index P.Index ℂ)) g = 032  simp only [Finsupp.finset_sum_apply]33  apply Finset.sum_eq_zero34  intro w hw35  have hne : w ≠ g := fun he => hn (he ▸ hw)36  simp [hne]3738theorem canonicalExpectation_prescribed_le {h : ℝ} {n N : ℕ}39    (hh : (2:ℝ)/3 ≤ h) (hn : 2 ≤ n)40    (hD : N+1 = Quantitative.dimensionChoice h n)41    (hone : OnePairTraceBound N (Quantitative.momentParameter h n))42    (P : PolynomialReduction.Polynomial (Fin n → FreeGroup (Fin 2)))43    (hlinear : ∀ w ∈ P.support, ∀ r, FreeGroup.norm (w r) ≤ 1)44    (hsymm : ∀ (ν : Type) [Fintype ν] [DecidableEq ν] [Nonempty ν]45      (ρ : (Fin n → FreeGroup (Fin 2)) →* unitary (Matrix ν ν ℂ)),46      (P.finiteEval ρ).IsHermitian) :47    (∫ ω : HaarModel.Sample 2 n N,48      ‖P.finiteEval (StructuredHaarModel.sampleRepresentation n N ω)‖49        ∂HaarModel.sampleMeasure 2 n N) ≤ ‖P.regularEval‖ *50      Real.exp (Quantitative.haarLogMultiplier h n (Real.log (2*(Fintype.card P.Index:ℝ)))) := by51  let φ := functionGroupHom (Fin 2) n52  let f := transportPolynomial φ (ofPolynomial P)53  have hs : IsSelfAdjoint (regularEval f) := by54    apply transportPolynomial_selfAdjoint55    rw [regularEval_ofPolynomial]56    exact HaarFiniteSymmetry.polynomial_regular_selfAdjoint_of_finite P hlinear hsymm57  have hl : ∀ w ∈ f.support, RadiusLe 1 w := by58    intro w hw59    have him : w ∈ (ofPolynomial P).support.image φ :=60      Finsupp.mapDomain_support hw61    obtain ⟨v,hv,rfl⟩ := Finset.mem_image.mp him62    exact radius_functionGroupHom v (hlinear v (ofPolynomial_support_subset P hv))63  have hb := iteratedExpectation_prescribed_le hh hn hD hone f hs hl64  have he := canonicalMoment_eq_iteratedMoment N 1 n (ofPolynomial P)65  simp only [pow_one, finiteEval_ofPolynomial] at he66  rw [← he] at hb67  have hnorm : ‖regularEval f‖ = ‖P.regularEval‖ := by68    rw [transportPolynomial_regular_norm φ (functionGroupHom_injective n), regularEval_ofPolynomial]69  rwa [hnorm] at hb7071/-- The exact remaining expectation interface used by the finite channel72construction follows from the single one-pair moment statement. -/73theorem explicitHaarExpectation_of_onePairTraceBound {K n : ℕ}74    (hK : 2 ≤ K) (hn : Quantitative.n₀ K ≤ n)75    (hone : OnePairTraceBound (StructuredHaarConsequences.sampleSize K n)76      (Quantitative.momentParameter (Real.log K) n)) :77    StructuredHaarConsequences.ExplicitHaarExpectation K n := by78  intro P hlinear hsymm79  have hKreal : (2:ℝ) ≤ K := by exact_mod_cast hK80  have hlogK := Real.log_le_log (by norm_num : (0:ℝ)<2) hKreal81  have hh : (2:ℝ)/3 ≤ Real.log (K:ℝ) := by linarith [Real.log_two_gt_d9]82  obtain ⟨_,hn64,_,_⟩ := Quantitative.threshold_consequences hK hn83  have hn2 : 2 ≤ n := by exact_mod_cast (show (2:ℝ) ≤ n by linarith)84  apply canonicalExpectation_prescribed_le hh hn285    (StructuredHaarConsequences.sampleSize_add_one K n) hone P _ hsymm86  intro w hw r87  rcases hlinear w hw with rfl | ⟨x,rfl | rfl⟩88  · simp89  · simp only [ProductPolynomialReduction.generator, Pi.inv_apply, FreeGroup.norm_inv_eq,90      apply_ite FreeGroup.norm, FreeGroup.norm_of, FreeGroup.norm_one]91    split_ifs <;> omega92  · simp only [ProductPolynomialReduction.generator, Pi.inv_apply, FreeGroup.norm_inv_eq,93      apply_ite FreeGroup.norm, FreeGroup.norm_of, FreeGroup.norm_one]94    split_ifs <;> omega9596end Nonadditivity.HaarIteratedMoments