| # buf1 = EB_PAGE_SIZE, pebs[m0] = mkpeb(buf0, m1, false), err = ESUCCESS, m0 < # pebs, mtd-cons(pebs), EB_PAGE_SIZE ≤ PEB_SIZE, err = ESUCCESS → buf1 = subarray(buf0, 0, EB_PAGE_SIZE), err = ESUCCESS ∨ ⌊err⌋ ⊦ ⟪decode_echeader#(EB_PAGE_SIZE, buf1; ehdr; err); if err = ESUCCESS then aehdr := aechdr(ehdr.ec)⟫ true, buf1 = emptypage |
pebs[m0] = mkpeb(buf0, m1, false), subarray(buf0, 0, EB_PAGE_SIZE) ≠ emptypage, m0 < # pebs, mtd-cons(pebs), EB_PAGE_SIZE ≤ PEB_SIZE ⊦ ⟪decode_echeader#(EB_PAGE_SIZE, subarray(buf0, 0, EB_PAGE_SIZE); ehdr; err); if err = ESUCCESS then aehdr := aechdr(ehdr.ec)⟫ true
Used simplifier rules: ⊦ # subarray(buf, m, n) = n; (s)