[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 9 from proof crash-neutral-readpage (previous step)
| # buf = VFS_PAGE_SIZE, afs-cons(dirs, files), m ∈ files
⊦ ⟨fail#(; ; err)⟩ true, ⟨if pageno ∈ files[m].content then buf := files[m].content[pageno] else buf := zeropage; err := ESUCCESS⟩ true |
Heuristic elimination applied rule insert elim lemma
And obtained the following new goals
- Proof step 10:
# buf = VFS_PAGE_SIZE, files[m] = mkfile(m0, md, m1, content), afs-cons(dirs, files), m ∈ files
⊦ ⟨fail#(; ; err)⟩ true, ⟨if pageno ∈ content then buf := content[pageno] else buf := zeropage; err := ESUCCESS⟩ true
Rule argument
spec: abstract-file
name: elim
seq: ⊦ ((m = af.size ∧ md = af.meta) ∧ m0 = af.nlink)
∧ content = af.content
↔ af = mkfile(m, md, m0, content)
subst: [af, m, md, m0, content] → [files[m], m0, md, m1, content]Additional information
Used simplifier rules:
⊦ ((m = af.size ∧ md = af.meta) ∧ m0 = af.nlink)
∧ content = af.content
↔ af = mkfile(m, md, m0, content); (elim)
Used terms: files[m], m0, md, m1, content