[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 25 from proof refine-open (previous step)

root[path].dir? ↔ ino0 ∈ dirs, isdir ↔ false, err = ESUCCESS, err1 = ESUCCESS, err2 = err1, ino = ino0, root.dir?, dom of < ino2, abs(root, ROOT_INO)(dirs), afs-cons(dirs, files), fids-cons(root, abs-files(files), abs-of(of)), ispath(path, ROOT_INO, ino0, dirs, files), of-cons(of, dirs, files), pre-iget(ino, dirs, files), px-parent(user, path, ROOT_INO, dirs, files), psynced → asynced ⊦ [if err = ESUCCESS then if ¬(getinode(ino, dirs, files).directory ↔ isdir) then err := (getinode(ino, dirs, files).directory ⊃ EISDIR;ENOTDIR) else if (mode = MODE_R ∨ mode = MODE_RW) ∧ ¬ pr(user, getinode(ino, dirs, files).meta) ∨ (mode = MODE_W ∨ mode = MODE_RW) ∧ ¬ pw(user, getinode(ino, dirs, files).meta) then err := EACCESS; ofh := abs-of(of); fd := ino1; err1 := err; if err1 = ESUCCESS then {of[ino2] := mkfile(ino0, mode, 0); fd := ino2; ino2 := ino2 + 1}] ( of-cons(of, dirs, files) ∧ dom of < ino2 → ⟨posix_open#(path, mode, user, root, abs-files(files); ino1, err0, ofh)⟩ (ofh = abs-of(of) ∧ (psynced → asynced) ∧ fd = ino1 ∧ err1 = err0))

Heuristic symbolic execution applied rule if positive right

And obtained the following new goals

Rule argument

pos: right 1

Additional information