Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarHybridMoments

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

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

12 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarTensorReplacement7import Nonadditivity.HaarMomentExpectation89/-! # One actual tensor replacement from a one-pair trace estimate1011The operator norm and vacuum trace below are evaluated after a literal matrix12substitution. Compactness supplies all Bochner-integrability obligations. The13only analytic hypothesis in the replacement estimate is the one-pair trace14moment comparison itself.15-/16noncomputable section17set_option backward.isDefEq.respectTransparency false18set_option maxHeartbeats 100000019set_option linter.unusedSectionVars false20namespace Nonadditivity.HaarHybridMoments21open MeasureTheory HaarWordExpansion HaarTensorReplacement ProductHaagerupProduct22open scoped BigOperators Matrix Matrix.Norms.L2Operator Kronecker2324variable {G H ι ν : Type} [Group G] [Group H] [DecidableEq G] [DecidableEq H]25  [Fintype ι] [DecidableEq ι] [Fintype ν] [DecidableEq ν]2627def termLinear (g : G) : Matrix ι ι ℂ →ₗ[ℂ]28    (RegularCoefficientEnergy.Hilbert G ι →L[ℂ] RegularCoefficientEnergy.Hilbert G ι) where29  toFun A := RegularFactorization.term A g30  map_add' := fun A B => RegularFactorization.term_add A B g31  map_smul' := by32    intro c A33    ext f h i34    change ((c • A) *ᵥ (f (g⁻¹*h)).ofLp) i = c * (A *ᵥ (f (g⁻¹*h)).ofLp) i35    simp only [Matrix.smul_mulVec, Pi.smul_apply, smul_eq_mul]3637theorem continuous_term (g : G) :38    Continuous (fun A : Matrix ι ι ℂ => RegularFactorization.term A g) :=39  (termLinear g).continuous_of_finiteDimensional4041variable {Ω : Type} [TopologicalSpace Ω]4243theorem continuous_partial_regularEval (ρ : Ω → G →* Matrix ν ν ℂ)44    (hρ : ∀ g, Continuous (fun ω => ρ ω g)) (f : MatrixPolynomial (G × H) ι) :45    Continuous (fun ω => regularEval (partialEval (ρ ω) f)) := by46  simp only [partialEval_eq_sum, map_sum, regularEval_single]47  apply continuous_finset_sum48  intro w hw49  apply (continuous_term w.2).comp50  apply continuous_matrix51  intro a b52  exact continuous_const.mul ((hρ w.1).matrix_elem a.2 b.2)5354theorem continuous_partial_vacuumMoment (ρ : Ω → G →* Matrix ν ν ℂ)55    (hρ : ∀ g, Continuous (fun ω => ρ ω g)) (f : MatrixPolynomial (G × H) ι) (p : ℕ) :56    Continuous (fun ω => (vacuumTrace ((partialEval (ρ ω) f)^p)).re) := by57  simp only [vacuumTrace_partialEval_pow]58  apply Complex.continuous_re.comp59  apply continuous_finset_sum60  intro w hw61  split_ifs with h62  · apply Continuous.const_mul63    unfold normalizedTrace Matrix.trace64    apply Continuous.div_const65    exact continuous_finset_sum _ (fun i hi => (hρ w.1).matrix_elem i i)66  · exact continuous_const6768section Integrable69variable [CompactSpace Ω] [MeasurableSpace Ω] [BorelSpace Ω]70  (μ : Measure Ω) [IsFiniteMeasure μ]7172theorem integrable_partial_regularNorm_pow (ρ : Ω → G →* Matrix ν ν ℂ)73    (hρ : ∀ g, Continuous (fun ω => ρ ω g)) (f : MatrixPolynomial (G × H) ι) (p : ℕ) :74    Integrable (fun ω => ‖regularEval (partialEval (ρ ω) f)‖^p) μ :=75  ((continuous_partial_regularEval ρ hρ f).norm.pow p).integrable_of_hasCompactSupport76    (HasCompactSupport.of_compactSpace _)7778theorem integrable_partial_vacuumMoment (ρ : Ω → G →* Matrix ν ν ℂ)79    (hρ : ∀ g, Continuous (fun ω => ρ ω g)) (f : MatrixPolynomial (G × H) ι) (p : ℕ) :80    Integrable (fun ω => (vacuumTrace ((partialEval (ρ ω) f)^p)).re) μ :=81  (continuous_partial_vacuumMoment ρ hρ f p).integrable_of_hasCompactSupport82    (HasCompactSupport.of_compactSpace _)8384end Integrable8586section Replacement87variable {α : Type} [DecidableEq α] [Fintype α] [Nonempty ι] [Nonempty ν]88  [CompactSpace Ω] [MeasurableSpace Ω] [BorelSpace Ω]89  (μ : Measure Ω) [IsProbabilityMeasure μ]9091/-- A concrete one-pair trace comparison implies the next hybrid norm-moment92bound, with the actual enlarged coefficient dimension. -/93theorem replacement_norm_moment_le {j p : ℕ}94    (ρ : Ω → G →* unitary (Matrix ν ν ℂ))95    (hρ : ∀ g, Continuous (fun ω => (ρ ω g : Matrix ν ν ℂ)))96    (f : MatrixPolynomial (G × GroupIndex α j) ι)97    (hf : IsSelfAdjoint (regularEval f))98    (hlinear : ∀ w ∈ f.support, RadiusLe 1 w.2)99    (hp : Even p) (hp2 : 2 ≤ p) (ε : ℝ)100    (htrace : (∫ ω, (vacuumTrace ((partialEval (representationMatrix (ρ ω)) f)^p)).re ∂μ) ≤101      (vacuumTrace (f^p)).re + ε * ‖regularEval f‖^p) :102    (∫ ω, ‖regularEval (partialEval (representationMatrix (ρ ω)) f)‖^p ∂μ) ≤103      (2*(Fintype.card ι:ℝ)*Fintype.card ν*(p:ℝ)^(3*j)) *104        (1+ε) * ‖regularEval f‖^p := by105  let C : ℝ := 2*(Fintype.card ι:ℝ)*Fintype.card ν*(p:ℝ)^(3*j)106  have hC : 0 ≤ C := by dsimp [C]; positivity107  have hcont : ∀ g, Continuous (fun ω => representationMatrix (ρ ω) g) := hρ108  have hnorm := integrable_partial_regularNorm_pow μ _ hcont f p109  have hmoment := integrable_partial_vacuumMoment μ _ hcont f p110  have hpt : ∀ ω, ‖regularEval (partialEval (representationMatrix (ρ ω)) f)‖^p ≤111      C * (vacuumTrace ((partialEval (representationMatrix (ρ ω)) f)^p)).re := by112    intro ω113    have hl : ∀ w ∈ (partialEval (representationMatrix (ρ ω)) f).support,114        RadiusLe 1 w := by115      intro w hw116      obtain ⟨v,hv,rfl⟩ := Finset.mem_image.mp (partialEval_support _ f hw)117      exact hlinear v hv118    have hb := ProductMomentBridge.norm_pow_le_two_card_moment119      (partialEval (representationMatrix (ρ ω)) f) (partialEval_selfAdjoint (ρ ω) f hf)120      hl hp hp2121    simpa only [C, Fintype.card_prod, Nat.cast_mul, mul_assoc] using hb122  have hi := integral_mono hnorm (hmoment.const_mul C) hpt123  rw [integral_const_mul] at hi124  have ht := mul_le_mul_of_nonneg_left125    (htrace.trans (add_le_add (vacuumTrace_pow_re_le f p) le_rfl)) hC126  exact hi.trans (ht.trans_eq (by dsimp [C]; ring))127128end Replacement129end Nonadditivity.HaarHybridMoments