| VFS_PAGE_SIZE = n0 + n1, files1[ino2] = mkfile(m0, md0, # links(ino2, dirs), content0), m0 = m1 * VFS_PAGE_SIZE + n1, root.dir?, dom of < ino3, n1 < VFS_PAGE_SIZE, 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 m0)]), 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 m0)]), pw(user, md0), px-parent(user, path, ROOT_INO, dirs, files1), m1 ∈ content0, ino2 ∈ files1, ROOT_INO ∈ dirs, m0 ≤ n, psynced → asynced0 ⊦ ⟨psynced := ?⟩ (resize((content0.stream to m0).buf, n) = ((content0[m1, fill(content0[m1], zero, n1, n0)] upto m0).stream to n).buf ∧ (psynced → asynced)), VFS_PAGE_SIZE = 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), n0 ≠ 0, n1 ≠ 0, root.dir?, dom of < ino3, n1 < VFS_PAGE_SIZE, 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, ¬ root[path].dir?, ¬ ino2 ∈ dirs, psynced → asynced0 ⊦ ⟨psynced := ?⟩ ( resize((content0.stream to m1 * VFS_PAGE_SIZE + n1).buf, n) = ((content0[m1, fill(content0[m1], zero, n1, n0)] upto (m1 * VFS_PAGE_SIZE + n1)).stream to n).buf ∧ (psynced → asynced))
Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ m < m + n ↔ n ≠ 0; (s)%lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic% ⊦ VFS_PAGE_SIZE ≠ 0; (s)