| VFS_PAGE_SIZE = n0 + m2 % VFS_PAGE_SIZE, dirs[m] = mkdir(m6, md2, m7, m8, entries), files[m] = mkfile(m0, md, # links(m, dirs), content0), n1 * VFS_PAGE_SIZE < m2, n1 * VFS_PAGE_SIZE < n, afs-cons(dirs, files), m ∈ files, m2 / VFS_PAGE_SIZE ∈ content0, ROOT_INO ∈ dirs, n1 ∈ content0[m2 / VFS_PAGE_SIZE, fill(content0[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n0)], m2 ≤ n ⊦ # content0[m2 / VFS_PAGE_SIZE, fill(content0[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n0)][n1] = VFS_PAGE_SIZE, m2 % VFS_PAGE_SIZE = 0, buf-opt.some?, m ∈ dirs |
⊦ n ≠ n0 → content[n0, buf][n] = content[n]
Used simplifier rules: ⊦ n ≠ n0 → (n ∈ content[n0, buf] ↔ n ∈ content); (s)%⊦ afs-cons(dirs, files) ∧ ino ∈ files ∧ files[ino] = mkfile(m, md, n0, content) ∧ n ∈ content → # content[n] = VFS_PAGE_SIZE; (s)% ⊦ content[n, buf][n] = buf; (s)% ⊦ # fill(buf, d, m, n) = # buf; (s) Used terms: n1, fill(content0[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n0), m2 / VFS_PAGE_SIZE, content0