Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.MatrixRegularRestriction

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

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

30 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.RegularRestriction7import Nonadditivity.RegularCoefficientEnergy89/-! # Matrix coefficient regular norms under group embeddings1011Coset energy decomposition and extension by zero prove complete norm preservation:12the coefficient space can be any complex normed space and the coefficients any13bounded linear operators. The final theorem specializes to the literal finite14matrix coefficient polynomial from `RegularCoefficientEnergy`.15-/1617noncomputable section1819namespace Nonadditivity.MatrixRegularRestriction2021open scoped BigOperators ENNReal22open Nonadditivity.RegularRestriction (RightCosets rightCosetEquiv)23open Nonadditivity.RegularCoefficientEnergy (VectorHilbert)2425set_option maxHeartbeats 8000002627variable {G E : Type*} [Group G] [NormedAddCommGroup E] [NormedSpace ℂ E]2829omit [NormedSpace ℂ E] in30theorem norm_sq {α : Type*} (f : VectorHilbert α E) :31    ‖f‖ ^ 2 = ∑' x, ‖f x‖ ^ 2 := by32  simpa using lp.norm_rpow_eq_tsum (p := (2 : ℝ≥0∞)) (by norm_num) f3334/-- Restriction to one right coset, identified with the subgroup. -/35def cosetSlice (H : Subgroup G) (q : RightCosets H) (f : VectorHilbert G E) : VectorHilbert H E :=36  ⟨fun h => f (rightCosetEquiv H (q, h)), by37    apply memℓp_gen38    exact (f.property.summable (by norm_num)).comp_injective (by39      intro a b heq40      exact (Prod.mk.inj (rightCosetEquiv H |>.injective heq)).2)⟩4142omit [NormedSpace ℂ E] in43@[simp] theorem cosetSlice_apply (H : Subgroup G) (q : RightCosets H)44    (f : VectorHilbert G E) (h : H) : cosetSlice H q f h = f ((h : G) * q.out) := rfl4546omit [NormedSpace ℂ E] in47/-- The square norm splits exactly as the sum of the square norms on right cosets. -/48theorem coset_energy (H : Subgroup G) (f : VectorHilbert G E) :49    ‖f‖ ^ 2 = ∑' q : RightCosets H, ‖cosetSlice H q f‖ ^ 2 := by50  rw [norm_sq, ← (rightCosetEquiv H).tsum_eq (fun x => ‖f x‖ ^ 2)]51  have hs : Summable (fun p : RightCosets H × H => ‖f (rightCosetEquiv H p)‖ ^ 2) :=52    (rightCosetEquiv H).summable_iff (f := fun x => ‖f x‖ ^ 2) |>.mpr53      (by simpa using f.property.summable (by norm_num))54  rw [hs.tsum_prod]55  apply tsum_congr56  intro q57  exact (norm_sq (cosetSlice H q f)).symm5859omit [NormedSpace ℂ E] in60theorem summable_coset_energy (H : Subgroup G) (f : VectorHilbert G E) :61    Summable (fun q : RightCosets H => ‖cosetSlice H q f‖ ^ 2) := by62  have hs : Summable (fun p : RightCosets H × H => ‖f (rightCosetEquiv H p)‖ ^ 2) :=63    (rightCosetEquiv H).summable_iff (f := fun x => ‖f x‖ ^ 2) |>.mpr64      (by simpa using f.property.summable (by norm_num))65  convert hs.prod using 166  funext q67  exact norm_sq (cosetSlice H q f)6869/-- The vector-valued regular shift. -/70def leftRegular {α : Type*} [Group α] (g : α) :71    VectorHilbert α E →L[ℂ] VectorHilbert α E :=72  (RegularCoefficientEnergy.reindexIsometry (E := E) (Equiv.mulLeft g⁻¹)).toLinearIsometry.toContinuousLinearMap7374@[simp] theorem leftRegular_apply {α : Type*} [Group α] (g : α)75    (f : VectorHilbert α E) (h : α) : leftRegular g f h = f (g⁻¹ * h) := rfl7677/-- A finite polynomial with arbitrary bounded operator coefficients. -/78def coefficientPolynomial {α : Type*} [Group α] {I : Type*} [Fintype I]79    (w : I → α) (a : I → E →L[ℂ] E) : VectorHilbert α E →L[ℂ] VectorHilbert α E :=80  ∑ i, (RegularCoefficientEnergy.liftOperator (a i)).comp (leftRegular (w i))8182@[simp] theorem coefficientPolynomial_apply {α : Type*} [Group α] {I : Type*} [Fintype I]83    (w : I → α) (a : I → E →L[ℂ] E) (f : VectorHilbert α E) (x : α) :84    coefficientPolynomial w a f x = ∑ i, a i (f ((w i)⁻¹ * x)) := by85  simp only [coefficientPolynomial, ContinuousLinearMap.sum_apply, ContinuousLinearMap.comp_apply]86  rw [lp.coeFn_sum]87  simp [Finset.sum_apply]8889/-- The restricted operator acts identically on every right coset. -/90theorem cosetSlice_coefficientPolynomial (H : Subgroup G) {I : Type*} [Fintype I]91    (w : I → H) (a : I → E →L[ℂ] E) (q : RightCosets H) (f : VectorHilbert G E) :92    cosetSlice H q (coefficientPolynomial (fun i => (w i : G)) a f) =93      coefficientPolynomial w a (cosetSlice H q f) := by94  ext h95  simp [mul_assoc]9697/-- The ambient regular norm cannot exceed the subgroup regular norm. -/98theorem coefficientPolynomial_subgroup_norm_le (H : Subgroup G) {I : Type*} [Fintype I]99    (w : I → H) (a : I → E →L[ℂ] E) :100    ‖coefficientPolynomial (fun i => (w i : G)) a‖ ≤ ‖coefficientPolynomial w a‖ := by101  apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _)102  intro f103  apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (norm_nonneg _) (norm_nonneg _))).mp104  rw [coset_energy H, mul_pow, coset_energy H,105    ← tsum_mul_left]106  apply Summable.tsum_le_tsum107  · intro q108    rw [cosetSlice_coefficientPolynomial]109    simpa only [mul_pow] using110      (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (norm_nonneg _) (norm_nonneg _))).mpr111        ((coefficientPolynomial w a).le_opNorm (cosetSlice H q f))112  · exact summable_coset_energy H _113  · exact (summable_coset_energy H f).mul_left _114115/-- Extension by zero through an injection is an actual square-summable function. -/116def extendZero {α β : Type*} (j : α → β) (hj : Function.Injective j)117    (f : VectorHilbert α E) : VectorHilbert β E :=118  ⟨Function.extend j f 0, by119    apply memℓp_gen120    have hs := (summable_extend_zero hj).mpr (f.property.summable (by norm_num))121    convert hs using 1122    funext y123    simpa [Function.comp_def] using124      Function.apply_extend (g := (⇑f)) (fun z : E => ‖z‖ ^ (2 : ℝ≥0∞).toReal) j (0 : β → E) y⟩125126omit [NormedSpace ℂ E] in127@[simp] theorem extendZero_apply_image {α β : Type*} (j : α → β)128    (hj : Function.Injective j) (f : VectorHilbert α E) (x : α) :129    extendZero j hj f (j x) = f x := hj.extend_apply _ _ _130131omit [NormedSpace ℂ E] in132theorem extendZero_apply_outside {α β : Type*} (j : α → β)133    (hj : Function.Injective j) (f : VectorHilbert α E) (x : β) (hx : x ∉ Set.range j) :134    extendZero j hj f x = 0 := Function.extend_apply' _ _ _ hx135136omit [NormedSpace ℂ E] in137/-- Extension by zero preserves the Hilbert norm exactly. -/138theorem extendZero_norm {α β : Type*} (j : α → β)139    (hj : Function.Injective j) (f : VectorHilbert α E) : ‖extendZero j hj f‖ = ‖f‖ := by140  apply (sq_eq_sq₀ (norm_nonneg _) (norm_nonneg _)).mp141  rw [norm_sq, norm_sq]142  have heq : (fun y => ‖extendZero j hj f y‖ ^ 2) =143      Function.extend j (fun x => ‖f x‖ ^ 2) 0 := by144    funext y145    simpa [extendZero, Function.comp_def] using146      Function.apply_extend (g := (⇑f)) (fun z : E => ‖z‖ ^ (2 : ℕ)) j (0 : β → E) y147  rw [heq, tsum_extend_zero hj]148149/-- Extension by zero intertwines a finite polynomial along any group embedding. -/150theorem extendZero_coefficientPolynomial {H : Type*} [Group H] (φ : H →* G)151    (hφ : Function.Injective φ) {I : Type*} [Fintype I]152    (w : I → H) (a : I → E →L[ℂ] E) (f : VectorHilbert H E) :153    coefficientPolynomial (fun i => φ (w i)) a (extendZero φ hφ f) =154      extendZero φ hφ (coefficientPolynomial w a f) := by155  classical156  ext g157  by_cases hg : g ∈ Set.range φ158  · obtain ⟨h, rfl⟩ := hg159    rw [extendZero_apply_image]160    simp only [coefficientPolynomial_apply]161    apply Finset.sum_congr rfl162    intro i hi163    rw [← map_inv, ← map_mul, extendZero_apply_image]164  · rw [extendZero_apply_outside _ _ _ _ hg, coefficientPolynomial_apply]165    apply Finset.sum_eq_zero166    intro i hi167    have hm : (φ (w i))⁻¹ * g ∉ Set.range φ := by168      rintro ⟨h, hh⟩169      apply hg170      refine ⟨w i * h, ?_⟩171      rw [map_mul, hh]172      simp173    rw [extendZero_apply_outside _ _ _ _ hm, map_zero]174175/-- The regular polynomial on an embedded group has at least the original norm. -/176theorem coefficientPolynomial_norm_le_of_injective {H : Type*} [Group H] (φ : H →* G)177    (hφ : Function.Injective φ) {I : Type*} [Fintype I] (w : I → H) (a : I → E →L[ℂ] E) :178    ‖coefficientPolynomial w a‖ ≤ ‖coefficientPolynomial (fun i => φ (w i)) a‖ := by179  apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _)180  intro f181  have hb := (coefficientPolynomial (fun i => φ (w i)) a).le_opNorm (extendZero φ hφ f)182  rw [extendZero_coefficientPolynomial, extendZero_norm, extendZero_norm] at hb183  exact hb184185/-- An injective group homomorphism preserves every finite regular polynomial norm.186The proof uses actual square-summable right coset fibers and extension by zero. -/187theorem coefficientPolynomial_injective_norm_eq {H : Type*} [Group H] (φ : H →* G)188    (hφ : Function.Injective φ) {I : Type*} [Fintype I] (w : I → H) (a : I → E →L[ℂ] E) :189    ‖coefficientPolynomial (fun i => φ (w i)) a‖ = ‖coefficientPolynomial w a‖ := by190  let e : H ≃* φ.range := MonoidHom.ofInjective hφ191  apply le_antisymm192  · calc193      ‖coefficientPolynomial (fun i => φ (w i)) a‖ =194          ‖coefficientPolynomial (fun i => (e (w i) : G)) a‖ := rfl195      _ ≤ ‖coefficientPolynomial (fun i => e (w i)) a‖ :=196        coefficientPolynomial_subgroup_norm_le φ.range _ a197      _ ≤ ‖coefficientPolynomial w a‖ := by198        simpa using coefficientPolynomial_norm_le_of_injective e.symm.toMonoidHom199          e.symm.injective (fun i => e (w i)) a200  · exact coefficientPolynomial_norm_le_of_injective φ hφ w a201202/-- Group isomorphisms preserve every operator-coefficient polynomial norm. -/203theorem coefficientPolynomial_equiv_norm_eq {H : Type*} [Group H] (e : H ≃* G)204    {I : Type*} [Fintype I] (w : I → H) (a : I → E →L[ℂ] E) :205    ‖coefficientPolynomial (fun i => e (w i)) a‖ = ‖coefficientPolynomial w a‖ :=206  coefficientPolynomial_injective_norm_eq e.toMonoidHom e.injective w a207208section Matrix209210variable [DecidableEq G] {ι : Type*} [Fintype ι] [DecidableEq ι]211212omit [DecidableEq G] in213/-- The generic coefficient polynomial specializes to the literal matrix polynomial. -/214theorem matrixPolynomial_eq (S : Finset G) (c : G → Matrix ι ι ℂ) :215    RegularCoefficientEnergy.regularPolynomial S c =216      coefficientPolynomial (fun w : S => w.val)217        (fun w => RegularCoefficientEnergy.coefficientOperator (c w.val)) := by218  simp only [RegularCoefficientEnergy.regularPolynomial, coefficientPolynomial]219  rw [← Finset.sum_coe_sort S (fun w =>220    (RegularCoefficientEnergy.liftOperator (RegularCoefficientEnergy.coefficientOperator (c w))).comp221      (RegularCoefficientEnergy.leftRegular w))]222  rfl223224/-- Injective support reindexing keeps each matrix coefficient at its original word. -/225theorem matrixPolynomial_image_eq {H : Type*} [Group H] [DecidableEq H]226    (φ : H →* G) (hφ : Function.Injective φ) (S : Finset H) (c : H → Matrix ι ι ℂ) :227    RegularCoefficientEnergy.regularPolynomial (S.image φ) (Function.extend φ c 0) =228      coefficientPolynomial (fun w : S => φ w.val)229        (fun w => RegularCoefficientEnergy.coefficientOperator (c w.val)) := by230  simp only [RegularCoefficientEnergy.regularPolynomial, coefficientPolynomial]231  rw [Finset.sum_image hφ.injOn]232  simp only [hφ.extend_apply]233  rw [← Finset.sum_coe_sort S (fun w =>234    (RegularCoefficientEnergy.liftOperator (RegularCoefficientEnergy.coefficientOperator (c w))).comp235      (RegularCoefficientEnergy.leftRegular (φ w)))]236  rfl237238/-- Complete norm preservation for the concrete matrix coefficient regular polynomial.239There is no bound on the matrix dimension and no analytic comparison hypothesis. -/240theorem matrixPolynomial_injective_norm_eq {H : Type*} [Group H] [DecidableEq H]241    (φ : H →* G) (hφ : Function.Injective φ) (S : Finset H) (c : H → Matrix ι ι ℂ) :242    ‖RegularCoefficientEnergy.regularPolynomial (S.image φ) (Function.extend φ c 0)‖ =243      ‖RegularCoefficientEnergy.regularPolynomial S c‖ := by244  rw [matrixPolynomial_image_eq φ hφ S c, matrixPolynomial_eq S c]245  exact coefficientPolynomial_injective_norm_eq φ hφ _ _246247end Matrix248249end Nonadditivity.MatrixRegularRestriction