Ci/tree borrows
Full proof that adjacent read accesses can be swapped in a sequential setting. This relies on
- commutation: if in state
s0
the sequenceread1; read2;
suceeds and results in states1
, thenread2; read1;
also goes froms0
tos1
- persistencce: if in state
s0
the accessread1
succeeds and results in states1
, thenread2
suceeds ins0
if and only if it suceeds ins1
.
The resulting theorems are in theories/tree_borrows/read_reorder.v
.
Will be merged when I fix the mangling.
Edited by Neven Villani