Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact native root-input copy and buffer rewind in 2*inputLength+5 transitions

Proved
IntMul.TrackedRootInputCopy.copy_correct

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

algorithmsfixed-tape-routinginteger-multiplicationturing-machines

From its real native initial x#y configuration, one fixed finite shared-tape program physically copies the entire input word, including separator and any leading zeroes, into output-buffer cells two onward with true flags, preserves the reserved fresh boundary at cell one and all global markers, retains every root-input cell, physically rewinds the buffer head to one, and parks every fresh child work head at one. The exact full configuration is reached in 2*(length(x)+length(y)+1)+5 actual transitions. No prepared input, address oracle, uncharged seeks or uncharged bank allocation are used. This provides the physical starting input layout for the accepted tracked-bank initializer.

Preamble
import Definitions.Def_IntMul_TrackedRootInputCopy
import Mathlib.Data.List.GetD
import Mathlib.Data.List.TakeDrop
import Mathlib.Tactic
open IntMul.TrackedBankPreparation (inputWord)

open IntMul IntMul.TrackedRootInputCopy
Formal statement
theorem IntMul.TrackedRootInputCopy.copy_correct (M : MultitapeTM) (x y : List Bool) :
    (machine M).step^[2 * (inputWord M x y).length + 5] ((machine M).initCfg x y) =
      finalFrame M x y := by sorry
Source
Original physical native root-input bridge for integer-multiplication shared foundations. 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