| root.dir?, fids-cons(root, fs, ofh) ⊦ ⟪posix_open#(path, mode, user, root, fs; fd, err, ofh)⟫ fids-cons(root, fs, ofh) |
⊦
err0 = err, root.dir?, fids-cons(root, fs, ofh) ⊦ ⟪choose err with pre-open(path, mode, err, user, root, fs, ofh) in err0 := err; if err0 = ESUCCESS then let fid = root[path].fid in choose n with ¬ n ∈ ofh in {ofh[n] := mkfh(fid, mode, 0); fd := n}⟫ fids-cons(root, fs, ofh)
Used simplifier rules: open: ⊦ ;