Charged physical initialization of a child machine's complete input and work banks
ProvedIntMul.BankedCall.setup_correctalgorithmsfixed-tape-routinginteger-multiplicationturing-machines
For every finite multitape child machine M and all binary inputs x,y, the literal banked caller starts in the actual outer initial configuration and reaches its full ready frame after exactly 2|x|+2|y|+6 transitions. Every work tape has a tagged local start marker at cell one. The child input bank contains exactly x#y, other child banks are blank, and every child head is on its local marker. The global input is unchanged with its head at the end blank; the global output is empty with head one. Every marker write, payload/separator copy, scan, rewind, and dispatch transition is charged. No equal-width promise is needed, and empty operands are included.
Preamble
import Definitions.Def_IntMul_BankedCall import Mathlib.Data.List.GetD import Mathlib.Data.List.TakeDrop import Mathlib.Tactic open IntMul IntMul.BankedCall
Formal statement
theorem IntMul.BankedCall.setup_correct (M : MultitapeTM) (x y : List Bool) :
(machine M).step^[2 * x.length + 2 * y.length + 6] ((machine M).initCfg x y) =
readyFrame M x y := by sorrySource
Original literal compiler foundation for the integer-multiplication campaign's clocked recursive multiplier and fixed-tape routing. Written by Codex.