| VFS_PAGE_SIZE = n0 + n1, files1[ino2] = mkfile(m1 * VFS_PAGE_SIZE + n1, md0, # links(ino2, dirs), content0), root.dir?, n3 < VFS_PAGE_SIZE, dom of < ino3, n1 < VFS_PAGE_SIZE, m0 * VFS_PAGE_SIZE + n3 < n, abs(root, ROOT_INO)(dirs), afs-cons(dirs, files1), afs-cons(dirs, files1[ino2, mkfile(n, md0, # links(ino2, dirs), content0[m1, fill(content0[m1], zero, n1, n0)] upto (m1 * VFS_PAGE_SIZE + n1))]), fids-cons(root, abs-files(files1), abs-of(of)), ispath(path, ROOT_INO, ino2, dirs, files1), of-cons(of, dirs, files1), of-cons (of, dirs, files1[ino2, mkfile(n, md0, # links(ino2, dirs), content0[m1, fill(content0[m1], zero, n1, n0)] upto (m1 * VFS_PAGE_SIZE + n1))]), pw(user, md0), px-parent(user, path, ROOT_INO, dirs, files1), m1 ∈ content0, ino2 ∈ files1, ROOT_INO ∈ dirs, m1 * VFS_PAGE_SIZE + n1 ≤ n, psynced0 → asynced0 ⊦ (m1 * VFS_PAGE_SIZE + n1 ≤ m0 * VFS_PAGE_SIZE + n3 ⊃ zero ;getpage((m0 * VFS_PAGE_SIZE + n3) / VFS_PAGE_SIZE, content0)[(m0 * VFS_PAGE_SIZE + n3) % VFS_PAGE_SIZE] ) = (m0 * VFS_PAGE_SIZE < m1 * VFS_PAGE_SIZE + n1 ∧ m0 ∈ content0[m1, fill(content0[m1], zero, n1, n0)] ⊃ content0[m1, fill(content0[m1], zero, n1, n0)][m0] ;zeropage ) [n3 ], n0 = 0, n1 = 0, root[path].dir?, ino2 ∈ dirs |
VFS_PAGE_SIZE = n0 + n1, files1[ino2] = mkfile(m1 * VFS_PAGE_SIZE + n1, md0, # links(ino2, dirs), content0), root.dir?, m0 * VFS_PAGE_SIZE + n3 < n, n1 < VFS_PAGE_SIZE, dom of < ino3, n3 < VFS_PAGE_SIZE, abs(root, ROOT_INO)(dirs), afs-cons(dirs, files1[ino2, mkfile(n, md0, # links(ino2, dirs), content0[m1, fill(content0[m1], zero, n1, n0)] upto (m1 * VFS_PAGE_SIZE + n1))]), afs-cons(dirs, files1), fids-cons(root, abs-files(files1), abs-of(of)), ispath(path, ROOT_INO, ino2, dirs, files1), of-cons (of, dirs, files1[ino2, mkfile(n, md0, # links(ino2, dirs), content0[m1, fill(content0[m1], zero, n1, n0)] upto (m1 * VFS_PAGE_SIZE + n1))]), of-cons(of, dirs, files1), pw(user, md0), px-parent(user, path, ROOT_INO, dirs, files1), ROOT_INO ∈ dirs, ino2 ∈ files1, m1 ∈ content0, m1 * VFS_PAGE_SIZE + n1 ≤ n, psynced0 → asynced0 ⊦ (m1 * VFS_PAGE_SIZE + n1 ≤ m0 * VFS_PAGE_SIZE + n3 ⊃ zero;getpage(m0, content0)[n3]) = (m0 * VFS_PAGE_SIZE < m1 * VFS_PAGE_SIZE + n1 ∧ m0 ∈ content0[m1, fill(content0[m1], zero, n1, n0)] ⊃ content0[m1, fill(content0[m1], zero, n1, n0)][m0] ;zeropage ) [n3 ], n0 = 0, n1 = 0, root[path].dir?, ino2 ∈ dirs
Used simplifier rules: ⊦ m < n → m % n = m; (s)%n ≠ 0 ⊦ (m + n0 * n) % n = m % n; (s)%mult-c: ⊦ m * n = n * m; from specification nat-mult%mult-a: ⊦ m0 * m * n = (m0 * m) * n; from specification nat-mult%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ n + 0 = n; (s)% ⊦ m < n → m / n = 0; (s)%n ≠ 0 ⊦ (n0 + m * n) / n = n0 / n + m; (s)% ⊦ VFS_PAGE_SIZE ≠ 0; (s)