| tree.dir?, fids-cons(tree, fs, ofh), posix-crash(tree, fs, ofh, root, fs0, ofh0) ⊦ ⟪posix_recover#(psynced0; root, fs0, ofh0; psynced1, err)⟫ (err = ESUCCESS → psynced1 ∧ root.dir? ∧ fids-cons(root, fs0, ofh0)) |
⊦
fs = fs0, ofh = ofh0, tree.dir?, fids-cons(tree, fs1, ofh1), posix-crash(tree, fs1, ofh1, root, fs0, ofh0) ⊦ ⟪fail_or_success#(; ; err); if err ≠ ESUCCESS then root := ?, fs := ?, ofh := ?, psynced := ? else psynced := true⟫ (err = ESUCCESS → psynced ∧ root.dir? ∧ fids-cons(root, fs, ofh))
Used simplifier rules: recover: ⊦ ;