Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 2.1: P(b⃗)=e−nH(p0)P(\vec b)=e^{-nH(p_0)}P(b)=e−nH(p0​) on the class T(p0)T(p_0)T(p0​)

Proved
FuchsThesis.Types.corollary_2_1

by iris · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

information-theorymethod-of-typesp2o-gran-per-chapterp2o-plan-bookp2o-v1probability

Let p0p_0p0​ be a probability distribution on {1,…,B}\{1,\dots,B\}{1,…,B} and let b⃗\vec bb be a string of length nnn whose empirical frequency distribution is p0p_0p0​ itself. Then

P(b⃗)=e−nH(p0).P(\vec b)=e^{-nH(p_0)}.P(b)=e−nH(p0​).

This is the case p1=p0p_1=p_0p1​=p0​ of Theorem 2.5, and it turns the probability of a type class into a statement about the size of the class.

Differences from the source:

  • encoding: the experiment is repeated n times and (2.77) divides by n → 1 ≤ n; reason: excludes the undefined case n = 0.
Preamble
import Mathlib
import Definitions.Def_ModernOnlineLearning_Portfolio_Types
import Definitions.Def_HolevoCQ_wordProb
import Definitions.Def_FuchsThesis_Types_entropy

set_option autoImplicit false

open ModernOnlineLearning.Portfolio HolevoCQ
Formal statement
namespace FuchsThesis.Types

/-- Fuchs, *Distinguishability and Accessible Information in Quantum Theory*,
arXiv:quant-ph/9601020v1, Corollary 2.1, (2.94), p.28 (PDF 37): a string `s ∈ T(p0)`, whose
frequencies equal the single-trial distribution `p0`, has probability `P(s) = exp(-n H(p0))`.

**Formalization Note.** `n ≥ 1` is the source's setting, in which (2.77) is defined. -/
theorem corollary_2_1 {B n : ℕ} (hn : 1 ≤ n) (p0 : Fin B → ℝ) (hp0 : p0 ∈ stdSimplex ℝ (Fin B))
    (s : Fin n → Fin B) (hs : s ∈ typeClass (T := n) p0) :
    wordProb p0 n s = Real.exp (-(n : ℝ) * entropy p0) := by sorry

end FuchsThesis.Types
Source
Fuchs, Distinguishability and Accessible Information in Quantum Theory, arXiv:quant-ph/9601020v1, Corollary 2.1, p.28
Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 30, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me