| # buf0 = VFS_PAGE_SIZE, VFS_PAGE_SIZE = n0 + (m2 - m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE), (∅)[m3] = mkientry(boolvar1, mkinode(m4, md, boolvar0, m5, m6, m7)), cache_files[m3] = mkfile(m1, md2, # links(m3, cache_dirs), content1), cache_pcache0[datakey(m3, m2 / VFS_PAGE_SIZE)] = mkpentry(boolvar, buf0), # (content1 ⊕ mkcontent(m3, cache_pcache0))[m2 / VFS_PAGE_SIZE] < VFS_PAGE_SIZE, 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), datakey(m3, m2 / VFS_PAGE_SIZE) ∈ cache_pcache0, m3 ∈ cache_files, m2 ≤ m, m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE ≤ m2, cache_sync → synced(cache_files, cache_icache, cache_pcache0), ∀ key. key ∈ cache_pcache0 → key.data? ⊦ m2 - m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE = 0, VFS_PAGE_SIZE = 0, m3 ∈ cache_icache |
# buf0 = VFS_PAGE_SIZE, m2 + n0 = m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE + VFS_PAGE_SIZE, cache_pcache0[datakey(m3, m2 / VFS_PAGE_SIZE)] = mkpentry(boolvar, buf0), cache_files[m3] = mkfile(m1, md2, # links(m3, cache_dirs), content1), (∅)[m3] = mkientry(boolvar1, mkinode(m4, md, boolvar0, m5, m6, m7)), # (content1 ⊕ mkcontent(m3, cache_pcache0))[m2 / VFS_PAGE_SIZE] < VFS_PAGE_SIZE, 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), m3 ∈ cache_files, datakey(m3, m2 / VFS_PAGE_SIZE) ∈ cache_pcache0, m2 ≤ m, cache_sync → synced(cache_files, cache_icache, cache_pcache0), ∀ key. key ∈ cache_pcache0 → key.data? ⊦ m2 = m2 / VFS_PAGE_SIZE * VFS_PAGE_SIZE, m3 ∈ cache_icache
Used simplifier rules: ⊦ m ≤ n → (n - m = 0 ↔ n = m); (s)% ⊦ VFS_PAGE_SIZE ≠ 0; (s)%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%n ≤ m ⊦ (m - n) + n0 = n1 ↔ m + n0 = n + n1; (s)%mult-c: ⊦ m * n = n * m; from specification nat-mult%mult-a: ⊦ m0 * m * n = (m0 * m) * n; from specification nat-mult%n ≠ 0 ⊦ m / n * n ≤ m; (s)