Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem E.2 — support-preserving uniform word sampling

Proved
FSS23105365.word_sampling

by YY · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

finite-staterandomized-ac0sampling

For every binary DFA AAA, there are natural constants D,C,kD,C,kD,C,k, independent of nnn and ϵ\epsilonϵ, such that for every nonempty accepted length-nnn slice and every 0<ϵ≤1/20<\epsilon\leq1/20<ϵ≤1/2, there is a nonuniform fair-bit circuit of depth at most DDD and size at most C((n+1)/ϵ)kC((n+1)/\epsilon)^kC((n+1)/ϵ)k. It uses at most n+Clog⁡2(1/ϵ)n+C\log_2(1/\epsilon)n+Clog2​(1/ϵ) fair bits. Every seed produces an accepted word, and its output law is within total variation ϵ\epsilonϵ of the uniform law on that slice. Using a shared enlarged CCC for size and randomness is a conventional equivalent choice of constants.

Preamble
import Definitions.Def_FSS23105365_FiniteState
set_option autoImplicit false
Formal statement
namespace FSS23105365
theorem word_sampling (q : ℕ) (A : BinaryDFA q) :
    ∃ D C k : ℕ, ∀ n : ℕ, (acceptedWords A n).Nonempty →
      ∀ ε : ℝ, 0 < ε → ε ≤ 1 / 2 → ∃ S : Circuit (Fin n),
        S.depth ≤ D ∧
        (S.size : ℝ) ≤ (C : ℝ) * (((n + 1 : ℕ) : ℝ) / ε) ^ k ∧
        (S.randomBits : ℝ) ≤ (n : ℝ) + (C : ℝ) * logInv ε ∧
        SupportPreserving S (fun x : Bits n => x) (wordLaw A) ∧
        tv (mass S (fun x : Bits n => x)) (wordLaw A) ≤ ε := by sorry
end FSS23105365
Source
Jiarui Zhang, Chengwei Liang, Haozhe Jiang, Binhang Yuan, Jingzhao Zhang, Revision Provably Reduces Sequential Computation in Diffusion Language Models, Zenodo preprint, 2026-10-02, https://doi.org/10.5281/zenodo.23105365, Theorem E.2, printed p. 33.
Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by YY · Oct 10, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me