M5: frames #
SameTree s s': s' differs from s at most in the range pointers (first, last) and the
stored weights of nodes, in paths and in tags. The live tree, the tables, the weights and
everything computed from them
are then the same (SameTree.*), and so are the parts of the invariant that read only those.
Equality of the node records and ancestor data observed by the top-tree proofs.
- node (u : ℕ) : nd s' u = let __src := nd s u; { height := __src.height, livePar := __src.livePar, children := __src.children, weight := (nd s' u).weight, table := __src.table, inTables := __src.inTables, first := (nd s' u).first, last := (nd s' u).last, draining := __src.draining, t1 := __src.t1, t2 := __src.t2, side := __src.side, overflowOf := __src.overflowOf, alive := __src.alive }