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

files[m] = mkfile(m1, md1, # links(m, dirs), content0), content = files[inode.ino].content, ino = inode.ino, inode = mkinode(m, md, false, # links(m, dirs), 0, m2), old_ino = min(n, inode.size), old_ino0 = inode.size % VFS_PAGE_SIZE, old_ino1 = 0, old_ino2 = 0, pageno = m2 / VFS_PAGE_SIZE, afs-cons(dirs, files), m ∈ files, buf-opt.some? → # buf-opt.buf = VFS_PAGE_SIZE, buf-opt = none ∨ # buf-opt.buf = VFS_PAGE_SIZE ⊦ ⟪if inode.size ≤ n ∧ old_ino0 ≠ 0 ∧ (pageno ∈ content ∨ buf-opt.some?) then {if buf-opt.some? then buf := buf-opt.buf else buf := files[ino].content[pageno]; buf := fill(buf, zero, old_ino0, VFS_PAGE_SIZE - old_ino0); content[pageno] := buf; buf-opt := some(buf)}; files[ino].content := content upto old_ino; let new_inode = inode in {new_inode.size := n; afs_inode_sync#(new_inode; dirs, files)}; inode := getinode(inode.ino, dirs, files); err := ESUCCESS; asynced := ?⟫ true, VFS_PAGE_SIZE = 0

Heuristic conditional right split applied rule if right

And obtained the following new goals

Rule argument

pos: right 1

Additional information