Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarVacuumFunctional

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

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

23 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarOperatorCurry7import Nonadditivity.HaarMixedWordExpansion89/-! # The contractive vacuum functional on mixed operator coefficients1011The normalized matrix vacuum state is defined on the actual bounded operators12of the untouched factors. Applying it to a grouped operator length contribution13recovers the scalar mixed moment contribution exactly.14-/15noncomputable section16set_option backward.isDefEq.respectTransparency false17set_option maxHeartbeats 120000018namespace Nonadditivity.HaarVacuumFunctional19open HaarWordExpansion HaarOperatorCurry HaarMixedWordExpansion RegularCoefficientEnergy20open MeasureTheory21open scoped ENNReal BigOperators Matrix Matrix.Norms.L2Operator2223variable {G H ι : Type} [Group G] [Group H] [DecidableEq G] [DecidableEq H]24  [Fintype ι] [DecidableEq ι]2526def vacuumFunctional (T : Hilbert H ι →L[ℂ] Hilbert H ι) : ℂ :=27  (∑ i : ι, T (lp.single 2 (1:H) (EuclideanSpace.single i 1)) 1 i) / Fintype.card ι2829theorem vacuumFunctional_coordinate_le (T : Hilbert H ι →L[ℂ] Hilbert H ι) (i : ι) :30    ‖T (lp.single 2 (1:H) (EuclideanSpace.single i 1)) 1 i‖ ≤ ‖T‖ := by31  let x : CoefficientSpace ι := EuclideanSpace.single i 132  let e : Hilbert H ι := lp.single 2 (1:H) x33  have hx : ‖x‖ = 1 := by simp [x, EuclideanSpace.norm_single]34  have he : ‖e‖ = 1 := by35    simp [e, lp.norm_single (by norm_num : (0:ℝ≥0∞)<2), hx]36  change ‖T e 1 i‖ ≤ ‖T‖37  calc38    _ ≤ ‖T e 1‖ := PiLp.norm_apply_le _ _39    _ ≤ ‖T e‖ := lp.norm_apply_le_norm (by norm_num : (2:ℝ≥0∞) ≠ 0) _ _40    _ ≤ ‖T‖ * ‖e‖ := T.le_opNorm e41    _ = ‖T‖ := by rw [he, mul_one]4243theorem vacuumFunctional_norm_le [Nonempty ι] (T : Hilbert H ι →L[ℂ] Hilbert H ι) :44    ‖vacuumFunctional T‖ ≤ ‖T‖ := by45  have hc : (0:ℝ) < Fintype.card ι := Nat.cast_pos.mpr Fintype.card_pos46  unfold vacuumFunctional47  rw [norm_div, Complex.norm_natCast]48  apply (div_le_iff₀ hc).mpr49  calc50    _ ≤ ∑ i : ι, ‖T (lp.single 2 (1:H) (EuclideanSpace.single i 1)) 1 i‖ := norm_sum_le _ _51    _ ≤ ∑ _i : ι, ‖T‖ := Finset.sum_le_sum (fun i _ => vacuumFunctional_coordinate_le T i)52    _ = _ := by simp [mul_comm]5354theorem vacuumFunctional_sum {J : Type} (s : Finset J)55    (T : J → Hilbert H ι →L[ℂ] Hilbert H ι) :56    vacuumFunctional (∑ j ∈ s, T j) = ∑ j ∈ s, vacuumFunctional (T j) := by57  simp only [vacuumFunctional, ContinuousLinearMap.sum_apply, lp.coeFn_sum,58    Finset.sum_apply, WithLp.ofLp_sum, ← Finset.sum_div]59  rw [Finset.sum_comm]6061theorem vacuumFunctional_smul (c : ℂ) (T : Hilbert H ι →L[ℂ] Hilbert H ι) :62    vacuumFunctional (c • T) = c * vacuumFunctional T := by63  simp only [vacuumFunctional, ContinuousLinearMap.smul_apply, lp.coeFn_smul,64    Pi.smul_apply, WithLp.ofLp_smul, smul_eq_mul, ← Finset.mul_sum]65  ring6667theorem vacuumFunctional_regularEval (f : MatrixPolynomial H ι) :68    vacuumFunctional (regularEval f) = vacuumTrace f := by69  unfold vacuumFunctional vacuumTrace normalizedTrace Matrix.trace70  congr 171  apply Finset.sum_congr rfl72  intro i hi73  rw [regularEval_vacuum]74  change ((f 1) *ᵥ Pi.single i 1) i = f 1 i i75  simp7677omit [DecidableEq G] in78theorem vacuumFunctional_operatorCurry_coefficient (f : MatrixPolynomial (G × H) ι) (g : G) :79    vacuumFunctional (operatorCurry f g) = normalizedTrace (f (g,1)) := by80  rw [operatorCurry_apply, vacuumFunctional_regularEval]81  rfl8283omit [DecidableEq H] in84theorem identitySlice_support_subset (f : MatrixPolynomial (G × H) ι) :85    (identitySlice f).support ⊆ (MonoidAlgebra.curryRingEquiv f).support := by86  intro g hg87  by_contra hn88  have hz := Finsupp.notMem_support_iff.mp hn89  apply Finsupp.mem_support_iff.mp hg90  change MonoidAlgebra.curryRingEquiv f g 1 = 091  rw [hz]92  rfl9394section Length95variable {α Ω ν : Type} [DecidableEq α] [MeasurableSpace Ω]96  [Fintype ν] [DecidableEq ν]97  (μ : Measure Ω) (ρ : Ω → FreeGroup α →* Matrix ν ν ℂ)9899def operatorLengthContribution (f : MatrixPolynomial (FreeGroup α × H) ι) (p t : ℕ) :100    Hilbert H ι →L[ℂ] Hilbert H ι :=101  ∑ g ∈ ((MonoidAlgebra.curryRingEquiv (f^p)).support.erase 1).filter102      (fun g => FreeGroup.norm g=t),103    (∫ ω, normalizedTrace (ρ ω g) ∂μ) • operatorCurry (f^p) g104105/-- Trace is taken after the operator coefficients have been grouped. -/106theorem mixedLengthContribution_eq_vacuum (f : MatrixPolynomial (FreeGroup α × H) ι)107    (p t : ℕ) :108    mixedLengthContribution μ ρ f p t = vacuumFunctional (operatorLengthContribution μ ρ f p t) := by109  unfold operatorLengthContribution110  rw [vacuumFunctional_sum]111  simp only [vacuumFunctional_smul, vacuumFunctional_operatorCurry_coefficient]112  have hcomm (g : FreeGroup α) :113      (∫ ω, normalizedTrace (ρ ω g) ∂μ) * normalizedTrace ((f^p) (g,1)) =114      normalizedTrace ((f^p) (g,1)) * (∫ ω, normalizedTrace (ρ ω g) ∂μ) := mul_comm _ _115  simp_rw [hcomm]116  unfold mixedLengthContribution117  apply Finset.sum_subset118  · intro g hg119    obtain ⟨hg,ht⟩ := Finset.mem_filter.mp hg120    obtain ⟨hne,hg⟩ := Finset.mem_erase.mp hg121    exact Finset.mem_filter.mpr ⟨Finset.mem_erase.mpr122      ⟨hne,identitySlice_support_subset (f^p) hg⟩,ht⟩123  · intro g hg hn124    obtain ⟨hg,ht⟩ := Finset.mem_filter.mp hg125    have hne := (Finset.mem_erase.mp hg).1126    have hs : g ∉ (identitySlice (f^p)).support := by127      intro hs128      exact hn (Finset.mem_filter.mpr ⟨Finset.mem_erase.mpr ⟨hne,hs⟩,ht⟩)129    have hz := Finsupp.notMem_support_iff.mp hs130    change (f^p) (g,1) = 0 at hz131    simp [hz, normalizedTrace]132133/-- A bound on the grouped operator sum controls the actual scalar trace134contribution with no coefficient-dimension loss. -/135theorem norm_mixedLengthContribution_le [Nonempty ι]136    (f : MatrixPolynomial (FreeGroup α × H) ι) (p t : ℕ) :137    ‖mixedLengthContribution μ ρ f p t‖ ≤ ‖operatorLengthContribution μ ρ f p t‖ := by138  rw [mixedLengthContribution_eq_vacuum]139  exact vacuumFunctional_norm_le _140141end Length142end Nonadditivity.HaarVacuumFunctional