[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 12 from proof prepost-read-orphans (previous step)

m4 + # lpt = # avol, avol[m5] = mapped(buf1), avol[m1] = mapped(buf3), avol[0] = mapped(buf2), m1 < # avol, disk-layout(mksb(adr, m6, m5, m1, m2, m3, m4), # lpt), ebm-vol-inv(avol), is-encoded(log, buf1), is-encoded(lpt, lebs(avol, m3, lptlebs(# lpt, LEB_SIZE))), is-encoded(mksb(adr, m6, m5, m1, m2, m3, m4), buf2), is-encoded-pad(orphans0, m2, buf3), mapped-full?(avol, m3, lptlebs(# lpt, LEB_SIZE)), m2 * ENCODED_NAT_SIZE ≤ LEB_SIZE, logoff ≠ LEB_SIZE → # buf1 = logoff ⊦ ⟪choose err0 with ⌊err0⌋ ∨ err0 = ESUCCESS in err := err0; buf3 := mkbuf(m2 * ENCODED_NAT_SIZE); if err = ESUCCESS then buf3 := copy(avol[m1].data + mkempbuf(LEB_SIZE - # avol[m1].data), 0, buf3, 0, m2 * ENCODED_NAT_SIZE) else {n0 := 0; n := m2 * ENCODED_NAT_SIZE; choose buf1 with # buf1 = # buf3 ∧ range=(buf3, 0, buf1, 0, n0) ∧ range=(buf3, n0 + n, buf1, n0 + n, # buf3 - n0 + n) in buf3 := buf1}; if err = ESUCCESS then persistence_io_decode_orphans#(m2, buf3; ; orphans, err)⟫ ((err = ESUCCESS ∨ ⌊err⌋ ) ∧ (err = ESUCCESS → orphans = orphans0))

Heuristic symbolic execution applied rule choose right

And obtained the following new goals

Rule argument

Additional information