Holevo Additivity Gap in Lean 4

Lean explorer

Exact Lean source

Nonadditivity.WeylPowersIndex

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

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

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

9 declarations

Full module

1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.RegularizedHolevo7import Nonadditivity.HolevoTensorSuperadditivity89/-! # Actual finite tensor powers of unitary families and control registers -/1011noncomputable section1213namespace Nonadditivity.WeylPowers1415open Entropy Channels Channels.KrausChannel RegularizedHolevo16open scoped Kronecker Matrix1718universe u v1920/-- Regroup the control and quantum coordinates of a positive tensor block. -/21def positivePairEquiv (ι : Type u) (μ : Type v) : (n : ℕ) →22    PositiveTensorIndex (ι × μ) n ≃ PositiveTensorIndex ι n × PositiveTensorIndex μ n23  | 0 => Equiv.refl _24  | n + 1 => ((positivePairEquiv ι μ n).prodCongr (Equiv.refl (ι × μ))).trans25      (Equiv.prodProdProdComm _ _ _ _)2627@[simp] theorem positivePairEquiv_succ_apply (ι : Type u) (μ : Type v) (n : ℕ)28    (a : PositiveTensorIndex (ι × μ) n) (i : ι) (j : μ) :29    positivePairEquiv ι μ (n + 1) (a, (i,j)) =30      (((positivePairEquiv ι μ n a).1, i), ((positivePairEquiv ι μ n a).2, j)) := rfl3132@[simp] theorem positivePairEquiv_succ_symm_apply (ι : Type u) (μ : Type v) (n : ℕ)33    (a : PositiveTensorIndex ι n) (b : PositiveTensorIndex μ n) (i : ι) (j : μ) :34    (positivePairEquiv ι μ (n + 1)).symm ((a,i),(b,j)) =35      ((positivePairEquiv ι μ n).symm (a,b), (i,j)) := rfl3637/-- The actual independent local unitary conjugations on every positive number of uses. -/38def positiveUnitaryPower {ζ ο : Type*} [Fintype ο] [DecidableEq ο]39    (U : ζ → unitary (Matrix ο ο ℂ)) : (n : ℕ) →40    PositiveTensorIndex ζ n → unitary41      (Matrix (PositiveTensorIndex ο n) (PositiveTensorIndex ο n) ℂ)42  | 0 => U43  | n + 1 => fun z => tensorUnitary (positiveUnitaryPower U n z.1) (U z.2)4445end Nonadditivity.WeylPowers