| # buf0 = encoding-size(sb, EB_PAGE_SIZE), avol0 = avol, err = ESUCCESS, err = err0, ebm-vol-inv(avol), is-aligned(encoding-size(sb, EB_PAGE_SIZE), EB_PAGE_SIZE), is-encoded(sb, buf0), encoding-size(sb, EB_PAGE_SIZE) ≤ LEB_SIZE, ⌊err0⌋ ∨ err0 = ESUCCESS ⊦ [avol[0] := mapped(subarray(buf0, 0, encoding-size(sb, EB_PAGE_SIZE)))] ( ebm-vol-inv(avol) → (err = ESUCCESS ∨ ⌊err⌋ ) ∧ (err = ESUCCESS → id○(avol, avol0, 0) ∧ (∃ buf. is-encoded(sb, buf) ∧ avol[0] = mapped(buf))) ∧ (err ≠ ESUCCESS → avol = avol0)), # avol = 0 |
Used simplifier rules: ⊦ m < n → n ≠ 0; (s)% ⊦ n + 0 = n; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic%# buf = n ⊦ subarray(buf, 0, n) = buf; (s)% ⊦ 0 < m ↔ m ≠ 0; (s)% ⊦ ¬ ⌊ESUCCESS⌋ ; (s)% ⊦ id○(avol[n, aleb], avol0, n) ↔ id○(avol, avol0, n); (s)% ⊦ id○(avol, avol, n); (ss)%m < # avol ⊦ avol[m, aleb][m] = aleb; (s)% ⊦ mapped(buf) = mapped(buf0) ↔ buf = buf0; (s)