[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 12 from proof decode (previous step)

n0 = n, is-encoded(vtbl0, buf), err = ESUCCESS → is-encoded(n1, subarray(buf, 0, ENCODED_NAT_SIZE)) ∧ ENCODED_NAT_SIZE ≤ # buf ∧ n = ENCODED_NAT_SIZE, err = ESUCCESS ∨ ⌊err⌋ ⊦ ⟪vtbl := ∅; while n1 ≠ 0 ∧ err = ESUCCESS do {/* (decode : invariant (err = ESUCCESS ∨ ⌊err⌋ ) ∧ ( err = ESUCCESS → (∃ vtbl1. vtbl ⊥ vtbl1 ∧ # vtbl1 + # vtbl = n1` ∧ # vtbl1 = n1 ∧ # buf ≥ ENCODED_NAT_SIZE + n1` * (ENCODED_VOLID_SIZE + ENCODED_NAT_SIZE) ∧ n0 = ENCODED_NAT_SIZE + # vtbl * (ENCODED_VOLID_SIZE + ENCODED_NAT_SIZE) ∧ is-encoded(n1`, subarray(buf, 0, ENCODED_NAT_SIZE)) ∧ is-encoded-rec(vtbl, subarray(buf, ENCODED_NAT_SIZE, # vtbl * (ENCODED_VOLID_SIZE + ENCODED_NAT_SIZE))) ∧ is-encoded-rec(vtbl1, subarray(buf, n0, # vtbl1 * (ENCODED_VOLID_SIZE + ENCODED_NAT_SIZE))))) wfbound n1) */; let v = ?, m = ? in {decode_volid#(n0, buf; v, n; err); if err = ESUCCESS then {n0 := n0 + n; decode_nat#(n0, buf; m, n; err); if err = ESUCCESS then {n0 := n0 + n; vtbl[v] := m}}}; n1 := n1 - 1}⟫ ((err = ESUCCESS ∨ ⌊err⌋ ) ∧ (err = ESUCCESS → vtbl = vtbl0))

Heuristic symbolic execution applied rule assign right

And obtained the following new goals

Rule argument

Additional information