Exact Lean source
Nonadditivity.WeightedBlockBell
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
4 project constants, including generated, internal and private declarations.
4 declarations
Nonadditivity.Channels.KrausChannel.randomUnitary.congr_simpNonadditivity.WeightedBlock.weightedBlock_bell_entropy_leNonadditivity.WeightedBlock.weightedBlock_canonical_entropy_leNonadditivity.WeightedBlock.weightedBlock_canonical_entropy_le_with_margin
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.WeightedBlock7import Nonadditivity.WeightedBell89/-! The weighted block has a strict Bell entropy margin at the canonical input. -/10noncomputable section11set_option backward.isDefEq.respectTransparency false12namespace Nonadditivity.WeightedBlock13open Entropy Channels Channels.KrausChannel BlockConstruction BlockBell14open scoped BigOperators Matrix1516variable {ι : Type*} [Fintype ι] [DecidableEq ι] [Nonempty ι]17variable {K : ℕ} [NeZero K]1819/-- Tensorization and output-basis transport preserve the strict weighted Bell budget. -/20theorem weightedBlock_canonical_entropy_le21(U : ℕ → Fin K → unitary (Matrix ι ι ℂ))22(p : Fin K → ℝ) (hp : ∀a, 0 ≤ p a) (hsum : ∑ a, p a=1) (n : ℕ) :23(((weightedBlock U p hp hsum n).tensor (weightedBlock U p hp hsum n).conjugate).output24(BellOutput.bellState (ι := TensorChainIndex ι n))).vonNeumann ≤25(n:ℝ)*(2*Real.log K-(∑ a, p a^2)*Real.log K) := by26unfold weightedBlock27rw [reindex_tensor_conjugate_entropy,←CanonicalBlockBell.blockBellState_eq_canonical]28let T (j : ℕ) := (randomUnitary p hp hsum (U j)).complementary29have he := pairedTensorChain_output_entropy T (fun j => (T j).conjugate)30(fun _ => BellOutput.bellState (ι := ι)) n31rw [←tensorChain_conjugate T n] at he32calc33_ = ∑ j ∈ Finset.range n,34(((T j).tensor (T j).conjugate).output (BellOutput.bellState (ι := ι))).vonNeumann := he35_ ≤ ∑ j ∈ Finset.range n,36(2*Real.log K-(∑ a, p a^2)*Real.log K) :=37Finset.sum_le_sum (fun j _ => by38simpa only [Fintype.card_fin] using WeightedBell.complementary_bell_entropy_le p hp hsum (U j))39_ = _ := by simp; ring4041alias weightedBlock_bell_entropy_le := weightedBlock_canonical_entropy_le4243/-- The positive excess of the collision probability is an explicit entropy reserve. -/44theorem weightedBlock_canonical_entropy_le_with_margin45(U : ℕ → Fin K → unitary (Matrix ι ι ℂ))46(p : Fin K → ℝ) (hp : ∀a, 0 ≤ p a) (hsum : ∑ a, p a=1) (n : ℕ) :47(((weightedBlock U p hp hsum n).tensor (weightedBlock U p hp hsum n).conjugate).output48(BellOutput.bellState (ι := TensorChainIndex ι n))).vonNeumann ≤49(n:ℝ)*(2*Real.log K-Real.log K/(K:ℝ)) -50(n:ℝ)*((∑ a, p a^2)-1/(K:ℝ))*Real.log K := by51convert weightedBlock_canonical_entropy_le U p hp hsum n using 152ring5354end Nonadditivity.WeightedBlock