Direct charged resource combinators #
Composition with a linear outer computation preserves independent time/workspace budgets: the inner machine's clock bounds the intermediate word for time, and its explicit output charge bounds that same word for workspace. Concatenation and framed pairing retain their output charge. All construction proofs use only plain certificates and machine-level combinators.
A common linear certificate includes the output bound through its actual clock.
A linear outer computation preserves both independent bounds of the inner certificate.
Concatenate two computed encodings, retaining the sum of both charged bounds.
A fixed output is charged within constant workspace, even when its input is unbounded.
A fixed output fits the input-length charged workspace bound.
Standard framed pairing, with the sum of the original time and charged workspace bounds.
Copy an encoded value without changing its independent representation.
Project the first computed component without changing either independent budget.
Project the second computed component without changing either independent budget.
Reinterpret an encoding along an equivalence, retaining the same machine and budgets.