Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarPairEntryBound

Download original .lean · View on GitHub · Jump to source

Direct imports

Imported by project modules

2 direct reverse imports

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.HaarEntryBound7import Mathlib.MeasureTheory.Integral.Prod89/-! # The explicit weight of two independent Haar entry monomials1011The probability law is the actual product of normalized Haar measures.12The result includes absent families and preserves singleton suppression.13-/14noncomputable section15set_option backward.isDefEq.respectTransparency false16namespace Nonadditivity.HaarInvariantTensor17open MeasureTheory HaarModel HaarPathMultiplicity18open scoped Matrix Matrix.Norms.L2Operator1920theorem norm_pair_entry_moment_le {N p q P : ℕ}21    (hpP : p ≤ P) (hqP : q ≤ P) (hN : 16*(P:ℝ)^4 ≤ N+1)22    (i j k l : Tuple N p) (a b c d : Tuple N q) :23    ‖∫ U : LocalUnitary N × LocalUnitary N,24        HaarMixedMoments.entryMonomial i j k l U.1 *25          HaarMixedMoments.entryMonomial a b c d U.2 ∂(haar N).prod (haar N)‖ ≤26      (4/(N+1:ℝ)^(p+q)) *27        (P:ℝ)^(highMultiplicityOccurrences (entryList i j k l)/2 +28          highMultiplicityOccurrences (entryList a b c d)/2) *29        (2*(P:ℝ)/Real.sqrt (Real.sqrt (N+1)))^30          ((singletonEdges (entryList i j k l)).card +31            (singletonEdges (entryList a b c d)).card) := by32  rw [integral_prod_mul (μ := haar N) (ν := haar N) (HaarMixedMoments.entryMonomial i j k l)33    (HaarMixedMoments.entryMonomial a b c d), norm_mul]34  have h₁ := norm_entry_moment_le_uniform hpP hN i j k l35  have h₂ := norm_entry_moment_le_uniform hqP hN a b c d36  apply (mul_le_mul h₁ h₂ (norm_nonneg _) (by positivity)).trans_eq37  simp only [pow_add, div_eq_mul_inv, mul_inv_rev]38  ring3940/-- The manuscript's moment range implies the entry estimate's dimension41condition with a substantial margin. -/42theorem entry_dimension_of_manuscript_range {P M : ℕ} {D : ℝ}43    (hM : 1 ≤ M) (hPM : P ≤ M) (hD : 2^32*(M:ℝ)^80 ≤ D) :44    16*(P:ℝ)^4 ≤ D := by45  have hM1 : (1:ℝ) ≤ M := by exact_mod_cast hM46  have hPMr : (P:ℝ) ≤ M := by exact_mod_cast hPM47  have h₁ := pow_le_pow_left₀ (by positivity : (0:ℝ) ≤ P) hPMr 448  have h₂ := pow_le_pow_right₀ hM1 (by omega : 4 ≤ 80)49  have h₃ : 0 ≤ (M:ℝ)^80 := by positivity50  norm_num at hD51  nlinarith5253theorem continuous_entryMonomial {N p q : ℕ}54    (i j : Tuple N p) (k l : Tuple N q) :55    Continuous (HaarMixedMoments.entryMonomial i j k l) := by56  unfold HaarMixedMoments.entryMonomial57  apply Continuous.mul58  · exact continuous_finset_prod _ (fun a _ => HaarMoments.continuous_entry (i a) (j a))59  · exact continuous_finset_prod _ (fun a _ => (HaarMoments.continuous_entry (k a) (l a)).star)6061/-- The same bound on two distinct coordinates of the manuscript's existing62canonical Haar sample space; no change of probability model is assumed. -/63theorem norm_sample_pair_entry_moment_le {N p q P : ℕ}64    (K n : ℕ) (x y : Fin n × Fin K) (hxy : x ≠ y)65    (hpP : p ≤ P) (hqP : q ≤ P) (hN : 16*(P:ℝ)^4 ≤ N+1)66    (i j k l : Tuple N p) (a b c d : Tuple N q) :67    ‖∫ ω : Sample K n N,68        HaarMixedMoments.entryMonomial i j k l (ω x) *69          HaarMixedMoments.entryMonomial a b c d (ω y) ∂sampleMeasure K n N‖ ≤70      (4/(N+1:ℝ)^(p+q)) *71        (P:ℝ)^(highMultiplicityOccurrences (entryList i j k l)/2 +72          highMultiplicityOccurrences (entryList a b c d)/2) *73        (2*(P:ℝ)/Real.sqrt (Real.sqrt (N+1)))^74          ((singletonEdges (entryList i j k l)).card +75            (singletonEdges (entryList a b c d)).card) := by76  have hf := continuous_entryMonomial i j k l77  have hg := continuous_entryMonomial a b c d78  have hind := ((independent_coordinates K n N).indepFun hxy).comp hf.measurable hg.measurable79  have he := hind.integral_fun_mul_eq_mul_integral80    (hf.comp (continuous_apply x)).aestronglyMeasurable81    (hg.comp (continuous_apply y)).aestronglyMeasurable82  have hx := integral_comp_eval (μ := fun _ : Fin n × Fin K => haar N) (i := x)83    hf.aestronglyMeasurable84  have hy := integral_comp_eval (μ := fun _ : Fin n × Fin K => haar N) (i := y)85    hg.aestronglyMeasurable86  simp only [Function.comp_apply] at he87  rw [he]88  simp only [sampleMeasure]89  rw [hx, hy]90  have hb := norm_pair_entry_moment_le hpP hqP hN i j k l a b c d91  rw [integral_prod_mul (μ := haar N) (ν := haar N)92    (HaarMixedMoments.entryMonomial i j k l) (HaarMixedMoments.entryMonomial a b c d)] at hb93  exact hb9495end Nonadditivity.HaarInvariantTensor