Eq. (2.11) — Bayes' decision function has error , and every other decision function is strictly worse
ProvedFuchsThesis.Helstrom.eq_2_11information-theoryp2o-gran-per-chapterp2o-plan-bookp2o-v1quantum-information
Let be probability distributions on the outcomes , and let with be the prior probabilities that the sample is drawn from or from . A decision function is any ; its probability of error is
A Bayes decision function chooses when , when , and anything on ties. Then
- every Bayes decision function has error probability
- every decision function that is not a Bayes decision function has (2.9).
This is the classical formula whose summand, with , is minimized over measurements in the quantum error probability (3.9).
Differences from the source:
- encoding: outcomes and →
Fin nandδ : Fin n → Fin 2read in ; reason: Lean convention, same functions. - encoding: defined by (2.3) as → the explicit sum (2.7); reason: (2.7) is the source's own rewriting of (2.3), same values.
- reading: "for any decision function other than Bayes'" (2.9), with "anything" on ties → clause 1 for every Bayes decision function (any choice on ties) and clause 2 for every that is not a Bayes decision function; reason: a differing from a fixed only on ties has the same error by (2.8), so "other than Bayes'" can only mean this.
- reading: the chain (2.10)–(2.11) through the posteriors → only its end (2.11); reason: (2.10) is a step of the computation, and the posterior (2.4) is undefined when .
Preamble
import Mathlib import Definitions.Def_FuchsVdGraaf_IsProbDist
Formal statement
namespace FuchsThesis.Helstrom
/-- Fuchs, *Distinguishability and Accessible Information in Quantum Theory*,
arXiv:quant-ph/9601020v1, eq. (2.11), p.15 (PDF p.24), with the decision functions (2.2), the
error (2.7), Bayes' decision function (2.6) and its optimality (2.9), p.14 (PDF p.23): for
probability distributions `p₀, p₁` on `n` outcomes and priors `π₀, π₁`, every Bayes decision
function `δ_B` has error probability `P_e(δ_B) = ∑_b min{π₀p₀(b), π₁p₁(b)}`, and every decision
function `δ` that is not a Bayes decision function has a strictly larger one (2.9).
**Formalization Note.** Outcomes `b = 1, …, n` are `Fin n`; a decision function
`δ : {1,…,n} → {0,1}` is `δ : Fin n → Fin 2`, read in `ℝ` through `ℕ`. The error of `δ` is the
source's expression (2.7), `π₀ ∑_b δ(b)p₀(b) + π₁ ∑_b [1 − δ(b)]p₁(b)`. A Bayes decision function is
any `δ` with `δ(b) = 0` when `π₀p₀(b) > π₁p₁(b)` and `δ(b) = 1` when `π₁p₁(b) > π₀p₀(b)`
(arbitrary on ties), as in (2.6). The source's "any decision function `δ` other than Bayes'" in
(2.9) is `δ` not of this form: a `δ` differing from a fixed `δ_B` only on ties has the same error
by (2.8). -/
theorem eq_2_11 {n : ℕ} (π0 π1 : ℝ) (hπ0 : 0 ≤ π0) (hπ1 : 0 ≤ π1) (hπ : π0 + π1 = 1)
(p0 p1 : Fin n → ℝ) (hp0 : FuchsVdGraaf.IsProbDist p0) (hp1 : FuchsVdGraaf.IsProbDist p1) :
(∀ δ : Fin n → Fin 2,
(∀ b, π1 * p1 b < π0 * p0 b → δ b = 0) →
(∀ b, π0 * p0 b < π1 * p1 b → δ b = 1) →
π0 * ∑ b, ((δ b : ℕ) : ℝ) * p0 b + π1 * ∑ b, (1 - ((δ b : ℕ) : ℝ)) * p1 b =
∑ b, min (π0 * p0 b) (π1 * p1 b)) ∧
∀ δ : Fin n → Fin 2,
¬ ((∀ b, π1 * p1 b < π0 * p0 b → δ b = 0) ∧ (∀ b, π0 * p0 b < π1 * p1 b → δ b = 1)) →
∑ b, min (π0 * p0 b) (π1 * p1 b) <
π0 * ∑ b, ((δ b : ℕ) : ℝ) * p0 b + π1 * ∑ b, (1 - ((δ b : ℕ) : ℝ)) * p1 b := by sorry
end FuchsThesis.Helstrom
Source
Fuchs, Distinguishability and Accessible Information in Quantum Theory, arXiv:quant-ph/9601020v1, eq. (2.11), p.15 (PDF p.24); (2.2)–(2.9), p.14 (PDF p.23)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.