| dirs = dirs0 ⊦ [cache_fsync#(inode, bv, bv0; dirs, files, icache, pcache, asynced; err)] (dirs = dirs0) |
asynced1 ↔ bv, asynced0 ↔ bv0, dirs = dirs0 ⊦ [if valid-file-inode(inode, dirs, files) then {err := ESUCCESS; if ¬ asynced0 then {cache_fsync-pages#(inode, dirs; err, files, pcache, asynced); if err = ESUCCESS ∧ ¬ asynced1 then cache_fsync-inode#(; inode, err, dirs, files, icache, asynced); if err = ESUCCESS then afs_fsync#(inode, asynced1, dirs, files; ; asynced, err)}} else abort] (dirs = dirs0)
Used simplifier rules: cache_fsync# (INODE, ISDATASYNC, SYNC; DIRS, FILES, ICACHE, PCACHE, ASYNCED; ERR) {if valid-file-inode(INODE, DIRS, FILES) then {ERR := ESUCCESS; if ¬ SYNC then {cache_fsync-pages# (INODE, DIRS; ERR, FILES, PCACHE, ASYNCED); if ERR = ESUCCESS ∧ ¬ ISDATASYNC then cache_fsync-inode# (; INODE, ERR, DIRS, FILES, ICACHE, ASYNCED); if ERR = ESUCCESS then afs_fsync# (INODE, ISDATASYNC, DIRS, FILES; ; ASYNCED, ERR)}} else abort };