Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarFiniteFaithfulness

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.HaarWordExpansion7import Nonadditivity.FiniteBlockModel89/-! # Recovering matrix coefficients from a finite regular-character model1011Exact trace matching separates matrix-valued group polynomials on a bounded12word ball. This supplies the finite-to-regular symmetry bridge without any13norm convergence or approximation hypothesis.14-/15noncomputable section16set_option backward.isDefEq.respectTransparency false17set_option maxHeartbeats 100000018namespace Nonadditivity.HaarFiniteFaithfulness19open HaarWordExpansion20open scoped BigOperators Matrix Matrix.Norms.L2Operator Kronecker2122variable {G ι ν : Type*} [Group G] [DecidableEq G]23  [Fintype ι] [DecidableEq ι] [Fintype ν] [DecidableEq ν]2425/-- Normalized partial trace over the representation's finite index. -/26def blockTrace (A : Matrix (ι × ν) (ι × ν) ℂ) : Matrix ι ι ℂ :=27  fun i j => (∑ u : ν, A (i,u) (j,u)) / Fintype.card ν2829omit [Fintype ι] [DecidableEq ι] [DecidableEq ν] in30@[simp] theorem blockTrace_zero : blockTrace (0 : Matrix (ι×ν) (ι×ν) ℂ) = 0 := by31  ext i j32  simp [blockTrace]3334omit [Fintype ι] [DecidableEq ι] [DecidableEq ν] in35theorem blockTrace_sum {I : Type*} (s : Finset I)36    (A : I → Matrix (ι×ν) (ι×ν) ℂ) :37    blockTrace (∑ a ∈ s, A a) = ∑ a ∈ s, blockTrace (A a) := by38  ext i j39  simp only [blockTrace, Matrix.sum_apply, ← Finset.sum_div]40  rw [Finset.sum_comm]4142omit [Fintype ι] [DecidableEq ι] [DecidableEq ν] in43theorem blockTrace_kronecker (A : Matrix ι ι ℂ) (B : Matrix ν ν ℂ) :44    blockTrace (A ⊗ₖ B) = normalizedTrace B • A := by45  ext i j46  simp only [blockTrace, Matrix.kronecker_apply, ← Finset.mul_sum,47    Matrix.smul_apply, smul_eq_mul, normalizedTrace, Matrix.trace, Matrix.diag_apply]48  ring4950omit [DecidableEq G] in51theorem probe_finiteEval (ρ : G →* Matrix ν ν ℂ)52    (f : MatrixPolynomial G ι) (g : G) :53    blockTrace (finiteEval ρ f * wordHom (ι := ι) ρ g⁻¹) =54      ∑ w ∈ f.support, normalizedTrace (ρ (w*g⁻¹)) • f w := by55  rw [finiteEval_eq_sum, Finset.sum_mul, blockTrace_sum]56  apply Finset.sum_congr rfl57  intro w hw58  change blockTrace ((f w ⊗ₖ ρ w) * ((1 : Matrix ι ι ℂ) ⊗ₖ ρ g⁻¹)) = _59  rw [← Matrix.mul_kronecker_mul, Matrix.mul_one, ← map_mul,60    blockTrace_kronecker]6162theorem recover_coefficient (ρ : G →* Matrix ν ν ℂ)63    (f : MatrixPolynomial G ι) (g : G)64    (htrace : ∀ w ∈ f.support, normalizedTrace (ρ (w*g⁻¹)) = if w=g then 1 else 0) :65    blockTrace (finiteEval ρ f * wordHom (ι := ι) ρ g⁻¹) = f g := by66  rw [probe_finiteEval]67  calc68    _ = ∑ w ∈ f.support, if w=g then f w else 0 := by69      apply Finset.sum_congr rfl70      intro w hw71      rw [htrace w hw]72      split_ifs <;> simp73    _ = _ := by74      by_cases hg : g ∈ f.support75      · simp [hg]76      · simp [hg, Finsupp.notMem_support_iff.mp hg]7778/-- Separation is required only on pairwise differences of the actual support. -/79theorem eq_zero_of_finiteEval_eq_zero (ρ : G →* Matrix ν ν ℂ)80    (f : MatrixPolynomial G ι)81    (htrace : ∀ g ∈ f.support, ∀ w ∈ f.support,82      normalizedTrace (ρ (w*g⁻¹)) = if w=g then 1 else 0)83    (hf : finiteEval ρ f = 0) : f = 0 := by84  apply Finsupp.ext85  intro g86  by_cases hg : g ∈ f.support87  · have h := recover_coefficient ρ f g (htrace g hg)88    rw [hf, Matrix.zero_mul, blockTrace_zero] at h89    exact h.symm90  · exact Finsupp.notMem_support_iff.mp hg9192/-- The existing finite tensor model recovers each coefficient of every93polynomial supported in a product word ball of radius `R`. -/94theorem bounded_product_eq_zero_of_finiteEval_eq_zero {K n R : ℕ}95    (f : MatrixPolynomial (Fin n → FreeGroup (Fin K)) ι)96    (hlinear : ∀ g ∈ f.support, ∀ j, FreeGroup.norm (g j) ≤ R)97    (hf : finiteEval (FiniteBlockModel.representation K (2*R) n) f = 0) : f = 0 := by98  apply eq_zero_of_finiteEval_eq_zero _ f ?_ hf99  intro g hg w hw100  have hlen : ∀ j, FreeGroup.norm ((w*g⁻¹) j) ≤ 2*R := by101    intro j102    have h := FreeGroup.norm_mul_le (w j) (g j)⁻¹103    rw [FreeGroup.norm_inv_eq] at h104    exact h.trans (by nlinarith [hlinear w hw j, hlinear g hg j])105  unfold normalizedTrace106  rw [FiniteBlockModel.representation_trace K (2*R) n (w*g⁻¹) hlen]107  have hc : (Fintype.card (Entropy.TensorChainIndex (FiniteBlockModel.LocalIndex K (2*R)) n) : ℂ) ≠ 0 :=108    Nat.cast_ne_zero.mpr Fintype.card_ne_zero109  by_cases he : w=g110  · simp [he, hc]111  · simp [mul_inv_eq_one, he]112113end Nonadditivity.HaarFiniteFaithfulness