Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Protected work-bank boundaries throughout every physical cleanup phase

Proved
IntMul.TrackedBankCleanup.cleanup_window_safe

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

algorithmsfixed-tape-routinginteger-multiplicationturing-machines

For initialized tracked banks with unique local markers and blank tails beyond their tracked extents, every work head remains at or above its original bank offset at every physical time of cleanup, including all rewind, erasure, restoration and local-marker-erasure transitions, and every later halted step. The statement allows arbitrary retained ancestor prefixes, bank offsets, extents and initial head positions. It proves the complete intermediate trajectory bound, rather than only endpoint preservation.

Preamble
import Definitions.Def_IntMul_TrackedBankCleanup
import Mathlib.Tactic

open IntMul IntMul.TrackedBankCleanup

Formal statement
theorem IntMul.TrackedBankCleanup.cleanup_window_safe (M : MultitapeTM) (base : (machine M).Cfg)
    (offset extent : Fin M.k → ℕ) (c : M.Cfg) (pos : Fin M.k → ℕ)
    (unique : ∀ j p, c.cells j p=M.startSym ↔ p=0)
    (tail : ∀ j p, extent j < p → c.cells j p=M.blank) :
    ∀ t j, offset j ≤ ((machine M).step^[t]
      (rewindFrame M base offset extent c pos)).head (BankedSimulation.workTape M j) := by sorry
Source
Original all-times tracked bank cleanup 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