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