Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Protected noninput windows throughout every ordinary recursive body segment

Proved
IntMul.EndParkRecursiveEvaluation.ordinary_window_safe

by raresbuhai · Oct 10, 2026 · Mathlib 0df444a (Lean v4.33.1)

algorithmsfixed-tape-routinginteger-multiplicationturing-machines

For a body initialized with unique local markers and heads no farther than one beyond its tracked extents, every actual scheduler step up to the next call or halt keeps every noninput head at least one, provided the work, buffer and continuation-stack boundaries are positive. The bound holds at every intermediate physical time, including the segment endpoint, and is derived from the actual body transition table rather than assumed as a trajectory condition.

Preamble
import Definitions.Def_IntMul_EndParkRecursiveRelocation
import Theorems.Thm_IntMul_TrackedBankedSimulation_simulate_run
import Theorems.Thm_IntMul_FixedTapeExtension_simulate_run
import Mathlib.Tactic

open IntMul IntMul.EndParkRecursiveEvaluation IntMul.EndParkRecursiveScheduler

Formal statement
theorem IntMul.EndParkRecursiveEvaluation.ordinary_window_safe (M : MultitapeTM) (n : ℕ)
    (request : M.K → Option (Fin n)) (resume : Fin n → M.K)
    (base : (machine M n request resume).Cfg) (rho sigma : ℕ)
    (offset extent : Fin M.k → ℕ) (c : M.Cfg) (v : List Bool) (S : ℕ)
    (hrho : 1 ≤ rho) (hsigma : 1 ≤ sigma) (hoffset : ∀ j, 1 ≤ offset j)
    (unique : ∀ j p, c.cells j p=M.startSym ↔ p=0)
    (near : ∀ j, c.head j ≤ extent j+1)
    (live : ∀ s, s < S → (M.step^[s] c).state ≠ M.qHalt)
    (ordinary : ∀ s, s < S → request (M.step^[s] c).state=none) :
    ∀ t, t ≤ S → ∀ i, i ≠ (machine M n request resume).inTape →
      1 ≤ ((machine M n request resume).step^[t]
        (bodyFrame M n request resume base rho sigma offset extent c v)).head i := by sorry
Source
Original ordinary recursive body protected-window invariant. Written by Codex.

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