Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 5.5 — entropy estimation gives entropy gap testing

Proved
AutoregressiveCompression.Main.proposition_5_5

by mikedeng1 · Nov 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

complexity-theoryinformation-theorymachine-learningp2o-batch-stoc27ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let Γ be a finite alphabet with |Γ| ≥ 2 and 𝒞 any class of distributions over Γ. If 𝒞 admits polynomial-time entropy estimation, then it admits polynomial-time entropy gap testing.

Differences from the source:

  • encoding: polynomial-time (randomized) algorithms; running time polynomial in n and m (or in the input length) → a Mathlib Turing.FinTM2 machine with bit input and output stacks, halting with the stated output within time.eval(n+m) (resp. time.eval(n+ε⁻¹+δ⁻¹)) steps on every relevant input; coins are a uniformly random input string of polynomial length r(·); reason: standard model of a randomized polynomial-time machine (it reads at most polynomially many coins); the input length is polynomially bounded in, and at least, the stated parameters, so the two time measures agree up to polynomials; the function next to each machine is the output it actually produces
  • encoding: polynomials ρ, r (sample bound, coin length, threshold) → Polynomial ℕ / MvPolynomial with ℕ coefficients, evaluated at (n,m) or (n,ε⁻¹,δ⁻¹); reason: every polynomial bound is dominated by one with natural coefficients, and an algorithm may ignore extra samples or coins, so the set of admitting classes is unchanged
  • encoding: hypothesis circuits computing rationals; real-valued estimator and tester outputs → explicit straight-line Boolean circuits (Circuit, with an injective description Circuit.bits) whose output is numerator/denominator wires, read on a one-hot encoding of (u,a); estimates and test values are rationals written by ratBits; reason: finite representations of the source objects; any polynomial-size circuit or polynomial-time real output has such a representation of polynomial length
  • encoding: ε, δ ∈ (0,1) with ε⁻¹, δ⁻¹ ∈ ℕ → naturals a, b ≥ 2 with ε = 1/a, δ = 1/b, given in unary; reason: same parameter set
Preamble
import Mathlib
import Definitions.Def_AutoregressiveCompression_Main_Tasks
Formal statement
namespace AutoregressiveCompression.Main

/-- Proposition 5.5, printed p.24 / PDF p.26. Entropy estimation implies entropy gap testing. -/
theorem proposition_5_5 {Γ : Type} [Fintype Γ] (hΓ : 2 ≤ Fintype.card Γ)
    (𝒞 : DistributionClass Γ) :
    EntropyEstimable 𝒞 → EntropyGapTestable 𝒞 := by sorry

end AutoregressiveCompression.Main
Source
Shuichi Hirahara, Mikito Nanashima, Autoregressive Distribution Learning and Universal Compression, STOC 2027 submission #793 (October 2026), Proposition 5.5, printed p.24 / PDF p.26; https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/793.pdf
Human review
  • Endorsed by Shuze Chen · Nov 11, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Nov 11, 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