Top-Level whpStepPureGenProg Mode Dispatcher and O_c(1) Fast-Branch Certificate #
This module implements the top-level parameter-free Memory.Prog step dispatcher
whpStepPureGenProg across .small, .fast (both O_c(1) fast-branch hits and fallback
transitions via fastToCsrGenProg + trySelfHealGenProg), and .fallback, refining
whpStepPure c U n_max θ st op inside whpSpace c U V w n_max words with
memoryCost ≤ whpFastBranchCost c whenever IsFastStepHit c U n_max ops_prev op θ holds.
Main definitions #
Cslib.DataStructure.Dictionary.WordRAM.SuccinctWhp.whpFastBranchCost,whpStepPureGenProg,WhpStepPurePre.
Main results #
Cslib.DataStructure.Dictionary.WordRAM.SuccinctWhp.realizes_whpStepPureGen,whpStepPureGenProg_spec.
References #
c-only memoryCost upper bound on whpStepPureGenProg whenever IsFastStepHit holds
(1 mode-word read plus smallOpCostWhp c or fastOpCostWhp c).
Top-level parameter-free Memory.Prog step dispatcher for whpStepPure c U n_max θ st op
across .small, .fast, and .fallback modes (d = (((wp, base), opTag), (u_val, v_val))).
Precondition for whpStepPureGenProg (d = (((wp, base), opTag), (u_val, v_val))).
Realizes .exact certificate for whpStepPureGenProg.
Master Memory.Prog refinement and conditional O_c(1) memoryCost specification for
whpStepPureGenProg:
- For every seed
θand valid state(st, dict), refineswhpStepPure c U n_max θ st op, preservesWhpMemRepandfrontier, satisfiesValidProginside[base, base + whpSpace c U V w n_max), and leaves caller memory outside[base, base + whpSpace c U V w n_max)untouched; - Whenever
st = whpRunPure c U n_max θ ops_prevandIsFastStepHit c U n_max ops_prev op θholds, executes in at mostwhpFastBranchCost c(O_c(1)) worst-case memory operations.