| err = ESUCCESS, err0 = err1, root.dir?, fids-cons(root, fs, ofh), pre-mkdir(path, md, err, user, root, fs, ofh) ⊦ ⟪psynced := ?⟫ (root[path, dnode(md, ∅)].dir? ∧ fids-cons(root[path, dnode(md, ∅)], fs, ofh)) |
root.dir?, root[parent(path)].dir?, fids-cons(root, fs, ofh), py(user, parent(path), root, fs), parent(path) ∈ root, ¬ path ∈ root ⊦ ⟪psynced := ?⟫ fids-cons(root[path, dnode(md, ∅)], fs, ofh)
Used simplifier rules: p ≠ ε ⊦ tree.dir? ∧ parent(p) ∈ tree → tree[p, tree0].dir?; (s)% ⊦ ε ∈ tree; (s)% ⊦ tree[ε, tree0] = tree0; (s)%⊦ pre-mkdir(p, md, ESUCCESS, user, root, fs, ofh) ↔ ¬ p ∈ root ∧ parent(p) ∈ root ∧ root[parent(p)].dir? ∧ py(user, parent(p), root, fs); (s)