| tree0.dir?, dom of1 < ino, abs(tree0, ROOT_INO)(dirs0), afs-cons(dirs0, files1), afs-cons(dirs0 \ orphans(dirs0, files1), files1 \ orphans(dirs0, files1)), fids-cons(tree0, abs-files(files1), abs-of(of1)), of-cons(of1, dirs0, files1), of-cons(∅, dirs0 \ orphans(dirs0, files1), files1 \ orphans(dirs0, files1)), posix-crash(tree0, abs-files(files1), abs-of(of1), tree, fs, ofh) ⊦ ⟨posix_recover#(isdir2; tree, fs, ofh; psynced, err0)⟩ (ofh = ∅ ∧ fs = abs-files(files1 \ orphans(dirs0, files1)) ∧ abs(tree, ROOT_INO)(dirs0 \ orphans(dirs0, files1)) ∧ ESUCCESS = err0) |
isdir ↔ isdir2, root = tree, tree0.dir?, dom of1 < ino, abs(tree0, ROOT_INO)(dirs0), afs-cons(dirs0 \ orphans(dirs0, files1), files1 \ orphans(dirs0, files1)), afs-cons(dirs0, files1), fids-cons(tree0, abs-files(files1), abs-of(of1)), of-cons(∅, dirs0 \ orphans(dirs0, files1), files1 \ orphans(dirs0, files1)), of-cons(of1, dirs0, files1), posix-crash(tree0, abs-files(files1), abs-of(of1), tree, fs, ofh) ⊦ ⟨fail_or_success#(; ; err); if err ≠ ESUCCESS then root := ?, fs := ?, ofh := ?, psynced := ? else psynced := true⟩ (ofh = ∅ ∧ fs = abs-files(files1 \ orphans(dirs0, files1)) ∧ abs(root, ROOT_INO)(dirs0 \ orphans(dirs0, files1)) ∧ ESUCCESS = 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 };