Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.HaarNonbacktracking

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

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

46 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.HaarCoefficientRows7import Nonadditivity.CollinsYounTensor89/-! # Killed-return operators and the first-return decomposition1011The non-returning operators are defined by removing the vacuum coefficient at12each step. Their vacuum columns are literal powers of a killed operator, and13both the sharp column-energy estimate and the linear-in-length full operator14norm estimate follow. Everything is valid for arbitrary Hilbert coefficients.15-/1617noncomputable section18set_option backward.isDefEq.respectTransparency false1920namespace Nonadditivity.HaarNonbacktracking2122open scoped BigOperators ENNReal InnerProduct23open RegularCoefficientEnergy (VectorHilbert liftOperator)2425variable {E G : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]26variable [Group G] [DecidableEq G]2728abbrev H (G E : Type*) [NormedAddCommGroup E] := VectorHilbert G E2930def vacuum : E →L[ℂ] H G E :=31  LinearMap.mkContinuous32    { toFun := fun x : E => (lp.single 2 (1 : G) x : H G E)33      map_add' := by intros; ext g; simp [lp.single_apply, Pi.single_apply]34      map_smul' := by intros; ext g; simp [lp.single_apply, Pi.single_apply] }35    1 (fun x => by simp [lp.norm_single (by norm_num : (0 : ℝ≥0∞) < 2)])3637omit [CompleteSpace E] in38@[simp] theorem vacuum_apply (x : E) : vacuum (G := G) x = lp.single 2 (1 : G) x := rfl3940def atVacuum : H G E →L[ℂ] E :=41  LinearMap.mkContinuous42    { toFun := fun x => x 143      map_add' := by intros; rfl44      map_smul' := by intros; rfl }45    1 (fun x => by simpa using lp.norm_apply_le_norm (by norm_num : (2 : ℝ≥0∞) ≠ 0) x 1)4647omit [CompleteSpace E] [DecidableEq G] in48@[simp] theorem atVacuum_apply (x : H G E) : atVacuum x = x (1 : G) := rfl4950/-- The actual matrix coefficient of an operator at the vacuum. -/51def coefficient (T : H G E →L[ℂ] H G E) : E →L[ℂ] E := atVacuum ∘L T ∘L vacuum5253omit [CompleteSpace E] in54@[simp] theorem coefficient_apply (T : H G E →L[ℂ] H G E) (x : E) :55    coefficient T x = T (lp.single 2 (1 : G) x) 1 := rfl5657def kill (T : H G E →L[ℂ] H G E) : H G E →L[ℂ] H G E :=58  T - liftOperator (coefficient T)5960/-- Removing the vacuum coefficient is exactly coordinate killing on each61vacuum column, even though it remains a translation-invariant correction. -/62theorem kill_vacuum (T : H G E →L[ℂ] H G E) (x : E) :63    kill T (vacuum (G := G) x) =64      CollinsYounTensor.mask (fun g : G => g ≠ 1) (T (vacuum x)) := by65  ext g66  simp only [kill, ContinuousLinearMap.sub_apply, lp.coeFn_sub, Pi.sub_apply,67    vacuum_apply, RegularCoefficientEnergy.liftOperator_single, coefficient_apply,68    CollinsYounTensor.mask_apply, lp.single_apply, Pi.single_apply]69  by_cases h : g = 1 <;> simp [h]7071def killed (A T : H G E →L[ℂ] H G E) : ℕ → H G E →L[ℂ] H G E72  | 0 => T73  | n + 1 => kill (A * killed A T n)7475/-- The finite first-return coefficient at each time. -/76def returnCoefficient (A T : H G E →L[ℂ] H G E) (n : ℕ) : E →L[ℂ] E :=77  coefficient (A * killed A T n)7879theorem killed_vacuum_norm_le (A T : H G E →L[ℂ] H G E) (n : ℕ) (x : E) :80    ‖killed A T n (vacuum x)‖ ≤ ‖A‖ ^ n * ‖T‖ * ‖x‖ := by81  induction n with82  | zero => simpa [killed, lp.norm_single (by norm_num : (0 : ℝ≥0∞) < 2)] using T.le_opNorm (vacuum x)83  | succ n ih =>84      rw [killed, kill_vacuum]85      calc86        _ ≤ ‖(A * killed A T n) (vacuum x)‖ := CollinsYounTensor.mask_norm_le _ _87        _ ≤ ‖A‖ * ‖killed A T n (vacuum x)‖ := A.le_opNorm _88        _ ≤ ‖A‖ * (‖A‖ ^ n * ‖T‖ * ‖x‖) := mul_le_mul_of_nonneg_left ih (norm_nonneg A)89        _ = _ := by rw [pow_succ]; ring9091/-- The return correction has the sharp energy norm, without the linear factor92that occurs in the full non-returning operator norm. -/93theorem returnCoefficient_norm_le (A T : H G E →L[ℂ] H G E) (n : ℕ) :94    ‖returnCoefficient A T n‖ ≤ ‖A‖ ^ (n + 1) * ‖T‖ := by95  apply ContinuousLinearMap.opNorm_le_bound _ (by positivity)96  intro x97  calc98    _ ≤ ‖(A * killed A T n) (vacuum x)‖ :=99      lp.norm_apply_le_norm (by norm_num : (2 : ℝ≥0∞) ≠ 0) _ _100    _ ≤ ‖A‖ * ‖killed A T n (vacuum x)‖ := A.le_opNorm _101    _ ≤ ‖A‖ * (‖A‖ ^ n * ‖T‖ * ‖x‖) :=102      mul_le_mul_of_nonneg_left (killed_vacuum_norm_le A T n x) (norm_nonneg A)103    _ = _ := by rw [pow_succ]; ring104105omit [CompleteSpace E] [Group G] [DecidableEq G] in106theorem lift_norm_le (B : E →L[ℂ] E) : ‖liftOperator (G := G) B‖ ≤ ‖B‖ :=107  ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _) (RegularCoefficientEnergy.liftFunction_norm_le B)108109/-- The Bordenave--Collins linear loss for non-returning pieces follows from110the actual killed-return recurrence. -/111theorem killed_norm_le (A T : H G E →L[ℂ] H G E) (n : ℕ) :112    ‖killed A T n‖ ≤ (n + 1 : ℕ) * ‖A‖ ^ n * ‖T‖ := by113  induction n with114  | zero => simp [killed]115  | succ n ih =>116      calc117        _ ≤ ‖A * killed A T n‖ + ‖liftOperator (returnCoefficient A T n)‖ := by118          change ‖A * killed A T n - liftOperator (returnCoefficient A T n)‖ ≤ _119          exact norm_sub_le (A * killed A T n) (liftOperator (returnCoefficient A T n))120        _ ≤ ‖A‖ * ‖killed A T n‖ + ‖returnCoefficient A T n‖ :=121          add_le_add (ContinuousLinearMap.opNorm_comp_le A (killed A T n)) (lift_norm_le _)122        _ ≤ ‖A‖ * ((n + 1 : ℕ) * ‖A‖ ^ n * ‖T‖) + ‖A‖ ^ (n + 1) * ‖T‖ :=123          add_le_add (mul_le_mul_of_nonneg_left ih (norm_nonneg A)) (returnCoefficient_norm_le A T n)124        _ = _ := by push_cast; rw [pow_succ]; ring125126/-- The first-return remainder is a literal sum of propagated return coefficients. -/127def firstReturnSum (A T : H G E →L[ℂ] H G E) : ℕ → H G E →L[ℂ] H G E128  | 0 => 0129  | n + 1 => A * firstReturnSum A T n + liftOperator (returnCoefficient A T n)130131omit [CompleteSpace E] in132/-- Every ordinary walk is either non-returning or has a first return.133This algebraic identity is proved for the actual operators. -/134theorem first_return_decomposition (A T : H G E →L[ℂ] H G E) (n : ℕ) :135    A ^ n * T = killed A T n + firstReturnSum A T n := by136  induction n with137  | zero => simp [killed, firstReturnSum]138  | succ n ih =>139      rw [pow_succ', mul_assoc, ih, mul_add, killed, firstReturnSum, kill, returnCoefficient]140      abel141142end Nonadditivity.HaarNonbacktracking