| # links(m, cache_dirs) = 0, cache_pcache[datakey(ino, n)] = mkpentry(boolvar1, buf), cache_files[m] = mkfile(m0, md0, 0, content), cache_files[ino] = mkfile(m6, md2, # links(ino, cache_dirs), content1), cache_icache[m] = mkientry(boolvar2, mkinode(m7, md3, true, m8, m9, m10)), (∅)[ino] = mkientry(boolvar0, mkinode(m2, md, boolvar, m3, m4, m5)), evict(m, cache_pcache)[datakey(ino, n)] = mkpentry(boolvar3, buf0), afs-cons(cache_dirs, (cache_files ⊕ cache_pcache) ⊕ 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_pcache, cache_dirs, cache_files), synced(cache_dirs, cache_icache, cache_pcache), datakey(ino, n) ∈ evict(m, cache_pcache), m ∈ cache_icache, ino ∈ cache_files, m ∈ cache_files, datakey(ino, n) ∈ cache_pcache, cache_sync → synced(cache_files, cache_icache, cache_pcache), ∀ key. key ∈ cache_pcache → key.data? ⊦ buf = buf0, m = ROOT_INO, ino ∈ cache_icache, m ∈ cache_dirs |
⊦ ino ≠ ino0 ∧ datakey(ino, pageno) ∈ pcache → evict(ino0, pcache)[datakey(ino, pageno)] = pcache[datakey(ino, pageno)]
Used simplifier rules: ⊦ mkpentry(boolvar, buf) = mkpentry(boolvar0, buf0) ↔ (boolvar ↔ boolvar0) ∧ buf = buf0; (ws) Used terms: n, ino, cache_pcache, m