Exact Lean source
Nonadditivity.Conversion
Download original .lean · View on GitHub · Jump to source
Imported by project modules
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
Nonadditivity.Conversion.convertedNonadditivity.Conversion.converted_bounds_of_certificateNonadditivity.Conversion.converted_gap_lowerNonadditivity.Conversion.converted_holevoNonadditivity.Conversion.converted_holevo_le_of_adjoint_certificateNonadditivity.Conversion.converted_holevo_le_of_output_entropyNonadditivity.Conversion.converted_input_dimensionNonadditivity.Conversion.converted_tensor_holevo_lowerNonadditivity.Conversion.weyl_tensor_holevo_lower
Full module
1/-2Copyright (c) 2026 the Nonadditivity project contributors.3All rights reserved. See COPYRIGHT.md for licensing and attribution.4-/56import Nonadditivity.SwitchChannel7import Nonadditivity.ChannelTensorControl8import Nonadditivity.WeylTensor910/-! # Concrete entropy-gap to Holevo-gap conversion1112This file applies the checked switch and Weyl constructions to actual13Kraus channels. Its analytic norm-certificate premise remains explicit.14-/1516noncomputable section1718namespace Nonadditivity.Conversion1920open Entropy Channels Channels.KrausChannel AdjointPurity21open scoped Matrix.Norms.L2Operator2223variable {ι κ : Type*} [Fintype ι] [DecidableEq ι] [Fintype κ]24variable {d : ℕ} [NeZero d]2526/-- The manuscript's switch followed by its `d²`-label Weyl extension. -/27def converted (T : KrausChannel ι (ZMod d) κ) := T.switch.weylExtension2829theorem converted_holevo [Nonempty ι] (T : KrausChannel ι (ZMod d) κ) :30(converted T).holevo = Real.log d - T.minimumEntropy :=31T.switch_weylExtension_holevo3233theorem converted_holevo_le_of_output_entropy [Nonempty ι]34(T : KrausChannel ι (ZMod d) κ) {s : ℝ}35(hentropy : ∀ ρ : DensityMatrix ι, s ≤ (T.output ρ).vonNeumann) :36(converted T).holevo ≤ Real.log d - s := by37rw [converted_holevo]38have hmin : s ≤ T.minimumEntropy := by39apply le_csInf (T.outputs_nonempty.image _)40rintro _ ⟨_, ⟨ρ, rfl⟩, rfl⟩41exact hentropy ρ42linarith4344/-- A genuine finite-dimensional channel with the required small single-use45Holevo information, from an adjoint operator/HS certificate for its base. -/46theorem converted_holevo_le_of_adjoint_certificate [Nonempty ι]47(T : KrausChannel ι (ZMod d) κ) {t : ℝ} (ht : 0 ≤ t)48(hcertificate : ∀ A : Matrix (ZMod d) (ZMod d) ℂ,49A.IsHermitian → A.trace = 0 → ‖T.adjointMap A‖ ≤ t * hsLength A) :50(converted T).holevo ≤ Real.log (1 + (d : ℝ) * t ^ 2) := by51have h := converted_holevo_le_of_output_entropy T52(fun ρ => (T.output_purity_and_entropy_of_certificate ht hcertificate ρ).2)53simp only [ZMod.card] at h54linarith5556omit [DecidableEq ι] in57/-- The final classical registers have exactly the claimed size `2d²`. -/58theorem converted_input_dimension :59Fintype.card ((ZMod d × ZMod d) × (Bool × ι)) =602 * Fintype.card ι * d ^ 2 := by61simp [pow_two]62ring6364/-- Independent Weyl labels turn any joint output into a real finite coding65ensemble, even when the underlying input is entangled. -/66theorem weyl_tensor_holevo_lower {μ η : Type*} [Fintype μ] [DecidableEq μ] [Fintype η]67(T : KrausChannel ι (ZMod d) κ) (S : KrausChannel μ (ZMod d) η)68(ρ : DensityMatrix (ι × μ)) :692 * Real.log d - ((T.tensor S).output ρ).vonNeumann ≤70(T.weylExtension.tensor S.weylExtension).holevo := by71apply WeylTensor.orbit_information_lower_bound72(T.weylExtension.tensor S.weylExtension).outputs ((T.tensor S).output ρ)73intro q r74refine ⟨jointLabelledState q r ρ, ?_⟩75change ((controlled (fun q => T.outputUnitary (Weyl.family q))).tensor76(controlled (fun r => S.outputUnitary (Weyl.family r)))).output77(jointLabelledState q r ρ) = _78rw [controlled_tensor_output_labelled, tensor_outputUnitary_output]79rfl8081/-- The two switches reproduce the original/conjugate pair on an arbitrary82entangled input; independent Weyl ensembles then give the two-use lower bound. -/83theorem converted_tensor_holevo_lower (T : KrausChannel ι (ZMod d) κ)84(ρ : DensityMatrix (ι × ι)) :852 * Real.log d - ((T.tensor T.conjugate).output ρ).vonNeumann ≤86((converted T).tensor (converted T)).holevo := by87have h := weyl_tensor_holevo_lower T.switch T.switch (jointLabelledState false true ρ)88have ho : (T.switch.tensor T.switch).output (jointLabelledState false true ρ) =89(T.tensor T.conjugate).output ρ := by90change ((controlled (fun b : Bool => if b then T.conjugate else T)).tensor91(controlled (fun b : Bool => if b then T.conjugate else T))).output _ = _92rw [controlled_tensor_output_labelled]93rfl94rw [ho] at h95exact h9697/-- A proved minimum-output entropy gap becomes a Holevo gap for a single98explicit CPTP channel, without assuming either Holevo estimate. -/99theorem converted_gap_lower [Nonempty ι] (T : KrausChannel ι (ZMod d) κ)100(ρ : DensityMatrix (ι × ι)) :1012 * T.minimumEntropy - ((T.tensor T.conjugate).output ρ).vonNeumann ≤102((converted T).tensor (converted T)).holevo - 2 * (converted T).holevo := by103have h := converted_tensor_holevo_lower T ρ104rw [converted_holevo]105linarith106107/-- The remaining premises are the base adjoint norm certificate and a joint108entropy witness. Positivity, all entropy inequalities, switch, and Weyl109conversion are proved internally. -/110theorem converted_bounds_of_certificate [Nonempty ι]111(T : KrausChannel ι (ZMod d) κ) {t B : ℝ} (ht : 0 ≤ t)112(hcertificate : ∀ A : Matrix (ZMod d) (ZMod d) ℂ,113A.IsHermitian → A.trace = 0 → ‖T.adjointMap A‖ ≤ t * hsLength A)114(ρ : DensityMatrix (ι × ι))115(hjoint : ((T.tensor T.conjugate).output ρ).vonNeumann ≤ B) :116(converted T).holevo ≤ Real.log (1 + (d : ℝ) * t ^ 2) ∧1172 * Real.log d - B ≤ ((converted T).tensor (converted T)).holevo ∧1182 * Real.log d - B - 2 * Real.log (1 + (d : ℝ) * t ^ 2) ≤119((converted T).tensor (converted T)).holevo - 2 * (converted T).holevo := by120have h₁ := converted_holevo_le_of_adjoint_certificate T ht hcertificate121have h₂ := converted_tensor_holevo_lower T ρ122exact ⟨h₁, by linarith, by linarith⟩123124end Nonadditivity.Conversion