[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 30 from proof refine-create (previous step)

cache_dirs[m] = mkdir(m0, md1, # links(m, cache_dirs), m2, entries), dirs = cache_dirs[m, mkdir(m0 + 1, md1, # links(m, cache_dirs), m2, entries[str, ino])], files = (cache_files ++ ino)[ino, mkfile(0, md, 1, ∅)], inode = mkinode(m, md0, true, # links(m, cache_dirs), m2, m0), 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), m ∈ cache_dirs, cache_sync → synced(cache_files, cache_icache, cache_pcache), links(m, cache_dirs) ≠ ∅ ∨ m = ROOT_INO ⊦ ⟪let ino = inode.ino in if ino ∈ files then {files[ino].size := inode.size; files[ino].meta := inode.meta} else if ino ∈ dirs then dirs[ino].meta := inode.meta; p_inode := (m ∈ dirs ⊃ mkinode(m, dirs[m].meta, true, dirs[m].nlink, dirs[m].nsubdirs, dirs[m].size) ;mkinode(m, files[m].meta, false, files[m].nlink, 0, files[m].size) ); c_inode := getinode(mkdentry(str, ino).ino, dirs, files); asynced := ?; dent := mkdentry(str, ino); err := ESUCCESS; afs_files := (cache_files ⊕ cache_pcache) ⊕ cache_icache; if err = ESUCCESS then let asynced = false in {icache_set#(p_inode, asynced; err, cache_icache); icache_set#(c_inode, asynced; err, cache_icache); dcache_set#(p_inode.ino, dent.name, dent; err, cache_dcache)}⟫ ⟨dent0 := negdentry(str); p_inode0 := mkinode(m, md0, true, # links(m, cache_dirs), m2, m0); afs_create#(md; p_inode0, p_inode1, dent0, err0, cache_dirs, afs_files; afs_asynced)⟩ ( cache_dirs = dirs ∧ afs_files = (files ⊕ cache_pcache) ⊕ cache_icache ∧ (afs_asynced ↔ asynced) ∧ p_inode = p_inode0 ∧ c_inode = p_inode1 ∧ dent = dent0 ∧ err = err0), ino = 0, ino ∈ cache_dirs, ino ∈ cache_files, str ∈ entries

Heuristic symbolic execution applied rule let right

And obtained the following new goals

Rule argument

Additional information