Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.ShiftNorm

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

Direct imports

Imported by project modules

2 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

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

9 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.FreeModel7import Mathlib.Tactic.LinearCombination8import Mathlib.Tactic.Module910noncomputable section1112namespace Nonadditivity.ShiftNorm1314open FreeModel15open scoped BigOperators ENNReal1617variable {G : Type*} [Group G] [DecidableEq G]1819omit [DecidableEq G] in20theorem leftRegular_norm_le (g : G) : ‖leftRegular g‖ ≤ 1 := by21  apply ContinuousLinearMap.opNorm_le_bound _ (by norm_num)22  intro f23  simp [leftRegular_preserves_norm]2425def orbitSegment (g : G) (m : ℕ) : Hilbert G :=26  ∑ k ∈ Finset.range m, lp.single 2 (g ^ k) (1 : ℂ)2728theorem orbitSegment_norm_sq (g : G) (hg : Function.Injective (fun k : ℕ => g ^ k))29    (m : ℕ) : ‖orbitSegment g m‖ ^ 2 = m := by30  classical31  have hs : orbitSegment g m =32      ∑ x ∈ (Finset.range m).image (fun k => g ^ k), lp.single 2 x (1 : ℂ) := by33    rw [Finset.sum_image]34    · rfl35    · exact fun _ _ _ _ h => hg h36  rw [hs]37  have h := lp.norm_sum_single (p := (2 : ℝ≥0∞)) (by norm_num)38    (fun _ : G => (1 : ℂ)) ((Finset.range m).image (fun k => g ^ k))39  simpa [Finset.card_image_of_injective _ hg] using h4041theorem orbitSegment_shift_sub (g : G) (m : ℕ) :42    leftRegular g (orbitSegment g m) - orbitSegment g m =43      lp.single 2 (g ^ m) (1 : ℂ) - lp.single 2 1 (1 : ℂ) := by44  classical45  induction m with46  | zero => simp [orbitSegment]47  | succ m ih =>48      simp only [orbitSegment, Finset.sum_range_succ] at ih ⊢49      rw [map_add, leftRegular_single]50      rw [pow_succ']51      linear_combination (norm := module) ih5253theorem orbitSegment_shift_error (g : G) (m : ℕ) :54    ‖leftRegular g (orbitSegment g m) - orbitSegment g m‖ ≤ 2 := by55  rw [orbitSegment_shift_sub]56  have h := norm_sub_le (lp.single 2 (g ^ m) (1 : ℂ) : Hilbert G) (lp.single 2 (1 : G) (1 : ℂ))57  norm_num at h58  exact h5960theorem orbitSegment_symmetric_error (g : G) (m : ℕ) :61    ‖(leftRegular g + leftRegular g⁻¹) (orbitSegment g m) -62      (2 : ℂ) • orbitSegment g m‖ ≤ 4 := by63  let v := orbitSegment g m64  have heq : (leftRegular g + leftRegular g⁻¹) v - (2 : ℂ) • v =65      (leftRegular g v - v) - leftRegular g⁻¹ (leftRegular g v - v) := by66    rw [map_sub]67    have hcancel : leftRegular g⁻¹ (leftRegular g v) = v := by68      rw [← ContinuousLinearMap.comp_apply, ← leftRegular_mul]69      simp70    rw [hcancel, ContinuousLinearMap.add_apply]71    module72  rw [heq]73  calc74    _ ≤ ‖leftRegular g v - v‖ + ‖leftRegular g⁻¹ (leftRegular g v - v)‖ :=75      norm_sub_le _ _76    _ = 2 * ‖leftRegular g v - v‖ := by rw [leftRegular_preserves_norm]; ring77    _ ≤ 4 := by linarith [orbitSegment_shift_error g m]7879/-- A bilateral shift and its inverse have sum norm exactly two. The lower80bound uses genuine finitely supported vectors on a growing cyclic orbit. -/81theorem norm_shift_add_inverse (g : G)82    (hg : Function.Injective (fun k : ℕ => g ^ k)) :83    ‖leftRegular g + leftRegular g⁻¹‖ = 2 := by84  apply le_antisymm85  · calc86      _ ≤ ‖leftRegular g‖ + ‖leftRegular g⁻¹‖ := norm_add_le _ _87      _ ≤ 2 := by linarith [leftRegular_norm_le g, leftRegular_norm_le g⁻¹]88  · by_contra h89    have hpos : 0 < 2 - ‖leftRegular g + leftRegular g⁻¹‖ := by linarith90    obtain ⟨m, hm⟩ := exists_nat_gt ((4 / (2 - ‖leftRegular g + leftRegular g⁻¹‖)) ^ 2)91    let v := orbitSegment g m92    have hv : ‖v‖ ^ 2 = m := orbitSegment_norm_sq g hg m93    have he : ‖(leftRegular g + leftRegular g⁻¹) v - (2 : ℂ) • v‖ ≤ 4 :=94      orbitSegment_symmetric_error g m95    have hb : 2 * ‖v‖ ≤ ‖leftRegular g + leftRegular g⁻¹‖ * ‖v‖ + 4 := by96      have ht := norm_sub_le ((leftRegular g + leftRegular g⁻¹) v)97        ((leftRegular g + leftRegular g⁻¹) v - (2 : ℂ) • v)98      simp only [sub_sub_cancel, norm_smul, Complex.norm_ofNat] at ht99      linarith [(leftRegular g + leftRegular g⁻¹).le_opNorm v]100    have hnv : ‖v‖ ≤ 4 / (2 - ‖leftRegular g + leftRegular g⁻¹‖) := by101      apply (le_div_iff₀ hpos).mpr102      nlinarith103    have hs := pow_le_pow_left₀ (norm_nonneg v) hnv 2104    linarith105106end Nonadditivity.ShiftNorm