Exact Lean source
Nonadditivity.Main
Download original .lean · View on GitHub · Jump to source
Direct imports
Imported by project modules
1 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
12 project constants, including generated, internal and private declarations.
12 declarations
Nonadditivity.Main.block_entropy_of_purityNonadditivity.Main.block_entropy_of_purity._simp_1_3internal/detail/privateNonadditivity.Main.block_entropy_of_purity._simp_1_4internal/detail/privateNonadditivity.Main.block_entropy_of_purity._simp_1_5internal/detail/privateNonadditivity.Main.block_entropy_of_purity._simp_1_6internal/detail/privateNonadditivity.Main.block_entropy_of_purity._simp_1_7internal/detail/privateNonadditivity.Main.block_entropy_of_purity._simp_1_8internal/detail/privateNonadditivity.Main.block_entropy_of_purity._simp_1_9internal/detail/privateNonadditivity.Main.minimum_block_entropy_of_purityNonadditivity.Main.quantitative_gap_of_boundsNonadditivity.Scalar.aK.eq_1internal/detail/privateNonadditivity.Scalar.log2.eq_1internal/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.Entropy7import Nonadditivity.Holevo8import Nonadditivity.Net9import Nonadditivity.Purity10import Nonadditivity.Probability11import Nonadditivity.Linearization12import Nonadditivity.Quantitative13import Nonadditivity.Asymptotics14import Nonadditivity.Dimensions1516/-!17# Connecting the checked entropy and numerical parts1819This original component module connects density-matrix purity to entropy20and records the numerical gap implications. The subsequently added21`Qualitative` module proves actual finite-channel realization from explicit22limiting-norm and convergence hypotheses; its Bell and conversion steps are23proved internally. The later `ExactQualitative` and `HaarPrescribedBound`24modules prove the unconditional channel endpoints and prescribed finite25dimensions. Broader manuscript claims retain the scope recorded in26`docs/FORMALIZATION_STATUS.md`.27-/2829noncomputable section3031namespace Nonadditivity.Main3233open Scalar Entropy3435/-- Equation (single-entropy) for a concrete finite density matrix from the36block purity certificate. No entropy inequality is assumed. -/37theorem block_entropy_of_purity {ι : Type*} [Fintype ι] [DecidableEq ι]38(ρ : DensityMatrix ι) {K κ : ℝ} (n : ℕ) (hK : 0 < K) (hκ : 0 < κ)39(hpurity : ρ.purity ≤ κ ^ 2 * (1 + 9 / K) ^ n / K ^ n) :40(n : ℝ) * (log2 K - aK K) - 2 * log2 κ ≤ ρ.vonNeumann / Real.log 2 := by41have hb : 0 < 1 + 9 / K := by positivity42have hlog := Real.log_le_log ρ.purity_pos hpurity43rw [Real.log_div (by positivity) (by positivity),44Real.log_mul (by positivity) (by positivity), Real.log_pow, Real.log_pow,45Real.log_pow] at hlog46have hrenyi := ρ.vonNeumann_ge_neg_log_purity47apply (le_div_iff₀ log_two_pos).mpr48simp only [aK, log2]49have hid : ((n : ℝ) *50(Real.log K / Real.log 2 - Real.log (1 + 9 / K) / Real.log 2) -512 * (Real.log κ / Real.log 2)) * Real.log 2 =52(n : ℝ) * (Real.log K - Real.log (1 + 9 / K)) - 2 * Real.log κ := by53field_simp54rw [hid]55linarith5657/-- The minimum entropy bound follows for any nonempty output family with58the uniform purity certificate, using the actual infimum definition. -/59theorem minimum_block_entropy_of_purity {ι : Type*} [Fintype ι] [DecidableEq ι]60(outputs : Set (DensityMatrix ι)) (hne : outputs.Nonempty)61{K κ : ℝ} (n : ℕ) (hK : 0 < K) (hκ : 0 < κ)62(hpurity : ∀ ρ ∈ outputs, ρ.purity ≤ κ ^ 2 * (1 + 9 / K) ^ n / K ^ n) :63(n : ℝ) * (log2 K - aK K) - 2 * log2 κ ≤64sInf ((fun ρ : DensityMatrix ι => ρ.vonNeumann / Real.log 2) '' outputs) := by65apply le_csInf (hne.image _)66rintro _ ⟨ρ, hρ, rfl⟩67exact block_entropy_of_purity ρ n hK hκ (hpurity ρ hρ)6869/-- The exact numerical statements of the main theorem, provided that its70two Holevo bounds have been established for the constructed channel. -/71theorem quantitative_gap_of_bounds {K χ₁ χ₂ C : ℝ} (n : ℕ)72(hχ₁ : χ₁ ≤ (n : ℝ) * aK K + 2 * log2 (((n : ℝ) + 1) / ((n : ℝ) - 1)))73(hχ₂ : (n : ℝ) * (log2 K / K) ≤ χ₂)74(hC : χ₂ / 2 ≤ C) :75(n : ℝ) * deltaK K - 4 * log2 (((n : ℝ) + 1) / ((n : ℝ) - 1)) ≤76χ₂ - 2 * χ₁ ∧77(n : ℝ) * deltaK K / 2 - 2 * log2 (((n : ℝ) + 1) / ((n : ℝ) - 1)) ≤78C - χ₁ := by79constructor80· have h := Scalar.holevo_gap hχ₁ hχ₂81nlinarith82· exact Scalar.capacity_gap hχ₁ hχ₂ hC8384end Nonadditivity.Main