[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 92 from proof refine-truncate-buff-none-uncached (previous step)

asynced1 ↔ true, VFS_PAGE_SIZE = n0 + m2 % VFS_PAGE_SIZE, cache_files[m1] = mkfile(m3, md1, # links(m1, cache_dirs), content), ((cache_files ⊕ cache_pcache0) ⊕ cache_icache)[m1] = mkfile(m0, md0, # links(m1, cache_dirs), content0), afs_files = (cache_files ⊕ cache_pcache0) ⊕ cache_icache, buf-opt = some(fill(content[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n0)), cache_pcache = truncate(ino, min(n, size), pcache), err = ESUCCESS, ino = m1, inode1 = (m1 ∈ cache_dirs ⊃ mkinode(m1, cache_dirs[m1].meta, true, cache_dirs[m1].nlink, cache_dirs[m1].nsubdirs, cache_dirs[m1].size) ;mkinode(m1, md, false, # links(m1, cache_dirs), 0, m) ), n = m, pcache = cache_pcache0, size = m2, afs-cons(cache_dirs, cache_files), afs-cons(cache_dirs, (cache_files ⊕ cache_pcache0) ⊕ cache_icache), dcache-cons(cache_dcache, cache_dirs, cache_files), icache-cons(cache_icache, cache_dirs, cache_files), pcache-cons(cache_pcache0, cache_dirs, cache_files), synced(cache_dirs, cache_icache, cache_pcache0), m1 ∈ cache_files, m2 / VFS_PAGE_SIZE ∈ content, m2 ≤ m, m2 % VFS_PAGE_SIZE + n0 ≤ # content[m2 / VFS_PAGE_SIZE], cache_sync → synced(cache_files, cache_icache, cache_pcache0), ∀ key. key ∈ pcache → key.data? ⊦ ⟪if asynced1 then pcache_set#(inode1.ino, m2 / VFS_PAGE_SIZE, buf-opt.buf, false; err, cache_pcache); if ¬ asynced1 ∨ err ≠ ESUCCESS then buf-opt := none⟫ ⟨buf-opt0 := none; inode0 := mkinode(m1, md, false, # links(m1, cache_dirs), 0, m2); cache_dirs0 := cache_dirs; cache_dirs1 := cache_dirs; cache_dirs2 := cache_dirs; cache_dirs3 := cache_dirs; cache_dirs0 := cache_dirs; afs_truncate#(m, m2 / VFS_PAGE_SIZE; buf-opt0, inode0, asynced5, err0, cache_dirs, afs_files, cache_asynced)⟩ ( cache_dirs = cache_dirs3 ∧ afs_files = ( cache_files [m1, mkfile (m, md, # links(m1, cache_dirs2), content[m2 / VFS_PAGE_SIZE, fill(content[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n0)] upto m2) ] ⊕ cache_pcache) ⊕ cache_icache[m1, mkientry(false, mkinode(m1, md, false, # links(m1, cache_dirs0), 0, m))] ∧ ¬ cache_asynced ∧ buf-opt = buf-opt0 ∧ inode1 = inode0 ∧ (asynced1 ↔ asynced5) ∧ err = err0), m2 % VFS_PAGE_SIZE = 0, VFS_PAGE_SIZE = 0, datakey(m1, m2 / VFS_PAGE_SIZE) ∈ cache_pcache0

Heuristic symbolic execution applied rule if positive right

And obtained the following new goals

Rule argument

Additional information