One operation reaches the next state
ProvedWilliamsonShmoys.RAMReachesWithin.stepprogram-logicram-model
For every program and state , running from reaches the state within one operation.
This is the base case for building specifications of single instructions.
Formalization Note. is planarRAMRun p s t, the -fold iterate of planarRAMStep p; triples are RAMSpec from Def_WilliamsonShmoys_RAMSpec.
Preamble
import Mathlib import Definitions.Def_WilliamsonShmoys_RAMSpec set_option autoImplicit false open WilliamsonShmoys
Formal statement
theorem WilliamsonShmoys.RAMReachesWithin.step (program : List PlanarRAMInstruction) (s : PlanarRAMState) :
RAMReachesWithin program s (fun s' => s' = planarRAMStep program s) 1 := by sorrySource
Program-logic infrastructure for the RAM model of Williamson–Shmoys, The Design of Approximation Algorithms, Theorem 10.11 (mission formalization)