| # links(m, cache_dirs) = 0, cache_dirs[m] = mkdir(m0, md0, 0, m2, entries), cache_icache[ino] = mkientry(boolvar0, mkinode(m1, md, boolvar, m3, m4, m5)), 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), ino ∈ cache_files, m ∈ cache_dirs, cache_sync → synced(cache_files, cache_icache, cache_pcache) ⊦ ((cache_files ⊕ cache_pcache) ⊕ cache_icache)[ino] = ((cache_files ⊕ cache_pcache) ⊕ (cache_icache -- m))[ino], ino = m, m = ROOT_INO, ¬ boolvar ∧ ino ∈ cache_icache, ino ∈ cache_icache -- m ∧ (cache_icache -- m)[ino].inode.directory |
# links(m, cache_dirs) = 0, cache_dirs[m] = mkdir(m0, md0, 0, m2, entries), cache_icache[ino] = mkientry(boolvar0, mkinode(m1, md, boolvar, m3, m4, m5)), 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), ino ∈ cache_files, m ∈ cache_dirs, cache_sync → synced(cache_files, cache_icache, cache_pcache) ⊦ ((cache_files ⊕ cache_pcache) ⊕ cache_icache)[ino] = ((cache_files ⊕ cache_pcache) ⊕ (cache_icache -- m))[ino], ino = m, m = ROOT_INO, ¬ boolvar ∧ ino ∈ cache_icache, ino ∈ cache_icache ∧ boolvar
Used simplifier rules: ⊦ mkinode(m, md, boolvar, m0, m1, m2).directory ↔ boolvar; (s)% ⊦ mkientry(boolvar, inode).inode = inode; (s)% ⊦ ino ≠ ino0 → (icache -- ino0)[ino] = icache[ino]; (s)% ⊦ ino ∈ icache -- ino0 ↔ ino ≠ ino0 ∧ ino ∈ icache; (s)