| err = ESUCCESS, err0 = err1, root.dir?, pre-renam(path, path', err, user, root, fs, ofh) ⊦ [let tree0 = root[path], psynced0 = path' ∈ root, tree = root[path'] in {root := (root -- path)[path', tree0]; if psynced0 ∧ ¬ tree.dir? ∧ ¬ tree.fid ∈ ofh.fids ∧ ¬ tree.fid ∈ root.fids then fs := fs -- tree.fid}; psynced := ?] root.dir? |
psynced0 ↔ path' ∈ root, err = ESUCCESS, err0 = err1, tree = root[path'], tree0 = root[path], root.dir?, pre-renam(path, path', err, user, root, fs, ofh) ⊦ [root := (root -- path)[path', tree0]; if psynced0 ∧ ¬ tree.dir? ∧ ¬ tree.fid ∈ ofh.fids ∧ ¬ tree.fid ∈ root.fids then fs := fs -- tree.fid; psynced := ?] root.dir?