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

⟨let new_inode = inode in {new_inode.size := m0; files := files1[ino2, files1[ino2].content:= (content[pageno, fill(files1[ino2].content[pageno], zero, ino, VFS_PAGE_SIZE - ino)] upto ino0)]; afs_inode_sync#(new_inode; dirs, files)}; inode := getinode(inode.ino, dirs, files); err := ESUCCESS⟩ ( ino = ino1 ∧ ino0 = ino3 ∧ (isdir ↔ isdir0) ∧ pageno = pageno0 ∧ some(fill(files1[ino2].content[pageno], zero, ino, VFS_PAGE_SIZE - ino)) = buf-opt1 ∧ files = files0 ∧ dirs = dirs0 ∧ inode = inode0 ∧ err = ESUCCESS), isdir ↔ inode.size ≤ m0 ∧ ino ≠ 0 ∧ (m0 / VFS_PAGE_SIZE ∈ content ∨ buf-opt.some?), files1[ino4] = mkfile(m0, md, # links(ino4, dirs), content0), files0[ino4] = mkfile(m, md0, m1, content1), buf-opt = none, content = files1[inode.ino].content, ino = inode.size % VFS_PAGE_SIZE, ino0 = min(m0, inode.size), ino2 = inode.ino, ino5 = 0, ino6 = 0, inode = mkinode(ino4, md, false, # links(ino4, dirs), 0, m0), isdir, pageno = m0 / VFS_PAGE_SIZE, afs-cons(dirs0, files0), afs-cons(dirs, files1), files1 ~ files0, ino4 ∈ files1, pageno ∈ files1[ino2].content, ino + (VFS_PAGE_SIZE - ino) ≤ # files1[ino2].content[pageno], VFS_PAGE_SIZE ≥ ino, inode.size ≤ m0 → ino ≠ 0 → VFS_PAGE_SIZE ≠ 0 ⊦ files1 -- ino4 = files0 -- ino4, VFS_PAGE_SIZE = 0

Heuristic symbolic execution applied rule let left

And obtained the following new goals

Rule argument

Additional information