Actual selected-work-bank erasure with exact complete configuration and clock
ProvedIntMul.TapeBankErase.erase_bankFix a machine with m+2 tapes and a selected writable-bank index bank≥1. Let w be any finite payload over bits and separators, with no interior start marker or blank, and let the selected head initially be at any position h. From the explicit incoming caller frame, the fixed four-state machine physically rewinds the selected bank to its real start marker, opens it, erases every payload symbol, turns on the first blank, returns its head to zero and halts after exactly
actual transitions. The terminal selected bank is the empty marked tape. Every other caller tape and head, including root input 0, is retained exactly. The tape count and bank index are fixed construction choices, independent of payload length. No head oracle, span oracle or free workspace reset is used; the incoming caller frame and payload condition are explicit hypotheses.
import Definitions.Def_IntMul_TapeBankErase import Mathlib.Tactic open IntMul IntMul.TapeBankErase open IntMul.TapeCopy (Sym)
theorem IntMul.TapeBankErase.erase_bank (m : ℕ) (bank : Fin (m+2)) (hb : 1 ≤ bank.val)
(base : (machine m bank hb).Cfg) (w : List Sym) (hw : ValidWord w) (h : ℕ) :
(machine m bank hb).step^[h+2*w.length+3] (initialFrame m bank hb base w h)=
finalFrame m bank hb base ∧
((machine m bank hb).step^[h+2*w.length+3] (initialFrame m bank hb base w h)).state=
(machine m bank hb).qHalt := by sorry