| n < # lpt, n ∈ nx ⊦ replay-log(lpt, nx)[n] = mklp(lpt[n].ref-size, LEB_SIZE, LP_GROUP_NODES, lpt[n].gcheapidx) |
n < # lpt, n ∈ nx ⊦ lpt.mapIndices(elems nx, λ lp. mklp(lp.ref-size, LEB_SIZE, LP_GROUP_NODES, lp.gcheapidx))[n] = mklp(lpt[n].ref-size, LEB_SIZE, LP_GROUP_NODES, lpt[n].gcheapidx)
Used simplifier rules: replay-log: ⊦ replay-log(lpt, nx) = lpt .mapIndices (elems nx, λ lp. mklp(lp.ref-size, LEB_SIZE, LP_GROUP_NODES, lp.gcheapidx) );% ⊦ m < n → n ≠ 0; (s)%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic