Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.BlockBell

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

Catalog entries: Bell-output entropy bound

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

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

17 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.TensorPowers7import Nonadditivity.BellOutput8import Nonadditivity.ConjugateChannel910/-!11# Actual Bell witnesses for finite complementary-channel tensor blocks1213The tensor output factorization is proved by regrouping the actual Kraus14coordinates with a recursive basis equivalence. Thus the entangled block15witness and its entropy bound are derived from the local Bell estimate.16-/1718noncomputable section1920namespace Nonadditivity.BlockBell2122open Nonadditivity.Entropy Nonadditivity.Channels23open scoped BigOperators ComplexOrder ComplexConjugate Kronecker Matrix2425/-- Complex conjugation commutes with the concrete Kraus tensor product. -/26theorem tensor_conjugate {ι μ ο ν κ η : Type*}27    [Fintype ι] [DecidableEq ι] [Fintype μ] [DecidableEq μ]28    [Fintype ο] [DecidableEq ο] [Fintype ν] [DecidableEq ν]29    [Fintype κ] [Fintype η]30    (T : KrausChannel ι ο κ) (S : KrausChannel μ ν η) :31    (T.tensor S).conjugate = T.conjugate.tensor S.conjugate := by32  apply KrausChannel.ext33  funext k34  ext i j35  simp [KrausChannel.tensor, KrausChannel.conjugate, Matrix.kroneckerMap_apply,36    Matrix.map_apply]3738/-- Conjugating the full actual tensor block conjugates each local channel. -/39theorem tensorChain_conjugate {ι ο κ : Type*}40    [Fintype ι] [DecidableEq ι] [Fintype ο] [DecidableEq ο] [Fintype κ]41    (T : ℕ → KrausChannel ι ο κ) (n : ℕ) :42    (KrausChannel.tensorChain T n).conjugate =43      KrausChannel.tensorChain (fun j => (T j).conjugate) n := by44  induction n with45  | zero =>46    apply KrausChannel.ext47    funext k48    ext i j49    simp [KrausChannel.tensorChain, KrausChannel.emptyTensorChannel,50      KrausChannel.conjugate, Matrix.map_apply]51  | succ n ih =>52    change ((KrausChannel.tensorChain T n).tensor (T n)).conjugate = _53    rw [tensor_conjugate, ih]54    rfl5556/-- Regrouping all input, output and Kraus labels gives the exact block57Kraus coefficient; no output-factorization property is assumed. -/58lemma tensorChain_paired_kraus {ι μ ο ν κ η : Type*}59    [Fintype ι] [DecidableEq ι] [Fintype μ] [DecidableEq μ]60    [Fintype ο] [DecidableEq ο] [Fintype ν] [DecidableEq ν]61    [Fintype κ] [Fintype η]62    (T : ℕ → KrausChannel ι ο κ) (S : ℕ → KrausChannel μ ν η) (n : ℕ)63    (k : TensorChainIndex κ n × TensorChainIndex η n)64    (a : TensorChainIndex ο n × TensorChainIndex ν n)65    (b : TensorChainIndex ι n × TensorChainIndex μ n) :66    (KrausChannel.tensorChain (fun j => (T j).tensor (S j)) n).kraus67      ((pairChainEquiv κ η n).symm k)68      ((pairChainEquiv ο ν n).symm a)69      ((pairChainEquiv ι μ n).symm b) =70    ((KrausChannel.tensorChain T n).tensor (KrausChannel.tensorChain S n)).kraus k a b := by71  induction n with72  | zero =>73    simp [KrausChannel.tensorChain, KrausChannel.emptyTensorChannel,74      KrausChannel.tensor, Matrix.kroneckerMap_apply]75  | succ n ih =>76    rcases k with ⟨⟨k₀,k₁⟩, ⟨l₀,l₁⟩⟩77    rcases a with ⟨⟨a₀,a₁⟩, ⟨c₀,c₁⟩⟩78    rcases b with ⟨⟨b₀,b₁⟩, ⟨d₀,d₁⟩⟩79    simp only [pairChainEquiv_succ_symm_apply, KrausChannel.tensorChain,80      KrausChannel.tensor, Matrix.kroneckerMap_apply]81    have hp := ih (k₀,l₀) (a₀,c₀) (b₀,d₀)82    simp only [KrausChannel.tensor, Matrix.kroneckerMap_apply] at hp83    rw [hp]84    ring8586/-- The exact equality of the interleaved and paired channel blocks after87reindexing their three finite coordinate systems. -/88theorem tensorChain_pair_reindex {ι μ ο ν κ η : Type*}89    [Fintype ι] [DecidableEq ι] [Fintype μ] [DecidableEq μ]90    [Fintype ο] [DecidableEq ο] [Fintype ν] [DecidableEq ν]91    [Fintype κ] [Fintype η]92    (T : ℕ → KrausChannel ι ο κ) (S : ℕ → KrausChannel μ ν η) (n : ℕ) :93    (((KrausChannel.tensorChain (fun j => (T j).tensor (S j)) n).reindex94      (pairChainEquiv ι μ n) (pairChainEquiv ο ν n)).reindexKraus (pairChainEquiv κ η n)) =95      (KrausChannel.tensorChain T n).tensor (KrausChannel.tensorChain S n) := by96  apply KrausChannel.ext97  funext k98  ext a b99  exact tensorChain_paired_kraus T S n k a b100101lemma reindex_output {ι μ ο ν κ : Type*}102    [Fintype ι] [DecidableEq ι] [Fintype μ] [DecidableEq μ]103    [Fintype ο] [DecidableEq ο] [Fintype ν] [DecidableEq ν] [Fintype κ]104    (T : KrausChannel ι ο κ) (ei : ι ≃ μ) (eo : ο ≃ ν) (ρ : DensityMatrix ι) :105    (T.reindex ei eo).output (ρ.reindex ei) = (T.output ρ).reindex eo := by106  apply DensityMatrix.ext107  exact T.reindex_map ei eo ρ.matrix108109lemma reindexKraus_output {ι ο κ η : Type*}110    [Fintype ι] [DecidableEq ι] [Fintype ο] [DecidableEq ο]111    [Fintype κ] [Fintype η] (T : KrausChannel ι ο κ) (e : κ ≃ η)112    (ρ : DensityMatrix ι) : (T.reindexKraus e).output ρ = T.output ρ := by113  apply DensityMatrix.ext114  exact T.reindexKraus_map e ρ.matrix115116/-- A tensor of local paired inputs, regrouped into the two input blocks,117produces precisely the regrouped tensor of the local paired outputs. -/118theorem pairedTensorChain_output {ι μ ο ν κ η : Type*}119    [Fintype ι] [DecidableEq ι] [Fintype μ] [DecidableEq μ]120    [Fintype ο] [DecidableEq ο] [Fintype ν] [DecidableEq ν]121    [Fintype κ] [Fintype η]122    (T : ℕ → KrausChannel ι ο κ) (S : ℕ → KrausChannel μ ν η)123    (ρ : ℕ → DensityMatrix (ι × μ)) (n : ℕ) :124    ((KrausChannel.tensorChain T n).tensor (KrausChannel.tensorChain S n)).output125        ((DensityMatrix.tensorChain ρ n).reindex (pairChainEquiv ι μ n)) =126      (DensityMatrix.tensorChain (fun j => ((T j).tensor (S j)).output (ρ j)) n).reindex127        (pairChainEquiv ο ν n) := by128  rw [← tensorChain_pair_reindex T S n, reindexKraus_output, reindex_output,129    KrausChannel.tensorChain_output]130131/-- The genuine entangled paired-block output has the sum of its local132paired-output entropies, as a consequence of the proved matrix identity. -/133theorem pairedTensorChain_output_entropy {ι μ ο ν κ η : Type*}134    [Fintype ι] [DecidableEq ι] [Fintype μ] [DecidableEq μ]135    [Fintype ο] [DecidableEq ο] [Fintype ν] [DecidableEq ν]136    [Fintype κ] [Fintype η]137    (T : ℕ → KrausChannel ι ο κ) (S : ℕ → KrausChannel μ ν η)138    (ρ : ℕ → DensityMatrix (ι × μ)) (n : ℕ) :139    (((KrausChannel.tensorChain T n).tensor (KrausChannel.tensorChain S n)).output140        ((DensityMatrix.tensorChain ρ n).reindex (pairChainEquiv ι μ n))).vonNeumann =141      ∑ j ∈ Finset.range n, (((T j).tensor (S j)).output (ρ j)).vonNeumann := by142  rw [pairedTensorChain_output, DensityMatrix.reindex_entropy,143    DensityMatrix.tensorChain_entropy]144145/-- The actual tensor block of the local random-unitary complementary channels. -/146def blockComplementary {ι κ : Type*} [Fintype ι] [DecidableEq ι]147    [Fintype κ] [DecidableEq κ] [Nonempty κ]148    (U : ℕ → κ → unitary (Matrix ι ι ℂ)) (n : ℕ) :149    KrausChannel (TensorChainIndex ι n) (TensorChainIndex κ n) (TensorChainIndex ι n) :=150  KrausChannel.tensorChain (fun j => (KrausChannel.uniformUnitary (U j)).complementary) n151152/-- The actual Bell tensor input witness, in the paired block coordinates. -/153def blockBellState {ι : Type*} [Fintype ι] [DecidableEq ι] [Nonempty ι] (n : ℕ) :154    DensityMatrix (TensorChainIndex ι n × TensorChainIndex ι n) :=155  (DensityMatrix.tensorChain (fun _ => BellOutput.bellState (ι := ι)) n).reindex156    (pairChainEquiv ι ι n)157158/-- The block Bell entropy bound for arbitrary local unitary families. The159witness is explicit and no block entropy or factorization estimate is assumed. -/160theorem block_complementary_bell_entropy_le {ι κ : Type*}161    [Fintype ι] [DecidableEq ι] [Nonempty ι]162    [Fintype κ] [DecidableEq κ] [Nonempty κ]163    (U : ℕ → κ → unitary (Matrix ι ι ℂ)) (n : ℕ) :164    ∃ ρ : DensityMatrix (TensorChainIndex ι n × TensorChainIndex ι n),165      (((blockComplementary U n).tensor (blockComplementary U n).conjugate).output ρ).vonNeumann ≤166        (n : ℝ) * (2 * Real.log (Fintype.card κ) -167          Real.log (Fintype.card κ) / (Fintype.card κ : ℝ)) := by168  refine ⟨blockBellState n, ?_⟩169  let T (j : ℕ) := (KrausChannel.uniformUnitary (U j)).complementary170  have he := pairedTensorChain_output_entropy T (fun j => (T j).conjugate)171    (fun _ => BellOutput.bellState (ι := ι)) n172  rw [← tensorChain_conjugate T n] at he173  change _ ≤ _174  calc175    _ = ∑ j ∈ Finset.range n,176        (((T j).tensor (T j).conjugate).output (BellOutput.bellState (ι := ι))).vonNeumann := he177    _ ≤ ∑ j ∈ Finset.range n,178        (2 * Real.log (Fintype.card κ) - Real.log (Fintype.card κ) / (Fintype.card κ : ℝ)) :=179      Finset.sum_le_sum (fun j _ => BellOutput.complementary_bell_entropy_le (U j))180    _ = _ := by simp; ring181182end Nonadditivity.BlockBell