Stack representation for the reverse TM2 compiler #
Each native transition compiles to one fixed Mathlib stack-machine statement. The finite control holds the current work cells; raw stacks retain blank cells and preserve the two-sided geometry.
Main definitions #
Turing.MultiTapeTM.ToTM2.encode: represent a raw configuration at a source-step boundary.