| # buf = VFS_PAGE_SIZE, pcache[datakey(m, n), mkpentry(false, buf)][key] = mkpentry(boolvar, buf0), files1[m] = mkfile(m0, md, # links(m, dirs), content), files0[m] = mkfile(m0, md, # links(m, dirs), content1), pcache[datakey(m, n)] = mkpentry(true, buf), pcache1[key] = mkpentry(boolvar0, buf1), pcache[datakey(m, n), mkpentry(false, buf)][key0] = mkpentry(boolvar1, buf2), n * VFS_PAGE_SIZE < m2, afs-cons(dirs, files0), afs-cons(dirs, files1), afs-cons(dirs, files1[m, mkfile(m0, md, # links(m, dirs), content[n, buf])]), pcache-cons(pcache, dirs, files1), pcache-cons(pcache1, dirs, files0), datakey(m, n) ∈ pcache, m ∈ files1, m ∈ files0, key0 ∈ pcache[datakey(m, n), mkpentry(false, buf)], ∀ pageno. (pageno < n ⊃ (pageno ∈ content ↔ pageno ∈ content1 ⊕ mkcontent(m, pcache1)) ∧ content[pageno] = (content1 ⊕ mkcontent(m, pcache1))[pageno] ;(pageno ∈ content ↔ pageno ∈ content1) ∧ content[pageno] = content1[pageno] ), ∀ key. (key ∈ pcache ↔ key ∈ pcache1) ∧ pcache[key].page = pcache1[key].page ∧ (pcache[key].dirty → pcache1[key].dirty) ⊦ key0.data? ∧ # buf2 = VFS_PAGE_SIZE ∧ key0.ino ∈ files1 ∧ ( ¬ boolvar1 → key0.part ∈ (key0.ino = m ⊃ mkfile(m0, md, # links(key0.ino, dirs), content[n, buf]);files1[key0.ino]).content ∧ buf2 = (key0.ino = m ⊃ mkfile(m0, md, # links(key0.ino, dirs), content[n, buf]);files1[key0.ino]).content[key0.part]) |
# buf = VFS_PAGE_SIZE, (key0.ino = m ⊃ mkfile(m0, md, # links(key0.ino, dirs), content[n, buf]);files1[key0.ino]) = mkfile(m1, md0, m3, content0), pcache[datakey(m, n), mkpentry(false, buf)][key0] = mkpentry(boolvar1, buf2), pcache1[key] = mkpentry(boolvar0, buf1), pcache[datakey(m, n)] = mkpentry(true, buf), files0[m] = mkfile(m0, md, # links(m, dirs), content1), files1[m] = mkfile(m0, md, # links(m, dirs), content), pcache[datakey(m, n), mkpentry(false, buf)][key] = mkpentry(boolvar, buf0), n * VFS_PAGE_SIZE < m2, afs-cons(dirs, files1[m, mkfile(m0, md, # links(m, dirs), content[n, buf])]), afs-cons(dirs, files1), afs-cons(dirs, files0), pcache-cons(pcache1, dirs, files0), pcache-cons(pcache, dirs, files1), key0 ∈ pcache[datakey(m, n), mkpentry(false, buf)], m ∈ files0, m ∈ files1, datakey(m, n) ∈ pcache, ∀ key. (key ∈ pcache ↔ key ∈ pcache1) ∧ pcache[key].page = pcache1[key].page ∧ (pcache[key].dirty → pcache1[key].dirty), ∀ pageno. (pageno < n ⊃ (pageno ∈ content ↔ pageno ∈ content1 ⊕ mkcontent(m, pcache1)) ∧ content[pageno] = (content1 ⊕ mkcontent(m, pcache1))[pageno] ;(pageno ∈ content ↔ pageno ∈ content1) ∧ content[pageno] = content1[pageno] ) ⊦ key0.data? ∧ # buf2 = VFS_PAGE_SIZE ∧ key0.ino ∈ files1 ∧ (¬ boolvar1 → key0.part ∈ content0 ∧ buf2 = content0[key0.part])
Used simplifier rules: ⊦ ((m = af.size ∧ md = af.meta) ∧ m0 = af.nlink) ∧ content = af.content ↔ af = mkfile(m, md, m0, content); (elim) Used terms: (key0.ino = m ⊃ mkfile(m0, md, # links(key0.ino, dirs), content[n, buf]) ;files1[key0.ino] ), m1, md0, m3, content0