Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.FreeModel

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

Direct imports

Imported by project modules

6 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

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

36 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.AdjointPurity7import Mathlib.Analysis.InnerProductSpace.l2Space8import Mathlib.GroupTheory.FreeGroup.Basic910/-!11# The concrete product-free-group reference model1213The left regular representation is constructed as actual bounded operators14on the square-summable complex functions on the group. The Collins--Youn15statement below is a precise hypothesis predicate about those operators;16it is not asserted as an axiom or a proved imported theorem.17-/1819noncomputable section2021namespace Nonadditivity.FreeModel2223open scoped BigOperators ENNReal2425abbrev Hilbert (G : Type*) := lp (fun _ : G => ℂ) 22627section Reindex2829variable {G : Type*}3031/-- Reindexing by a genuine bijection preserves square summability. -/32def reindexFunction (e : G ≃ G) (f : Hilbert G) : Hilbert G :=33  ⟨fun g => f (e g), by34    apply memℓp_gen35    exact e.summable_iff.mpr (f.property.summable (by norm_num))⟩3637@[simp] theorem reindexFunction_apply (e : G ≃ G) (f : Hilbert G) (g : G) :38    reindexFunction e f g = f (e g) := rfl3940theorem reindexFunction_norm (e : G ≃ G) (f : Hilbert G) :41    ‖reindexFunction e f‖ = ‖f‖ := by42  rw [lp.norm_eq_tsum_rpow (by norm_num), lp.norm_eq_tsum_rpow (by norm_num)]43  simp only [reindexFunction_apply]44  rw [e.tsum_eq (fun i : G => ‖f i‖ ^ (2 : ℝ≥0∞).toReal)]4546/-- The actual Hilbert-space isometry associated with an index permutation. -/47def reindexIsometry (e : G ≃ G) : Hilbert G ≃ₗᵢ[ℂ] Hilbert G where48  toFun := reindexFunction e49  invFun := reindexFunction e.symm50  left_inv := by intro f; ext g; simp51  right_inv := by intro f; ext g; simp52  map_add' := by intro f h; ext g; rfl53  map_smul' := by intro c f; ext g; rfl54  norm_map' := reindexFunction_norm e5556end Reindex5758section Regular5960variable {G : Type*} [Group G]6162/-- The left regular representation, as an actual bounded complex-linear map. -/63def leftRegular (g : G) : Hilbert G →L[ℂ] Hilbert G :=64  (reindexIsometry (Equiv.mulLeft g⁻¹)).toLinearIsometry.toContinuousLinearMap6566@[simp] theorem leftRegular_apply (g : G) (f : Hilbert G) (h : G) :67    leftRegular g f h = f (g⁻¹ * h) := rfl6869theorem leftRegular_preserves_norm (g : G) (f : Hilbert G) :70    ‖leftRegular g f‖ = ‖f‖ := (reindexIsometry (Equiv.mulLeft g⁻¹)).norm_map f7172@[simp] theorem leftRegular_one :73    leftRegular (1 : G) = ContinuousLinearMap.id ℂ (Hilbert G) := by74  ext f h75  simp7677/-- These bounded shifts form the regular representation of the group. -/78theorem leftRegular_mul (g h : G) :79    leftRegular (g * h) = (leftRegular g).comp (leftRegular h) := by80  ext f x81  simp [mul_assoc]8283/-- The left regular shifts act on the actual coordinate basis by group multiplication. -/84theorem leftRegular_single [DecidableEq G] (g h : G) :85    leftRegular g (lp.single 2 h (1 : ℂ)) = lp.single 2 (g * h) (1 : ℂ) := by86  classical87  ext x88  simp only [leftRegular_apply, lp.single_apply, Pi.single_apply]89  have heq : g⁻¹ * x = h ↔ x = g * h := by90    constructor91    · intro hh92      have hm := congrArg (fun z => g * z) hh93      simpa [mul_assoc] using hm94    · intro hh95      rw [hh]96      simp97  simp only [heq]9899end Regular100101abbrev ProductFreeGroup (K n : ℕ) := Fin n → FreeGroup (Fin K)102abbrev Branch (K n : ℕ) := Fin n → Fin K103104/-- A branch word contains one canonical generator in each free-group factor. -/105def branchWord {K n : ℕ} (a : Branch K n) : ProductFreeGroup K n :=106  fun j => FreeGroup.of (a j)107108/-- The normalized free-group polynomial in the manuscript's adjoint map. -/109def gamma {K n : ℕ} (A : Matrix (Branch K n) (Branch K n) ℂ) :110    Hilbert (ProductFreeGroup K n) →L[ℂ] Hilbert (ProductFreeGroup K n) :=111  (1 / ((K : ℂ) ^ n)) •112    ∑ a : Branch K n, ∑ b : Branch K n,113      A a b • leftRegular ((branchWord a)⁻¹ * branchWord b)114115/-- The comparison norm is the operator norm of an actual regular-representation polynomial. -/116def freeNorm {K n : ℕ} (A : Matrix (Branch K n) (Branch K n) ℂ) : ℝ := ‖gamma A‖117118theorem freeNorm_nonneg {K n : ℕ} (A : Matrix (Branch K n) (Branch K n) ℂ) :119    0 ≤ freeNorm A := norm_nonneg _120121/-- The exact normalized Collins--Youn constant. -/122def c (K n : ℕ) : ℝ := Real.sqrt (((1 + 9 / (K : ℝ)) ^ n - 1) / (K : ℝ) ^ n)123124theorem c_pos {K n : ℕ} (hK : 2 ≤ K) (hn : 1 ≤ n) : 0 < c K n := by125  have hKpos : (0 : ℝ) < K := by exact_mod_cast (by omega : 0 < K)126  have hbase : (1 : ℝ) < 1 + 9 / (K : ℝ) := by127    have h9 : 0 < 9 / (K : ℝ) := by positivity128    linarith129  have hp := one_lt_pow₀ hbase (by omega : n ≠ 0)130  exact Real.sqrt_pos.mpr (div_pos (sub_pos.mpr hp) (pow_pos hKpos n))131132theorem c_sq {K n : ℕ} (hK : 2 ≤ K) (hn : 1 ≤ n) :133    c K n ^ 2 = ((1 + 9 / (K : ℝ)) ^ n - 1) / (K : ℝ) ^ n :=134  Real.sq_sqrt ((Real.sqrt_pos.mp (c_pos hK hn)).le)135136/-- An explicit external analytic hypothesis about the concrete regular model.137No channel or Holevo conclusion is present in this predicate. -/138def CollinsYounBound (K n : ℕ) : Prop :=139  ∀ A : Matrix (Branch K n) (Branch K n) ℂ, A.trace = 0 →140    freeNorm A ≤ c K n * Nonadditivity.AdjointPurity.hsLength A141142theorem freeNorm_le_of_collinsYoun {K n : ℕ} (hCY : CollinsYounBound K n)143    (A : Matrix (Branch K n) (Branch K n) ℂ) (htrace : A.trace = 0)144    (hunit : Nonadditivity.AdjointPurity.hsLength A = 1) :145    freeNorm A ≤ c K n := by146  simpa [hunit] using hCY A htrace147148end Nonadditivity.FreeModel