Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.ProductHaagerupWords

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

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

45 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.ProductHaagerupCreation7import Mathlib.Data.Fintype.Vector89/-! # The finite cancellation decomposition for every reduced word -/10noncomputable section11set_option maxHeartbeats 80000012set_option backward.isDefEq.respectTransparency false1314namespace Nonadditivity.ProductHaagerupWords15open scoped BigOperators InnerProductSpace16open FreeCreation (Letter flip letter)17open RegularCoefficientEnergy (VectorHilbert liftOperator)18open CollinsYounTensor ProductHaagerupCreation1920variable {α E : Type*} [DecidableEq α]21  [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]2223/-- The all-annihilation part of a word, in multiplication order. -/24def annihilateWord : List (Letter α) → WordHilbert α E →L[ℂ] WordHilbert α E25  | [] => ContinuousLinearMap.id ℂ _26  | s :: w => (creation (flip s)).adjoint.comp (annihilateWord w)2728@[simp] theorem annihilateWord_nil : annihilateWord (E := E) ([] : List (Letter α)) =29    ContinuousLinearMap.id ℂ _ := rfl30@[simp] theorem annihilateWord_cons (s : Letter α) (w : List (Letter α)) :31    annihilateWord (E := E) (s :: w) = (creation (flip s)).adjoint.comp (annihilateWord w) := rfl3233/-- Annihilation is the Hilbert adjoint of inverse-word creation. -/34theorem annihilateWord_eq_adjoint (w : List (Letter α)) :35    annihilateWord (E := E) w = (createWord (FreeGroup.invRev w)).adjoint := by36  induction w with37  | nil => simp38  | cons s w ih =>39    rw [annihilateWord_cons, FreeGroup.invRev_cons, createWord_append,40      ContinuousLinearMap.adjoint_comp, ← ih]41    congr 14243/-- Sector `k` creates the first `k` letters and annihilates the rest. -/44def sector : List (Letter α) → ℕ → WordHilbert α E →L[ℂ] WordHilbert α E45  | w, 0 => annihilateWord w46  | [], _ + 1 => 047  | s :: w, k + 1 => (creation s).comp (sector w k)4849@[simp] theorem sector_zero (w : List (Letter α)) :50    sector (E := E) w 0 = annihilateWord w := by cases w <;> rfl51@[simp] theorem sector_nil_succ (k : ℕ) :52    sector (E := E) ([] : List (Letter α)) (k+1) = 0 := rfl53@[simp] theorem sector_cons_succ (s : Letter α) (w : List (Letter α)) (k : ℕ) :54    sector (E := E) (s :: w) (k+1) = (creation s).comp (sector w k) := rfl5556/-- Every sector is the concrete creation/annihilation factorization at its split. -/57theorem sector_eq_take_drop (w : List (Letter α)) (k : ℕ) (hk : k ≤ w.length) :58    sector (E := E) w k = (createWord (w.take k)).comp (annihilateWord (w.drop k)) := by59  induction k generalizing w with60  | zero => simp61  | succ k ih =>62    cases w with63    | nil => simp at hk64    | cons s w =>65      simp only [List.length_cons, Nat.add_le_add_iff_right] at hk66      simp [ih w hk, ContinuousLinearMap.comp_assoc]6768omit [DecidableEq α] in69private theorem reduced_boundary {s t : Letter α} {w : List (Letter α)}70    (h : FreeGroup.IsReduced (s :: t :: w)) : flip s ≠ t := by71  have hh := (FreeGroup.isReduced_cons_cons.mp h).172  intro ht73  subst t74  have hb := hh (by rfl)75  rcases s with ⟨a,b⟩76  cases b <;> simp [FreeCreation.flip] at hb7778/-- A reduced word of length `l` has exactly `l+1` cancellation sectors.79This is an identity of actual bounded operators, proved from the regular shifts. -/80theorem regular_word_decomposition (w : List (Letter α)) (hw : FreeGroup.IsReduced w) :81    leftRegular (E := E) (FreeGroup.mk w) =82      ∑ k ∈ Finset.range (w.length+1), sector w k := by83  induction w with84  | nil =>85    ext f x86    simp [sector, annihilateWord, ← FreeGroup.one_eq_mk]87  | cons s w ih =>88    have ht : FreeGroup.IsReduced w := by89      cases w with90      | nil => simp91      | cons t w => exact (FreeGroup.isReduced_cons_cons.mp hw).292    have hg : FreeGroup.mk (s :: w) = letter s * FreeGroup.mk w := by93      rw [← List.singleton_append, ← FreeGroup.mul_mk]94      congr 195      rcases s with ⟨a,b⟩96      cases b <;> rfl97    rw [hg, leftRegular_mul, leftRegular_letter_decomposition, ih ht,98      ContinuousLinearMap.add_comp]99    have hz : (creation (E := E) (flip s)).adjoint.comp100        (∑ k ∈ Finset.range (w.length+1), sector w k) =101        annihilateWord (s :: w) := by102      rw [Finset.sum_range_succ', ContinuousLinearMap.comp_add, sector_zero]103      have hzero : (creation (E := E) (flip s)).adjoint.comp104          (∑ k ∈ Finset.range w.length, sector w (k+1)) = 0 := by105        rw [ContinuousLinearMap.comp_finset_sum]106        apply Finset.sum_eq_zero107        intro k hk108        cases w with109        | nil => simp at hk110        | cons t w =>111          rw [sector_cons_succ, ← ContinuousLinearMap.comp_assoc,112            creation_adjoint_comp_zero (reduced_boundary hw), ContinuousLinearMap.zero_comp]113      rw [hzero, zero_add]114      rfl115    rw [hz]116    simp only [List.length_cons]117    conv_rhs => rw [Finset.sum_range_succ']118    simp only [sector_cons_succ, sector_zero, ← ContinuousLinearMap.comp_finset_sum]119120end Nonadditivity.ProductHaagerupWords