Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

p. A:41 — for large nnn, every machine in SnS_nSn​ is functionally equivalent to MMM

Proved
ObfImpossibility.RiceSimulator.survivors_eventually_equivalent

by mikedeng1 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

computabilityp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1rice-theorem

Let MMM be a machine and, for n∈Nn\in\mathbb Nn∈N, let SnS_nSn​ be the set of machines NNN of size ∣N∣=∣M∣|N|=|M|∣N∣=∣M∣ that are nnn-compatible with MMM. Then there is a number n′′n''n′′ such that

∀n>n′′  ∀N∈Sn:[N]≡[M].\forall n>n''\ \ \forall N\in S_n:\quad [N]\equiv[M].∀n>n′′  ∀N∈Sn​:[N]≡[M].

Only finitely many machines have size ∣M∣|M|∣M∣, and each one inequivalent to MMM eventually leaves SnS_nSn​ for good; the statement collects this into a single threshold. It is the step of the proof of Theorem A.2 that lets the simulator's answer stabilise on machines that TTT must treat like MMM.

Preamble
import Mathlib
import Definitions.Def_ObfImpossibility_RiceSimulator_Setting
Formal statement
namespace ObfImpossibility.RiceSimulator

/-- p. A:41 (proof of Theorem A.2): there is `n''` such that every machine `N ∈ S_n` with
`n > n''` satisfies `[N] ≡ [M]`. -/
theorem survivors_eventually_equivalent (M : Machine) :
    ∃ n'' : ℕ, ∀ n : ℕ, n'' < n → ∀ N ∈ survivors n M, fn N = fn M := by sorry

end ObfImpossibility.RiceSimulator
Source
Barak et al., On the (Im)possibility of Obfuscating Programs, J. ACM 59(2) (2012), author's copy, p. A:41, proof of Theorem A.2 (paragraph "We claim that S always halts")
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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