[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 15 from proof encode-contract (previous step)

# buf1 = # buf, # buf = n0 + n + ENCODED_ELEM_SIZE, subarray(buf1, 0, n) = subarray(buf, 0, n), subarray(buf1, n + ENCODED_ELEM_SIZE, n0) = subarray(buf, n + ENCODED_ELEM_SIZE, n0), is-encoded(a, subarray(buf1, n, ENCODED_ELEM_SIZE)), isempty(buf1, n, ENCODED_ELEM_SIZE), n + ENCODED_ELEM_SIZE ≤ # buf ⊦ ⟪debug#("encoding_nonempty: encoding is empty"); err := EINVAL⟫ ((err = ESUCCESS ∨ ⌊err⌋ ) ∧ (err = ESUCCESS → subarray(buf1, n, ENCODED_ELEM_SIZE) ≠ mkempbuf(ENCODED_ELEM_SIZE)))

User applied rule insert program lemma

And obtained the following new goals

Rule argument

spec: debug name: debug seq: ⊦ ⟪debug#(str)⟫ true subst: [str] → ["encoding_nonempty: encoding is empty"] flags: <all paths>

Additional information