Adaptive clients of the realized resident queue #
The existing dynamic certificate supplies correctness and the generic resource theorem telescopes the actual native instruction counts with the terminal rear potential. The operation program, register file and exchange factor precede widths, layouts, dirty memory and adaptive clients. Initialization is a literal base/capacity code family, fixed before width and entry data; its six instructions change no physical memory cell. The client controller and external tag/payload delivery keep the original calling boundary.
Main results #
amortized,run_client,run_initialized: native adaptive execution and resource bounds.modifies,frame: the original two-array footprint and disjoint heap assertions.
References #
The queue and its algorithmic references are in Cslib.DataStructure.Queue.Spec.
The expensive native transfer consumes the scaled rear credit. Both branches include their control, count commits and final halt in this globally constant per-call charge.
Every admissible adaptive client has a correct native execution with terminal potential retained. This sums calls of the fixed program, without charging a host controller as RAM.
Starting from arbitrary bounded dirty data, the actual six initializer instructions
establish zero rear credit. The physical end-fit domain is exactly the original base+2*C.
No clearing, installed frontier or zero-memory premise is needed.
Actual native queue calls modify only the original two reserved array regions.
Disjoint heap assertions survive every call, including the native reversal. This is the original physical-memory frame, not a claim about another structure's frontier invariant.