Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.ProductMomentBridge

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

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

48 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarWordExpansion7import Nonadditivity.ProductHaagerupProduct89/-! # Matrix coefficient energy and free trace moments1011The normalized vacuum trace controls the sum of squared coefficient operator12norms.  Together with product Haagerup this gives the operator-norm to moment13conversion used while replacing Haar tensor factors one at a time.14-/15noncomputable section16set_option backward.isDefEq.respectTransparency false17set_option maxHeartbeats 100000018namespace Nonadditivity.ProductMomentBridge19open HaarWordExpansion RegularCoefficientEnergy20open scoped BigOperators InnerProductSpace ENNReal Matrix Matrix.Norms.L2Operator2122/-- The C-star power identity at every positive integer, obtained from its23power-of-two version and cancellation in a submultiplicative estimate. -/24theorem norm_pow_selfAdjoint {A : Type*} [NormedRing A] [StarRing A] [CStarRing A]25    (x : A) (hx : IsSelfAdjoint x) {m : ℕ} (hm : 0 < m) : ‖x ^ m‖ = ‖x‖ ^ m := by26  apply le_antisymm (norm_pow_le' x hm)27  by_cases hzero : x = 028  · simp [hzero, hm.ne']29  · have hn : 0 < ‖x‖ := norm_pos_iff.mpr hzero30    have hlt : m < 2 ^ m := Nat.lt_two_pow_self31    have hd : 0 < 2 ^ m - m := Nat.sub_pos_of_lt hlt32    have hs : m + (2 ^ m - m) = 2 ^ m := Nat.add_sub_of_le hlt.le33    have hb : ‖x‖ ^ (2 ^ m) ≤ ‖x ^ m‖ * ‖x‖ ^ (2 ^ m - m) := by34      calc35        _ = ‖x ^ (2 ^ m)‖ := (hx.norm_pow_two_pow m).symm36        _ = ‖x ^ m * x ^ (2 ^ m - m)‖ := by rw [← pow_add, hs]37        _ ≤ ‖x ^ m‖ * ‖x ^ (2 ^ m - m)‖ := norm_mul_le _ _38        _ ≤ _ := mul_le_mul_of_nonneg_left (norm_pow_le' x hd) (norm_nonneg _)39    rw [← hs, pow_add] at hb40    simp only [Nat.add_sub_cancel_left] at hb41    exact le_of_mul_le_mul_right hb (pow_pos hn _)4243variable {ι G : Type*} [Fintype ι] [DecidableEq ι] [Group G] [DecidableEq G]4445/-- The Frobenius bound, expressed through the actual coefficient operators. -/46theorem coefficientOperator_norm_sq_le (A : Matrix ι ι ℂ) :47    ‖coefficientOperator A‖ ^ 2 ≤48      ∑ i : ι, ‖coefficientOperator A (EuclideanSpace.single i 1)‖ ^ 2 := by49  let c : ℝ := ∑ i : ι, ‖coefficientOperator A (EuclideanSpace.single i 1)‖ ^ 250  have hc : 0 ≤ c := Finset.sum_nonneg (fun _ _ => sq_nonneg _)51  have hn : ‖coefficientOperator A‖ ≤ Real.sqrt c := by52    apply ContinuousLinearMap.opNorm_le_bound _ (Real.sqrt_nonneg _)53    intro x54    have hx : x = ∑ i : ι, x i • EuclideanSpace.single i 1 := by55      ext j56      simp [Pi.single_apply]57    have he : coefficientOperator A x =58        ∑ i : ι, x i • coefficientOperator A (EuclideanSpace.single i 1) := by59      conv_lhs => rw [hx]60      simp only [map_sum, map_smul]61    apply (sq_le_sq₀ (norm_nonneg _) (by positivity)).mp62    rw [he, mul_pow, Real.sq_sqrt hc]63    have hcs := CollinsYoun.norm_sum_smul_sq_le (fun i => x i)64      (fun i => coefficientOperator A (EuclideanSpace.single i 1))65    simpa only [← PiLp.norm_sq_eq_of_L2, mul_comm] using hcs66  have hs := pow_le_pow_left₀ (norm_nonneg _) hn 267  rwa [Real.sq_sqrt hc] at hs6869theorem coefficient_energy_eq_vacuum_norm (f : MatrixPolynomial G ι)70    (x : CoefficientSpace ι) :71    (∑ g ∈ f.support, ‖coefficientOperator (f g) x‖ ^ 2) =72      ‖regularEval f (lp.single 2 (1 : G) x)‖ ^ 2 := by73  rw [regularEval_eq_regularPolynomial, regularPolynomial_single_one]74  simpa only [ENNReal.toReal_ofNat, Real.rpow_two] using75    (lp.norm_sum_single (p := 2) (by norm_num)76      (fun g => coefficientOperator (f g) x) f.support).symm7778/-- An even vacuum moment is exactly the energy of each identity column. -/79theorem power_vacuum_column_energy (f : MatrixPolynomial G ι)80    (hf : IsSelfAdjoint (regularEval f)) (q : ℕ) (i : ι) :81    ‖regularEval (f ^ q) (lp.single 2 (1 : G) (EuclideanSpace.single i 1))‖ ^ 2 =82      ((f ^ (2*q)) 1 i i).re := by83  let e : Hilbert G ι := lp.single 2 (1 : G) (EuclideanSpace.single i 1)84  let B := regularEval f85  have hstar : (B ^ q).adjoint = B ^ q := by86    exact (hf.pow q).star_eq87  have he : (B ^ q).adjoint ∘L (B ^ q) = regularEval (f ^ (2*q)) := by88    rw [hstar, map_pow]89    change B ^ q * B ^ q = B ^ (2*q)90    rw [← pow_add]91    congr 192    omega93  rw [map_pow]94  change ‖(B ^ q) e‖ ^ 2 = _95  rw [ContinuousLinearMap.apply_norm_sq_eq_inner_adjoint_right, he]96  dsimp [e]97  rw [lp.inner_single_left, regularEval_vacuum, EuclideanSpace.inner_single_left]98  change (star (1 : ℂ) * ((f ^ (2*q)) 1 *ᵥ Pi.single i 1) i).re = _99  simp100101theorem power_coefficient_energy_le_trace [Nonempty ι]102    (f : MatrixPolynomial G ι) (hf : IsSelfAdjoint (regularEval f)) (q : ℕ) :103    (∑ g ∈ (f^q).support, ‖coefficientOperator ((f^q) g)‖ ^ 2) ≤104      (Fintype.card ι : ℝ) * (vacuumTrace (f^(2*q))).re := by105  have hc : (Fintype.card ι : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr Fintype.card_ne_zero106  calc107    _ ≤ ∑ g ∈ (f^q).support,108        ∑ i : ι, ‖coefficientOperator ((f^q) g) (EuclideanSpace.single i 1)‖ ^ 2 :=109      Finset.sum_le_sum (fun g _ => coefficientOperator_norm_sq_le _)110    _ = ∑ i : ι, ∑ g ∈ (f^q).support,111        ‖coefficientOperator ((f^q) g) (EuclideanSpace.single i 1)‖ ^ 2 :=112      Finset.sum_comm113    _ = ∑ i : ι, ((f ^ (2*q)) 1 i i).re := by114      apply Finset.sum_congr rfl115      intro i _116      rw [coefficient_energy_eq_vacuum_norm, power_vacuum_column_energy f hf]117    _ = _ := by118      simp only [vacuumTrace, normalizedTrace, Complex.div_natCast_re,119        Matrix.trace, Matrix.diag_apply, Complex.re_sum]120      field_simp121122theorem vacuumTrace_even_nonneg [Nonempty ι]123    (f : MatrixPolynomial G ι) (hf : IsSelfAdjoint (regularEval f)) (q : ℕ) :124    0 ≤ (vacuumTrace (f^(2*q))).re := by125  have h := power_coefficient_energy_le_trace f hf q126  have he : 0 ≤ ∑ g ∈ (f^q).support, ‖coefficientOperator ((f^q) g)‖ ^ 2 :=127    Finset.sum_nonneg (fun _ _ => sq_nonneg _)128  exact nonneg_of_mul_nonneg_right (he.trans h) (Nat.cast_pos.mpr Fintype.card_pos)129130section ProductGroup131open ProductHaagerupProduct132variable {α : Type*} [DecidableEq α] [Fintype α]133134omit [Fintype α] in135theorem radius_one (q j : ℕ) : RadiusLe q (1 : GroupIndex α j) := by136  induction j with137  | zero => trivial138  | succ j ih => exact ⟨by simp, ih⟩139140omit [Fintype α] in141theorem radius_mul {a b j : ℕ} (g h : GroupIndex α j)142    (hg : RadiusLe a g) (hh : RadiusLe b h) : RadiusLe (a+b) (g*h) := by143  induction j with144  | zero => trivial145  | succ j ih =>146    exact ⟨(FreeGroup.norm_mul_le g.1 h.1).trans (Nat.add_le_add hg.1 hh.1),147      ih g.2 h.2 hg.2 hh.2⟩148149open scoped Pointwise in150omit [Fintype α] in151theorem support_pow_radius {j : ℕ} (f : MatrixPolynomial (GroupIndex α j) ι)152    (hf : ∀ g ∈ f.support, RadiusLe 1 g) (q : ℕ) :153    ∀ g ∈ (f^q).support, RadiusLe q g := by154  induction q with155  | zero =>156    intro g hg157    have he : g = 1 := by158      have hh := MonoidAlgebra.support_one_subset (by simpa only [pow_zero] using hg)159      simpa using hh160    subst g161    exact radius_one _ _162  | succ q ih =>163    intro g hg164    rw [pow_succ] at hg165    obtain ⟨a,ha,b,hb,rfl⟩ := Finset.mem_mul.mp (MonoidAlgebra.support_mul _ _ hg)166    exact radius_mul a b (ih a ha) (hf b hb)167168theorem regularEval_radius_norm_sq_le {q j : ℕ}169    (f : MatrixPolynomial (GroupIndex α j) ι)170    (hf : ∀ g ∈ f.support, RadiusLe q g) :171    ‖regularEval f‖ ^ 2 ≤ ((q+1 : ℕ) : ℝ)^(3*j) *172      ∑ g ∈ f.support, ‖coefficientOperator (f g)‖ ^ 2 := by173  have he : (∑ g ∈ f.support,174      (liftOperator (coefficientOperator (f g))).comp (MatrixRegularRestriction.leftRegular g)) =175      regularPolynomial f.support f := by176    unfold regularPolynomial177    apply Finset.sum_congr rfl178    intro g hg179    congr 1180  rw [regularEval_eq_regularPolynomial, ← he]181  exact finite_polynomial_norm_sq_le f.support (fun g => coefficientOperator (f g)) hf182183/-- Product-group regular norm versus its actual normalized even vacuum184moment.  The stronger radius factor is retained before the usual simplification. -/185theorem norm_even_pow_le_trace [Nonempty ι] {j : ℕ}186    (f : MatrixPolynomial (GroupIndex α j) ι)187    (hf : IsSelfAdjoint (regularEval f)) (hlinear : ∀ g ∈ f.support, RadiusLe 1 g)188    (q : ℕ) (hq : 1 ≤ q) :189    ‖regularEval f‖ ^ (2*q) ≤190      ((q+1 : ℕ) : ℝ)^(3*j) * (Fintype.card ι : ℝ) * (vacuumTrace (f^(2*q))).re := by191  calc192    _ = ‖regularEval (f^q)‖^2 := by193      rw [map_pow, norm_pow_selfAdjoint _ hf (by omega)]194      rw [← pow_mul]195      congr 1196      omega197    _ ≤ ((q+1 : ℕ) : ℝ)^(3*j) *198        ∑ g ∈ (f^q).support, ‖coefficientOperator ((f^q) g)‖ ^ 2 :=199      regularEval_radius_norm_sq_le (f^q) (support_pow_radius f hlinear q)200    _ ≤ ((q+1 : ℕ) : ℝ)^(3*j) *201        ((Fintype.card ι : ℝ) * (vacuumTrace (f^(2*q))).re) :=202      mul_le_mul_of_nonneg_left (power_coefficient_energy_le_trace f hf q) (by positivity)203    _ = _ := by ring204205/-- The matrix-coefficient product-group moment conversion used in BC206Lemma 9.4, with the manuscript's factor `2*r*p^(3*j)`. -/207theorem norm_pow_le_two_card_moment [Nonempty ι] {j p : ℕ}208    (f : MatrixPolynomial (GroupIndex α j) ι)209    (hf : IsSelfAdjoint (regularEval f)) (hlinear : ∀ g ∈ f.support, RadiusLe 1 g)210    (hp : Even p) (hp2 : 2 ≤ p) :211    ‖regularEval f‖ ^ p ≤212      2 * (Fintype.card ι : ℝ) * (p : ℝ)^(3*j) * (vacuumTrace (f^p)).re := by213  obtain ⟨q,hq⟩ := hp214  have hq1 : 1 ≤ q := by omega215  have hpq : p = 2*q := by omega216  rw [hpq]217  have hv := vacuumTrace_even_nonneg f hf q218  apply (norm_even_pow_le_trace f hf hlinear q hq1).trans219  have hpow : ((q+1 : ℕ) : ℝ)^(3*j) ≤ ((2*q : ℕ) : ℝ)^(3*j) := by220    apply pow_le_pow_left₀ (by positivity)221    exact_mod_cast (show q+1 ≤ 2*q by omega)222  have hcard : 0 ≤ (Fintype.card ι : ℝ) := by positivity223  have ht := mul_le_mul_of_nonneg_right hpow hcard224  have ht' := mul_le_mul_of_nonneg_right ht hv225  calc226    _ ≤ ((2*q : ℕ) : ℝ)^(3*j) * (Fintype.card ι : ℝ) * (vacuumTrace (f^(2*q))).re := ht'227    _ ≤ _ := by nlinarith [mul_nonneg (mul_nonneg (by positivity :228          0 ≤ ((2*q : ℕ) : ℝ)^(3*j)) hcard) hv]229230/-- Reindexing only the regular norm leaves the original coefficient trace231and the original polynomial powers intact. -/232theorem regularEval_radius_norm_sq_le_of_injective {q j : ℕ}233    (φ : G →* GroupIndex α j) (hφ : Function.Injective φ)234    (f : MatrixPolynomial G ι) (hf : ∀ g ∈ f.support, RadiusLe q (φ g)) :235    ‖regularEval f‖ ^ 2 ≤ ((q+1 : ℕ) : ℝ)^(3*j) *236      ∑ g ∈ f.support, ‖coefficientOperator (f g)‖ ^ 2 := by237  have hs : ∀ g ∈ f.support.image φ, RadiusLe q g := by238    intro g hg239    obtain ⟨a,ha,rfl⟩ := Finset.mem_image.mp hg240    exact hf a ha241  have hb := finite_polynomial_norm_sq_le (f.support.image φ)242    (fun g => coefficientOperator (Function.extend φ f 0 g)) hs243  change ‖regularPolynomial (f.support.image φ) (Function.extend φ f 0)‖^2 ≤ _ at hb244  rw [MatrixRegularRestriction.matrixPolynomial_injective_norm_eq φ hφ] at hb245  rw [regularEval_eq_regularPolynomial]246  simpa only [Finset.sum_image hφ.injOn, hφ.extend_apply] using hb247248open scoped Pointwise in249omit [Fintype α] in250theorem support_pow_radius_image {j : ℕ} (φ : G →* GroupIndex α j)251    (f : MatrixPolynomial G ι) (hf : ∀ g ∈ f.support, RadiusLe 1 (φ g)) (q : ℕ) :252    ∀ g ∈ (f^q).support, RadiusLe q (φ g) := by253  induction q with254  | zero =>255    intro g hg256    have he : g = 1 := by257      have hh := MonoidAlgebra.support_one_subset (by simpa only [pow_zero] using hg)258      simpa using hh259    rw [he, map_one]260    exact radius_one _ _261  | succ q ih =>262    intro g hg263    rw [pow_succ] at hg264    obtain ⟨a,ha,b,hb,rfl⟩ := Finset.mem_mul.mp (MonoidAlgebra.support_mul _ _ hg)265    rw [map_mul]266    exact radius_mul (φ a) (φ b) (ih a ha) (hf b hb)267268theorem norm_pow_le_two_card_moment_of_injective [Nonempty ι] {j p : ℕ}269    (φ : G →* GroupIndex α j) (hφ : Function.Injective φ)270    (f : MatrixPolynomial G ι) (hf : IsSelfAdjoint (regularEval f))271    (hlinear : ∀ g ∈ f.support, RadiusLe 1 (φ g)) (hp : Even p) (hp2 : 2 ≤ p) :272    ‖regularEval f‖ ^ p ≤273      2 * (Fintype.card ι : ℝ) * (p : ℝ)^(3*j) * (vacuumTrace (f^p)).re := by274  obtain ⟨q,hq⟩ := hp275  have hq1 : 1 ≤ q := by omega276  have hpq : p = 2*q := by omega277  rw [hpq]278  have hv := vacuumTrace_even_nonneg f hf q279  have he : ‖regularEval f‖^(2*q) = ‖regularEval (f^q)‖^2 := by280    rw [map_pow, norm_pow_selfAdjoint _ hf (by omega), ← pow_mul]281    congr 1282    omega283  have hb := regularEval_radius_norm_sq_le_of_injective φ hφ (f^q)284    (support_pow_radius_image φ f hlinear q)285  rw [he]286  apply hb.trans287  have ht := mul_le_mul_of_nonneg_left (power_coefficient_energy_le_trace f hf q)288    (by positivity : 0 ≤ ((q+1 : ℕ) : ℝ)^(3*j))289  apply ht.trans290  have hpow : ((q+1 : ℕ) : ℝ)^(3*j) ≤ ((2*q : ℕ) : ℝ)^(3*j) := by291    apply pow_le_pow_left₀ (by positivity)292    exact_mod_cast (show q+1 ≤ 2*q by omega)293  have hs := mul_le_mul_of_nonneg_right hpow294    (mul_nonneg (by positivity : 0 ≤ (Fintype.card ι : ℝ)) hv)295  nlinarith [mul_nonneg (by positivity : 0 ≤ ((2*q : ℕ) : ℝ)^(3*j))296    (mul_nonneg (by positivity : 0 ≤ (Fintype.card ι : ℝ)) hv)]297298/-- The usual function-indexed product embeds into the recursive product. -/299def functionGroupHom (α : Type*) : (j : ℕ) →300    (Fin j → FreeGroup α) →* GroupIndex α j301  | 0 => { toFun := fun _ => PUnit.unit, map_one' := rfl, map_mul' := fun _ _ => rfl }302  | j+1 => {303      toFun := fun g => (g 0, functionGroupHom α j (fun r => g r.succ))304      map_one' := Prod.ext rfl (map_one (functionGroupHom α j))305      map_mul' := fun g h => Prod.ext rfl306        (map_mul (functionGroupHom α j) (fun r => g r.succ) (fun r => h r.succ)) }307308omit [DecidableEq α] [Fintype α] in309theorem functionGroupHom_injective (j : ℕ) : Function.Injective (functionGroupHom α j) := by310  induction j with311  | zero => intro g h _; exact Subsingleton.elim _ _312  | succ j ih =>313    intro g h he314    have h0 := congrArg Prod.fst he315    have hs := ih (congrArg Prod.snd he)316    funext r317    exact Fin.cases h0 (fun r => congrFun hs r) r318319omit [Fintype α] in320theorem radius_functionGroupHom {q j : ℕ} (g : Fin j → FreeGroup α)321    (hg : ∀ r, FreeGroup.norm (g r) ≤ q) : RadiusLe q (functionGroupHom α j g) := by322  induction j with323  | zero => trivial324  | succ j ih => exact ⟨hg 0, ih (fun r => g r.succ) (fun r => hg r.succ)⟩325326/-- The full BC moment conversion on the actual function-indexed product327free group used by the structured polynomial and Haar construction. -/328theorem norm_pow_le_two_card_moment_function [Nonempty ι] {j p : ℕ}329    (f : MatrixPolynomial (Fin j → FreeGroup α) ι)330    (hf : IsSelfAdjoint (regularEval f))331    (hlinear : ∀ g ∈ f.support, ∀ r, FreeGroup.norm (g r) ≤ 1)332    (hp : Even p) (hp2 : 2 ≤ p) :333    ‖regularEval f‖ ^ p ≤334      2 * (Fintype.card ι : ℝ) * (p : ℝ)^(3*j) * (vacuumTrace (f^p)).re := by335  exact norm_pow_le_two_card_moment_of_injective (functionGroupHom α j)336    (functionGroupHom_injective j) f hf337    (fun g hg => radius_functionGroupHom g (hlinear g hg)) hp hp2338339end ProductGroup340341end Nonadditivity.ProductMomentBridge