| # links(m, cache_dirs) = 0, 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), cache_icache[m] = mkientry(boolvar, mkinode(m1, md1, false, 0, m8, m9)), cache_pcache[datakey(ino, n)] = mkpentry(boolvar1, 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) ∈ cache_pcache, m ∈ cache_icache, ino ∈ cache_icache, ino ∈ cache_files, m ∈ cache_files, n ∈ content1 ⊕ mkcontent(ino, cache_pcache), n ∈ content1 ⊕ mkcontent(ino, evict(m, cache_pcache)), cache_sync → synced(cache_files, cache_icache, cache_pcache), ∀ key. key ∈ cache_pcache → key.data? ⊦ buf = (content1 ⊕ mkcontent(ino, evict(m, cache_pcache)))[n], ino = m, m = ROOT_INO, m ∈ cache_dirs |
⊦ n ∈ content1 → (content0 ⊕ content1)[n] = content1[n]
Used simplifier rules: ⊦ mkcontent(ino, pcache)[n] = pcache[datakey(ino, n)].page; (s)%⊦ ino ≠ ino0 ∧ datakey(ino, pageno) ∈ pcache → evict(ino0, pcache)[datakey(ino, pageno)] = pcache[datakey(ino, pageno)]; (s)% ⊦ n ∈ mkcontent(ino, pcache) ↔ datakey(ino, n) ∈ pcache; (s)%⊦ ino ≠ ino0 → ( datakey(ino, pageno) ∈ evict(ino0, pcache) ↔ datakey(ino, pageno) ∈ pcache); (s)% ⊦ mkpentry(boolvar, buf).page = buf; (s)% ⊦ ¬ n ∈ content1 → (content0 ⊕ content1)[n] = content0[n]; (s)% ⊦ n ∈ content0 ⊕ content1 ↔ n ∈ content0 ∨ n ∈ content1; (ws) Used terms: n, mkcontent(ino, evict(m, cache_pcache)), content1