The reservation process preserves INV-S (Lemma 3.2: reservation and top tag writes) #
splitChunkStart x links two new, empty chunks y, z right before and after x, then
insertAround gives them tags under guards against their chunk-list neighbours. Between the
linking and the tag writes INV-S does not hold (the new chunks still have tag 0), so the proof
follows the computation: the read-only preparation leaves the state unchanged, the two guarded
writes put ty, tz strictly between their neighbours' tags, and the rest only touches the
top structure.
Frames for insertAround's parts #
The state relation asserting literal equality of the two cores.
Equations
- OrderMaintenance.Proof.Unchanged s s' = (s' = s)
Instances For
The hypotheses under which linkChunkPair does what it should.
Instances For
A tag write.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The state after allocating two chunks.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Two guarded tag writes preserve every other field of each chunk.
Linking two new chunks around x and tagging them (under their guards) preserves INV-S.
Lemma 3.2 for the background work of one insertion.