Exact Lean source
Nonadditivity.CanonicalBlockBell
Download original .lean · View on GitHub · Jump to source
Direct imports
Imported by project modules
3 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
13 project constants, including generated, internal and private declarations.
13 declarations
Nonadditivity.BellOutput.bellState.eq_1internal/detail/privateNonadditivity.BlockBell.blockBellState.eq_1internal/detail/privateNonadditivity.CanonicalBlockBell.bellState_entryNonadditivity.CanonicalBlockBell.blockBellState_eq_canonicalNonadditivity.CanonicalBlockBell.block_channel_canonical_entropy_leNonadditivity.CanonicalBlockBell.block_complementary_canonical_entropy_leNonadditivity.Entropy.DensityMatrix.reindex.eq_1internal/detail/privateNonadditivity.Entropy.DensityMatrix.tensorChain.eq_1internal/detail/privateNonadditivity.Entropy.DensityMatrix.tensorChain.eq_2internal/detail/privateNonadditivity.Entropy.DensityMatrix.tensorChain.eq_def_private.Nonadditivity.CanonicalBlockBell.0.Nonadditivity.Entropy.TensorChainIndex.match_1.eq_1internal/detail/private_private.Nonadditivity.CanonicalBlockBell.0.Nonadditivity.Entropy.TensorChainIndex.match_1.eq_2internal/detail/private_private.Nonadditivity.CanonicalBlockBell.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.BlockConstruction78/-! The tensor Bell witness is exactly the canonical Bell density matrix. -/9noncomputable section10set_option backward.isDefEq.respectTransparency false11set_option linter.unusedSectionVars false12namespace Nonadditivity.CanonicalBlockBell13open Entropy Channels Channels.KrausChannel BlockBell BlockConstruction14open scoped BigOperators Matrix Kronecker1516variable {ι : Type*} [Fintype ι] [DecidableEq ι] [Nonempty ι]1718theorem bellState_entry (a b : ι × ι) :19(BellOutput.bellState (ι := ι)).matrix a b =20if a.1=a.2 ∧ b.1=b.2 then (Fintype.card ι:ℂ)⁻¹ else 0 := by21by_cases ha : a.1=a.2 <;> by_cases hb : b.1=b.2 <;>22simp [BellOutput.bellState,Matrix.vecMulVec,BellOutput.normalizedBellVector,23bellVector,ha,hb]24rw [←mul_inv_rev,←Complex.ofReal_mul,Real.mul_self_sqrt (by positivity)]25simp2627theorem blockBellState_eq_canonical (n : ℕ) :28blockBellState (ι := ι) n = BellOutput.bellState (ι := TensorChainIndex ι n) := by29induction n with30| zero =>31apply DensityMatrix.ext32ext a b33rw [bellState_entry]34rcases a with ⟨a₁,a₂⟩35rcases b with ⟨b₁,b₂⟩36cases a₁; cases a₂; cases b₁; cases b₂37simp [blockBellState,DensityMatrix.tensorChain,DensityMatrix.reindex,38emptyTensorState,TensorChainIndex]39| succ n ih =>40apply DensityMatrix.ext41ext a b42rcases a with ⟨⟨a₀,a₁⟩,⟨a₂,a₃⟩⟩43rcases b with ⟨⟨b₀,b₁⟩,⟨b₂,b₃⟩⟩44have hx := congrArg (fun ρ : DensityMatrix (TensorChainIndex ι n × TensorChainIndex ι n) =>45ρ.matrix (a₀,a₂) (b₀,b₂)) ih46dsimp only at hx47change (DensityMatrix.tensorChain (fun _ => BellOutput.bellState (ι := ι)) n).matrix48((pairChainEquiv ι ι n).symm (a₀,a₂)) ((pairChainEquiv ι ι n).symm (b₀,b₂)) = _ at hx49change (DensityMatrix.tensorChain (fun _ => BellOutput.bellState (ι := ι)) n).matrix50((pairChainEquiv ι ι n).symm (a₀,a₂)) ((pairChainEquiv ι ι n).symm (b₀,b₂)) *51(BellOutput.bellState (ι := ι)).matrix (a₁,a₃) (b₁,b₃) = _52rw [hx,bellState_entry,bellState_entry,bellState_entry]53by_cases ha : a₀=a₂ <;> by_cases hb : b₀=b₂ <;>54by_cases hc : a₁=a₃ <;> by_cases hd : b₁=b₃ <;>55simp [ha,hb,hc,hd,TensorChainIndex,Fintype.card_prod,mul_comm]5657/-- The explicit complementary-block estimate at the canonical Bell state. -/58theorem block_complementary_canonical_entropy_le {κ : Type*}59[Fintype κ] [DecidableEq κ] [Nonempty κ]60(U : ℕ → κ → unitary (Matrix ι ι ℂ)) (n : ℕ) :61(((blockComplementary U n).tensor (blockComplementary U n).conjugate).output62(BellOutput.bellState (ι := TensorChainIndex ι n))).vonNeumann ≤63(n:ℝ)*(2*Real.log (Fintype.card κ)-Real.log (Fintype.card κ)/(Fintype.card κ:ℝ)) := by64rw [←blockBellState_eq_canonical]65let T (j : ℕ) := (KrausChannel.uniformUnitary (U j)).complementary66have he := pairedTensorChain_output_entropy T (fun j => (T j).conjugate)67(fun _ => BellOutput.bellState (ι := ι)) n68rw [←tensorChain_conjugate T n] at he69calc70_ = ∑ j ∈ Finset.range n,71(((T j).tensor (T j).conjugate).output (BellOutput.bellState (ι := ι))).vonNeumann := he72_ ≤ ∑ j ∈ Finset.range n,73(2*Real.log (Fintype.card κ)-Real.log (Fintype.card κ)/(Fintype.card κ:ℝ)) :=74Finset.sum_le_sum (fun j _ => BellOutput.complementary_bell_entropy_le (U j))75_ = _ := by simp; ring7677/-- The actual standardized block channel at the same canonical Bell input. -/78theorem block_channel_canonical_entropy_le {K : ℕ} [NeZero K]79(U : ℕ → Fin K → unitary (Matrix ι ι ℂ)) (n : ℕ) :80(((blockChannel U n).tensor (blockChannel U n).conjugate).output81(BellOutput.bellState (ι := TensorChainIndex ι n))).vonNeumann ≤82(n:ℝ)*(2*Real.log K-Real.log K/(K:ℝ)) := by83unfold blockChannel84rw [reindex_tensor_conjugate_entropy]85simpa only [Fintype.card_fin] using block_complementary_canonical_entropy_le U n8687end Nonadditivity.CanonicalBlockBell