| m2 + n1 = m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE + VFS_PAGE_SIZE, truncate(m0, m2, cache_pcache0)[datakey(m0, m2 / VFS_PAGE_SIZE), mkpentry(false, fill(content1[m2 / VFS_PAGE_SIZE], zero, n0, n1))][datakey(m0, n)] = mkpentry(boolvar1, buf0), cache_files[m0] = mkfile(m3, md1, # links(m0, cache_dirs), content1), cache_icache[m0] = mkientry(boolvar0, mkinode(m4, md2, false, # links(m0, cache_dirs), m11, m12)), cache_pcache0[datakey(m0, n)] = mkpentry(boolvar, buf), fill(content1[m2 / VFS_PAGE_SIZE], zero, n0, n1) = fill((content1 ⊕ mkcontent(m0, cache_pcache0))[m2 / VFS_PAGE_SIZE], zero, n0, n1), m2 = n0 + m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE, n * VFS_PAGE_SIZE < m2, n * VFS_PAGE_SIZE < m7, afs-cons(cache_dirs, cache_files), afs-cons(cache_dirs, (cache_files ⊕ cache_pcache0) ⊕ cache_icache), 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), datakey(m0, n) ∈ cache_pcache0, n ∈ content1 ⊕ mkcontent(m0, cache_pcache0), m2 / VFS_PAGE_SIZE ∈ content1, m0 ∈ cache_files, m0 ∈ cache_icache, datakey(m0, n) ∈ truncate(m0, m2, cache_pcache0)[datakey(m0, m2 / VFS_PAGE_SIZE), mkpentry(false, fill(content1[m2 / VFS_PAGE_SIZE], zero, n0, n1))], m2 ≤ m7, VFS_PAGE_SIZE ≤ # (content1 ⊕ mkcontent(m0, cache_pcache0))[m2 / VFS_PAGE_SIZE], cache_sync → synced(cache_files, cache_icache, cache_pcache0), ∀ key. key ∈ cache_pcache0 → key.data? ⊦ buf = buf0, datakey(m0, n) = datakey(m0, m2 / VFS_PAGE_SIZE), m2 = m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE, datakey(m0, m2 / VFS_PAGE_SIZE) ∈ cache_pcache0 |
m2 + n1 = m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE + VFS_PAGE_SIZE, cache_pcache0[datakey(m0, n)] = mkpentry(boolvar, buf), cache_icache[m0] = mkientry(boolvar0, mkinode(m4, md2, false, # links(m0, cache_dirs), m11, m12)), cache_files[m0] = mkfile(m3, md1, # links(m0, cache_dirs), content1), truncate(m0, m2, cache_pcache0)[datakey(m0, n)] = mkpentry(boolvar1, buf0), fill(content1[m2 / VFS_PAGE_SIZE], zero, n0, n1) = fill((content1 ⊕ mkcontent(m0, cache_pcache0))[m2 / VFS_PAGE_SIZE], zero, n0, n1), m2 = n0 + m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE, n * VFS_PAGE_SIZE < m7, 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), m0 ∈ cache_icache, m0 ∈ cache_files, m2 / VFS_PAGE_SIZE ∈ content1, n ∈ content1 ⊕ mkcontent(m0, cache_pcache0), datakey(m0, n) ∈ cache_pcache0, VFS_PAGE_SIZE ≤ # (content1 ⊕ mkcontent(m0, cache_pcache0))[m2 / VFS_PAGE_SIZE], m2 ≤ m7, cache_sync → synced(cache_files, cache_icache, cache_pcache0), ∀ key. key ∈ cache_pcache0 → key.data? ⊦ buf = buf0, datakey(m0, n) = datakey(m0, m2 / VFS_PAGE_SIZE), m2 = m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE, datakey(m0, m2 / VFS_PAGE_SIZE) ∈ cache_pcache0
Used simplifier rules: ⊦ datakey(m, m0).part = m0; (s)% ⊦ datakey(m, m0).data?; (s)%⊦ key ∈ truncate(ino, size, pcache) ↔ key.data? ∧ key ∈ pcache ∧ (key.part * VFS_PAGE_SIZE < size ∨ ino ≠ key.ino); (s)% ⊦ key ≠ key0 → (key ∈ pcache[key0, pe] ↔ key ∈ pcache); (s)% ⊦ key ≠ key0 → pcache[key0, pe][key] = pcache[key]; (s)