| VFS_PAGE_SIZE = n0 + m2 % VFS_PAGE_SIZE, (∅)[datakey(m3, m2 / VFS_PAGE_SIZE)] = mkpentry(boolvar0, buf0), files1[m3] = mkfile(m5, md2, # links(m3, dirs), content1), afs-cons(dirs, files1), afs-cons (dirs, files1 [m3, mkfile(m, md, # links(m3, dirs), content1[m2 / VFS_PAGE_SIZE, fill(content1[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n0)] upto m2) ]), synced(dirs, icache, pcache0), m2 / VFS_PAGE_SIZE ∈ content1, m3 ∈ files1, m2 ≤ m, asynced2 → synced(files1, icache, pcache0), ∀ key0. key0 ∈ pcache0 → key0.data? ∧ # pcache0[key0].page = VFS_PAGE_SIZE ∧ key0.ino ∈ files1 ∧ (¬ pcache0[key0].dirty → key0.part ∈ files1[key0.ino].content ∧ pcache0[key0].page = files1[key0.ino].content[key0.part]), ∀ key. key ∈ pcache0 → key.data? ⊦ m2 % VFS_PAGE_SIZE = 0, datakey(m3, m2 / VFS_PAGE_SIZE) ∈ pcache0, # (content1[m2 / VFS_PAGE_SIZE, fill(content1[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n0)] upto m2)[m2 / VFS_PAGE_SIZE] = VFS_PAGE_SIZE ∧ m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE < m2 ∧ fill(content1[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n0) = (content1[m2 / VFS_PAGE_SIZE, fill(content1[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n0)] upto m2)[m2 / VFS_PAGE_SIZE], m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE < m2 ∧ m2 / VFS_PAGE_SIZE ∈ content1[m2 / VFS_PAGE_SIZE, fill(content1[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n0)] |
VFS_PAGE_SIZE = n0 + m2 % VFS_PAGE_SIZE, files1[m3] = mkfile(m5, md2, # links(m3, dirs), content1), (∅)[datakey(m3, m2 / VFS_PAGE_SIZE)] = mkpentry(boolvar0, buf0), afs-cons (dirs, files1 [m3, mkfile(m, md, # links(m3, dirs), content1[m2 / VFS_PAGE_SIZE, fill(content1[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n0)] upto m2) ]), afs-cons(dirs, files1), synced(dirs, icache, pcache0), m3 ∈ files1, m2 / VFS_PAGE_SIZE ∈ content1, m2 ≤ m, m2 ≤ m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE, asynced2 → synced(files1, icache, pcache0), ∀ key. key ∈ pcache0 → key.data?, ∀ key0. key0 ∈ pcache0 → key0.data? ∧ # pcache0[key0].page = VFS_PAGE_SIZE ∧ key0.ino ∈ files1 ∧ (¬ pcache0[key0].dirty → key0.part ∈ files1[key0.ino].content ∧ pcache0[key0].page = files1[key0.ino].content[key0.part]) ⊦ m2 % VFS_PAGE_SIZE = 0, datakey(m3, m2 / VFS_PAGE_SIZE) ∈ pcache0
Used simplifier rules: ⊦ m ≤ n → (n < m ↔ false); (s)% ⊦ m < n ↔ ¬ n ≤ m; (ss)% ⊦ n ∈ content[n, buf]; (s)