| # buf-opt0.buf = VFS_PAGE_SIZE, m2 + n1 = m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE + VFS_PAGE_SIZE, cache_pcache0[datakey(m4, n)] = mkpentry(boolvar0, buf), cache_files[m4] = mkfile(m1, md2, # links(m4, cache_dirs), content1), cache_icache[m4] = mkientry(boolvar, mkinode(m0, md0, false, # links(m4, cache_dirs), m5, m6)), truncate(m4, m2, cache_pcache0)[datakey(m4, n)] = mkpentry(boolvar1, buf0), m2 = n0 + m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE, buf-opt0.some?, n * VFS_PAGE_SIZE < m9, n * VFS_PAGE_SIZE < m2, afs-cons(cache_dirs, (cache_files ⊕ cache_pcache0) ⊕ cache_icache), afs-cons(cache_dirs, cache_files), dcache-cons(cache_dcache, cache_dirs, cache_files), icache-cons(cache_icache, cache_dirs, cache_files), pcache-cons(cache_pcache0, cache_dirs, cache_files), synced(cache_dirs, cache_icache, cache_pcache0), m4 ∈ cache_icache, m4 ∈ cache_files, n ∈ content1 ⊕ mkcontent(m4, cache_pcache0), datakey(m4, n) ∈ cache_pcache0, m2 ≤ m9, cache_sync → synced(cache_files, cache_icache, cache_pcache0), ∀ key. key ∈ cache_pcache0 → key.data? ⊦ buf = buf0, datakey(m4, n) = datakey(m4, m2 / VFS_PAGE_SIZE), m2 = m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE |
⊦ key.data? ∧ key ∈ pcache ∧ (key.part * VFS_PAGE_SIZE < size ∨ ino ≠ key.ino) → truncate(ino, size, pcache)[key] = pcache[key]
Used simplifier rules: ⊦ datakey(m, m0).data?; (s)% ⊦ datakey(m, m0).part = m0; (s)%⊦ mkpentry(boolvar, buf) = mkpentry(boolvar0, buf0) ↔ (boolvar ↔ boolvar0) ∧ buf = buf0; (ws) Used terms: datakey(m4, n), cache_pcache0, m2, m4