Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.MatrixShortEmbedding

Download original .lean · View on GitHub · Jump to source

Direct imports

Imported by project modules

1 direct reverse imports

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

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

5 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.ShortEmbeddingNorm7import Nonadditivity.MatrixRegularRestriction89/-! # Logarithmic degree reduction at every matrix size1011These theorems combine the proved short free-group embedding with complete12operator norm preservation for actual vector-valued regular polynomials.13Coefficient transport is literal extension by zero to the embedded support.14-/1516noncomputable section1718namespace Nonadditivity.MatrixShortEmbedding1920open scoped BigOperators21open Nonadditivity.FreeModel Nonadditivity.ShortEmbeddingNorm2223variable {ι : Type*} [Fintype ι] [DecidableEq ι]2425/-- The logarithmic substitution preserves the genuine regular norm at every matrix size. -/26theorem logarithmicEmbedding_matrixPolynomial_norm_eq (K : ℕ) (hK : 2 ≤ K)27    (S : Finset (FreeGroup (Fin K))) (c : FreeGroup (Fin K) → Matrix ι ι ℂ) :28    ‖RegularCoefficientEnergy.regularPolynomial29      (S.image (FreeEmbedding.logarithmicEmbedding K hK))30      (Function.extend (FreeEmbedding.logarithmicEmbedding K hK) c 0)‖ =31      ‖RegularCoefficientEnergy.regularPolynomial S c‖ :=32  MatrixRegularRestriction.matrixPolynomial_injective_norm_eq _33    (FreeEmbedding.logarithmicEmbedding_injective K hK) S c3435/-- Exact matrix-level degree reduction: both support degree and norm are checked. -/36theorem matrix_logarithmic_substitution (K : ℕ) (hK : 2 ≤ K)37    (S : Finset (FreeGroup (Fin K))) (c : FreeGroup (Fin K) → Matrix ι ι ℂ)38    (d : ℕ) (hdegree : ∀ w ∈ S, FreeGroup.norm w ≤ d) :39    (∀ v ∈ S.image (FreeEmbedding.logarithmicEmbedding K hK),40      FreeGroup.norm v ≤ (2 * Nat.log 2 (K - 1) + 1) * d) ∧41    ‖RegularCoefficientEnergy.regularPolynomial42      (S.image (FreeEmbedding.logarithmicEmbedding K hK))43      (Function.extend (FreeEmbedding.logarithmicEmbedding K hK) c 0)‖ =44      ‖RegularCoefficientEnergy.regularPolynomial S c‖ := by45  constructor46  · intro v hv47    obtain ⟨w, hw, rfl⟩ := Finset.mem_image.mp hv48    exact (logarithmicEmbedding_norm_le K hK w).trans49      (Nat.mul_le_mul_left _ (hdegree w hw))50  · exact logarithmicEmbedding_matrixPolynomial_norm_eq K hK S c5152/-- Tensor-product free-group substitution preserves the matrix coefficient regular norm. -/53theorem productLogarithmicEmbedding_matrixPolynomial_norm_eq (K n : ℕ) (hK : 2 ≤ K)54    (S : Finset (ProductFreeGroup K n)) (c : ProductFreeGroup K n → Matrix ι ι ℂ) :55    ‖RegularCoefficientEnergy.regularPolynomial (S.image (productLogarithmicEmbedding K n hK))56      (Function.extend (productLogarithmicEmbedding K n hK) c 0)‖ =57      ‖RegularCoefficientEnergy.regularPolynomial S c‖ :=58  MatrixRegularRestriction.matrixPolynomial_injective_norm_eq _59    (productLogarithmicEmbedding_injective K n hK) S c6061/-- The full product-group matrix substitution with degree bounded in each factor. -/62theorem product_matrix_logarithmic_substitution (K n : ℕ) (hK : 2 ≤ K)63    (S : Finset (ProductFreeGroup K n)) (c : ProductFreeGroup K n → Matrix ι ι ℂ)64    (d : ℕ) (hdegree : ∀ w ∈ S, ∀ j, FreeGroup.norm (w j) ≤ d) :65    (∀ v ∈ S.image (productLogarithmicEmbedding K n hK), ∀ j,66      FreeGroup.norm (v j) ≤ (2 * Nat.log 2 (K - 1) + 1) * d) ∧67    ‖RegularCoefficientEnergy.regularPolynomial (S.image (productLogarithmicEmbedding K n hK))68      (Function.extend (productLogarithmicEmbedding K n hK) c 0)‖ =69      ‖RegularCoefficientEnergy.regularPolynomial S c‖ := by70  constructor71  · intro v hv j72    obtain ⟨w, hw, rfl⟩ := Finset.mem_image.mp hv73    exact (logarithmicEmbedding_norm_le K hK (w j)).trans74      (Nat.mul_le_mul_left _ (hdegree w hw j))75  · exact productLogarithmicEmbedding_matrixPolynomial_norm_eq K n hK S c7677/-- The same exact matrix norm theorem also respects total product-word degree. -/78theorem product_matrix_total_degree_substitution (K n : ℕ) (hK : 2 ≤ K)79    (S : Finset (ProductFreeGroup K n)) (c : ProductFreeGroup K n → Matrix ι ι ℂ)80    (d : ℕ) (hdegree : ∀ w ∈ S, (∑ j, FreeGroup.norm (w j)) ≤ d) :81    (∀ v ∈ S.image (productLogarithmicEmbedding K n hK),82      (∑ j, FreeGroup.norm (v j)) ≤ (2 * Nat.log 2 (K - 1) + 1) * d) ∧83    ‖RegularCoefficientEnergy.regularPolynomial (S.image (productLogarithmicEmbedding K n hK))84      (Function.extend (productLogarithmicEmbedding K n hK) c 0)‖ =85      ‖RegularCoefficientEnergy.regularPolynomial S c‖ := by86  constructor87  · intro v hv88    obtain ⟨w, hw, rfl⟩ := Finset.mem_image.mp hv89    exact (productLogarithmicEmbedding_total_norm_le K n hK w).trans90      (Nat.mul_le_mul_left _ (hdegree w hw))91  · exact productLogarithmicEmbedding_matrixPolynomial_norm_eq K n hK S c9293end Nonadditivity.MatrixShortEmbedding