Exact Lean source
Nonadditivity.BlockBell
Download original .lean · View on GitHub · Jump to source
Catalog entries: Bell-output entropy bound
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
17 project constants, including generated, internal and private declarations.
17 declarations
Nonadditivity.BlockBell.blockBellStateNonadditivity.BlockBell.blockComplementaryNonadditivity.BlockBell.block_complementary_bell_entropy_leNonadditivity.BlockBell.pairedTensorChain_outputNonadditivity.BlockBell.pairedTensorChain_output_entropyNonadditivity.BlockBell.reindexKraus_outputNonadditivity.BlockBell.reindex_outputNonadditivity.BlockBell.tensorChain_conjugateNonadditivity.BlockBell.tensorChain_pair_reindexNonadditivity.BlockBell.tensorChain_paired_krausNonadditivity.BlockBell.tensor_conjugateNonadditivity.Channels.KrausChannel.tensorChain.eq_1internal/detail/privateNonadditivity.Channels.KrausChannel.tensorChain.eq_2internal/detail/privateNonadditivity.Channels.KrausChannel.tensorChain.eq_def_private.Nonadditivity.BlockBell.0.Nonadditivity.Entropy.TensorChainIndex.match_1.eq_1internal/detail/private_private.Nonadditivity.BlockBell.0.Nonadditivity.Entropy.TensorChainIndex.match_1.eq_2internal/detail/private_private.Nonadditivity.BlockBell.0.Nonadditivity.Entropy.TensorChainIndex.match_1.splitterinternal/detail/private
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 := by32apply KrausChannel.ext33funext k34ext i j35simp [KrausChannel.tensor, KrausChannel.conjugate, Matrix.kroneckerMap_apply,36Matrix.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 =43KrausChannel.tensorChain (fun j => (T j).conjugate) n := by44induction n with45| zero =>46apply KrausChannel.ext47funext k48ext i j49simp [KrausChannel.tensorChain, KrausChannel.emptyTensorChannel,50KrausChannel.conjugate, Matrix.map_apply]51| succ n ih =>52change ((KrausChannel.tensorChain T n).tensor (T n)).conjugate = _53rw [tensor_conjugate, ih]54rfl5556/-- 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 := by71induction n with72| zero =>73simp [KrausChannel.tensorChain, KrausChannel.emptyTensorChannel,74KrausChannel.tensor, Matrix.kroneckerMap_apply]75| succ n ih =>76rcases k with ⟨⟨k₀,k₁⟩, ⟨l₀,l₁⟩⟩77rcases a with ⟨⟨a₀,a₁⟩, ⟨c₀,c₁⟩⟩78rcases b with ⟨⟨b₀,b₁⟩, ⟨d₀,d₁⟩⟩79simp only [pairChainEquiv_succ_symm_apply, KrausChannel.tensorChain,80KrausChannel.tensor, Matrix.kroneckerMap_apply]81have hp := ih (k₀,l₀) (a₀,c₀) (b₀,d₀)82simp only [KrausChannel.tensor, Matrix.kroneckerMap_apply] at hp83rw [hp]84ring8586/-- 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) := by96apply KrausChannel.ext97funext k98ext a b99exact 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 := by106apply DensityMatrix.ext107exact 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 ρ := by113apply DensityMatrix.ext114exact 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) := by128rw [← tensorChain_pair_reindex T S n, reindexKraus_output, reindex_output,129KrausChannel.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 := by142rw [pairedTensorChain_output, DensityMatrix.reindex_entropy,143DensityMatrix.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 : ℕ) :149KrausChannel (TensorChainIndex ι n) (TensorChainIndex κ n) (TensorChainIndex ι n) :=150KrausChannel.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 : ℕ) :154DensityMatrix (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 κ) -167Real.log (Fintype.card κ) / (Fintype.card κ : ℝ)) := by168refine ⟨blockBellState n, ?_⟩169let T (j : ℕ) := (KrausChannel.uniformUnitary (U j)).complementary170have he := pairedTensorChain_output_entropy T (fun j => (T j).conjugate)171(fun _ => BellOutput.bellState (ι := ι)) n172rw [← tensorChain_conjugate T n] at he173change _ ≤ _174calc175_ = ∑ 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 κ : ℝ)) :=179Finset.sum_le_sum (fun j _ => BellOutput.complementary_bell_entropy_le (U j))180_ = _ := by simp; ring181182end Nonadditivity.BlockBell