[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 312 from proof inv-write (previous step)

m1 + n1 = m1 / VFS_PAGE_SIZE * VFS_PAGE_SIZE + VFS_PAGE_SIZE, of[n0] = mkfile(m2, mode0, m3), files1[m] = mkfile(m1, md, # links(m, dirs), content0), of[fd] = mkfile(m, mode, m0), of[fd, mkfile(m, mode, m0 + ino4)][n0] = mkfile(m4, mode1, m5), m1 = n2 + m1 / VFS_PAGE_SIZE * VFS_PAGE_SIZE, dom of < ino3, afs-cons(dirs, files1), afs-cons(dirs, files), of-cons(of, dirs, files1), of-cons(of, dirs, files), fd ∈ of, m1 / VFS_PAGE_SIZE ∈ content0, m ∈ files1, n0 ∈ of[fd, mkfile(m, mode, m0 + ino4)], n0 ∈ of, m2 ∈ files1, m1 % VFS_PAGE_SIZE + n1 ≤ VFS_PAGE_SIZE, n2 + n1 ≤ VFS_PAGE_SIZE, n ≤ # buf0, m0 + ino4 ≤ m1 ⊦ ino4 = 0, n = 0, n2 = 0, m4 ∈ files, mode ≠ MODE_W ∧ mode ≠ MODE_RW, err1 = ESUCCESS ∧ ¬ isdir

User applied rule insert rewrite lemma

And obtained the following new goals

Rule argument

spec: store, inst: open-files name: At-other seq: ⊦ fd ≠ fd0 → of[fd0, file][fd] = of[fd] subst: [fd, file, fd0, of] → [n0, mkfile(m, mode, m0 + ino4), fd, of] flags: <all paths>

Additional information

Used simplifier rules: ⊦ fd ≠ fd0 → (fd ∈ of[fd0, file] ↔ fd ∈ of); (s)%⊦ of-cons(of, dirs, files) ∧ fd ∈ of ∧ of[fd] = mkfile(ino, mode, n) → ino ∈ files; (ss)% ⊦ of[fd, file][fd] = file; (s)%⊦ mkfile(m, mode, m0) = mkfile(m1, mode0, m2) ↔ m = m1 ∧ mode = mode0 ∧ m0 = m2; (ws)% ⊦ fd ∈ of[fd, file]; (s) Used terms: n0, mkfile(m, mode, m0 + ino4), fd, of