[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 12 from proof inv-evict (previous step)

m ≠ ROOT_INO, afs-cons(dirs, files), dcache-cons(dcache, dirs, files), icache-cons(icache, dirs, files), pcache-cons(pcache, dirs, files), synced(dirs, icache, pcache), asynced1 → synced(files, icache, pcache), m ∈ dirs ∧ m0 = dirs[m].nlink ∧ m2 = dirs[m].size ∧ m1 = dirs[m].nsubdirs ∧ boolvar ∨ m ∈ files ∧ m0 = files[m].nlink ∧ m1 = 0 ∧ ¬ boolvar ⊦ [afs_evict#(mkinode(m, md, boolvar, m0, m1, m2), asynced0; err, dirs, files)] ( afs-cons(dirs, files) → ⟪if err = ESUCCESS ∧ m0 = 0 then {icache_delete#(m; err, icache); if ¬ boolvar then pcache_evict#(m; err, pcache)}⟫ ( icache-cons(icache, dirs, files) ∧ dcache-cons(dcache, dirs, files) ∧ pcache-cons(pcache, dirs, files) ∧ synced(dirs, icache, pcache) ∧ (asynced1 → synced(files, icache, pcache))))

Heuristic unfold applied rule call right

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Used simplifier rules: afs_evict#(INODE, ASYNCED; ERR, DIRS, FILES) {if pre-evict(INODE, DIRS, FILES) then {ERR := ESUCCESS; let INO = INODE.ino in if INO ∈ DIRS then if DIRS[INO].nlink = 0 then DIRS := DIRS -- INO else if FILES[INO].nlink = 0 then FILES := FILES -- INO} else abort };