[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
,
Theorem encode-contract
EB_PAGE_SIZE ≤ # buf, buf0 = buf ⊦ ⟪encode_pagesize#(EB_PAGE_SIZE, a; buf; err)⟫ ((err = ESUCCESS ∨ ⌊err⌋ ) ∧ # buf = # buf0 ∧ (err = ESUCCESS → is-encoded-pagesize(a, subarray(buf, 0, EB_PAGE_SIZE))))
Type: A user defined theorem
Validity: The proof is valid.
Features:
Comment:
Used by:
Used by units in proved state:
Proof exists?: Yes
View
the proof
Infos about the proof
Proved?: Yes
Interactions: 7
Proof steps: 22
Used lemmas:
is-encoded-pagesize
,
encode
,
Used spec theorems:
encoding-fixed-size-nonempty
/
encode-contract
array-copy
/buffer/
subarray-subarray-elim
encoding-fixed-size-nonempty
/
is-encoded-nonempty
array
/buffer/
Extension
Used simplifier rules:
array-copy
/buffer/
subarray-zero
nat
/
elim-sub
nat
/
lep
nat
/
let
eraseblock
/
empbuf-eq-emptypage
nat-basic
/
eq-02
nat-basic
/
lf-02
nat
/
le-ls-simp
array-copy
/buffer/
subarray-elim
nat
/
lels-02
nat
/
fle-01
encoding-fixed-size-nonempty
/
is-encoded-size
nat-basic
/
lf
nat-basic
/
trans
nat-basic
/
ls-02
encoding-fixed-size-nonempty
/
is-encoded-unique
eraseblock
/
isempty-empbuf
eraseblock
/
emptypage-at
nat
/
ls-le-simp
nat
/
lels
eraseblock
/
emptypage-size
nat-basic
/
lf-01
eraseblock
/
page-size
encoding-fixed-size
/
encoding-requires-space
nat
/
fle
nat-basic
/
f
array-splice
/buffer/
emparray-at
nat-basic
/
c
nat-basic
/
a
nat-basic
/
add-base
array-copy
/buffer/
subarray-at
array-splice
/buffer/
emparray-len
array-copy
/buffer/
size-subarray
nat
/
le-def
error
/
disj-78
error-class
/
einval