| tree0.dir?, dom of1 < ino, abs(tree0, ROOT_INO)(dirs0), afs-cons(dirs0, files1), fids-cons(tree0, abs-files(files1), abs-of(of1)), of-cons(of1, dirs0, files1), posix-crash(tree0, abs-files(files1), abs-of(of1), tree, fs, ofh), ⌊err0⌋ ⊦ ⟨posix_recover#(isdir2; root0, fs1, ofh1; psynced0, err1)⟩ (tree1 = root0 ∧ fs0 = fs1 ∧ ofh0 = ofh1 ∧ (isdir ↔ psynced0) ∧ err0 = err1) |
isdir ↔ isdir2, fs = fs1, ofh = ofh1, root = root0, tree0.dir?, dom of1 < ino, abs(tree0, ROOT_INO)(dirs0), afs-cons(dirs0, files1), fids-cons(tree0, abs-files(files1), abs-of(of1)), of-cons(of1, dirs0, files1), posix-crash(tree0, abs-files(files1), abs-of(of1), tree, fs2, ofh2), ⌊err0⌋ ⊦ ⟨fail_or_success#(; ; err); if err ≠ ESUCCESS then root := ?, fs := ?, ofh := ?, psynced := ? else psynced := true⟩ (tree1 = root ∧ fs0 = fs ∧ ofh0 = ofh ∧ (isdir ↔ psynced) ∧ err0 = err)
Used simplifier rules: posix_recover#(DOSYNC; ROOT, FS, OFH; PSYNCED, ERR) {fail_or_success#(; ; ERR); if ERR ≠ ESUCCESS then ROOT := ?, FS := ?, OFH := ?, PSYNCED := ? else PSYNCED := true };