Symmetric coherent-information baseline in three depolarizing conventions
DefinitionDepolarizingCoherentInformationBaselineDefine the scalar closed-form one-copy symmetric coherent-information baseline in nats using total Pauli error q, and derive the corresponding functions of per-Pauli error r and mixing probability p. The source paper states the same baseline in bits; this definition uses the positive Real.log 2 rescaling required by Mathlib’s natural-log entropy. The Lean definitions are total functions on ℝ; physical parameter ranges are part of the interpretation, and no equality with coherent information derived from a formal quantum-channel model is claimed here.
import Mathlib.Analysis.SpecialFunctions.BinaryEntropy namespace DepolarizingCoherentInformation noncomputable def symmetricIcTotalPauli (q : ℝ) : ℝ := Real.log 2 - Real.qaryEntropy 4 q noncomputable def symmetricIcPerPauli (r : ℝ) : ℝ := symmetricIcTotalPauli (3 * r) noncomputable def symmetricIcMixing (p : ℝ) : ℝ := symmetricIcTotalPauli (3 * p / 4) end DepolarizingCoherentInformation
Read-back
What the Lean code literally says, in plain math · codex-gpt-5
The code defines three total real-valued functions on all real inputs. Writing for the real -ary entropy used here, it specifies, for every , that , , and . There are no hypotheses or domain restrictions, so these definitions also apply when their arguments, including and , lie outside ; the logarithm is the total real logarithm, with and for negative .