[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 26 from proof refine-truncate (previous step)

isdir ↔ false, root[path].dir? ↔ ino1 ∈ dirs, err = ESUCCESS, err1 = ESUCCESS, err2 = err1, ino = ino1, inode = getinode(ino, dirs, files), mode = MODE_W, root.dir?, dom of < ino0, abs(root, ROOT_INO)(dirs), afs-cons(dirs, files), fids-cons(root, abs-files(files), abs-of(of)), ispath(path, ROOT_INO, ino1, dirs, files), of-cons(of, dirs, files), pre-iget(ino, dirs, files), px-parent(user, path, ROOT_INO, dirs, files), psynced → asynced ⊦ [if ¬(inode.directory ↔ isdir) then err := (inode.directory ⊃ EISDIR;ENOTDIR) else if (mode = MODE_R ∨ mode = MODE_RW) ∧ ¬ pr(user, inode.meta) ∨ (mode = MODE_W ∨ mode = MODE_RW) ∧ ¬ pw(user, inode.meta) then err := EACCESS; err1 := err; if err1 = ESUCCESS then afs_check_commit#(dirs, files; err1; asynced); pageno := 0; if err1 = ESUCCESS then pageno := inode.size / VFS_PAGE_SIZE; fs := abs-files(files); if err1 = ESUCCESS then {buf-opt := none; afs_truncate#(n, pageno; buf-opt, inode, isdir0, err1, dirs, files, asynced)}] ( of-cons(of, dirs, files) ∧ afs-cons(dirs, files) → ⟨posix_truncate#(path, n, user, root, abs-of(of); err0, fs; psynced)⟩ (fs = abs-files(files) ∧ abs(root, ROOT_INO)(dirs) ∧ (psynced → asynced) ∧ err1 = err0))

Heuristic conditional right split applied rule if right

And obtained the following new goals

Rule argument

pos: right 1

Additional information