| root.dir?, fids-cons(root, fs, ofh), ofh[fd].fid ∈ fs, fd ∈ ofh, n ≤ # buf, ofh[fd].mode = MODE_W ∨ ofh[fd].mode = MODE_RW ⊦ ∃ n1. n1 ≤ n |
ofh[fd] = mkfh(fid, mode, m), root.dir?, fids-cons(root, fs, ofh), fd ∈ ofh, fid ∈ fs, n ≤ # buf, mode = MODE_W ∨ mode = MODE_RW ⊦ ∃ n1. n1 ≤ n
Used simplifier rules: ⊦ (fid = fh.fid ∧ mode = fh.mode) ∧ m = fh.pos ↔ fh = mkfh(fid, mode, m); (elim) Used terms: ofh[fd], fid, mode, m