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

jvalid0 ↔ true, gndx = [], jmaxino = 0, jmaxino0 = jmaxino1, ndx0 = ndx ⊦ ⟪while ndx0 ≠ [] do {/* (inv-transaction : invariant ∃ ndx. ndx0` = ndx + ndx0 ∧ (ndx0 = [] → transaction(ndx0`, gndx)) ∧ (ndx0 ≠ [] → transaction-prefix(ndx0`, gndx) ∧ # gndx = # ndx) ∧ jmaxino = gndx.flashsize ∧ (jvalid0 ↔ ndx = []) wfbound # ndx0) */; let jvalid = # ndx0 = 1 in let gnd = mkgnode(ndx0.head, jmaxino0 + # gndx, jvalid0, jvalid) in {gndx := gndx + gnd; jmaxino := jmaxino + gnd.flashsize; ndx0 := ndx0.tail; jvalid0 := false}}⟫ (transaction(ndx, gndx) ∧ jmaxino = gndx.flashsize)

Heuristic annotation applied rule annotation right

And obtained the following new goals

Rule argument

rule: invariant right arg: bound: # ndx0 inv: ∃ ndx. ndx0` = ndx + ndx0 ∧ (ndx0 = [] → transaction(ndx0`, gndx)) ∧ ( ndx0 ≠ [] → transaction-prefix(ndx0`, gndx) ∧ # gndx = # ndx) ∧ jmaxino = gndx.flashsize ∧ (jvalid0 ↔ ndx = []) fmapos: right 1 pos: right 1

Additional information

Used simplifier rules: ⊦ ndx + [] = ndx; (s)%a: ⊦ (ndx + ndx0) + ndx1 = ndx + ndx0 + ndx1; from specification list[node-list]% ⊦ ndx = ndx0 + ndx ↔ ndx0 = []; (s)% ⊦ transaction([], gndx) ↔ gndx = []; (s)% ⊦ transaction-prefix(ndx, []) ↔ ndx ≠ []; (s)% ⊦ # [] = 0; (s)% ⊦ # [] = 0; (s)% ⊦ [].flashsize = 0; (s) Used formulas: ∃ ndx. ndx0` = ndx + ndx0 ∧ (ndx0 = [] → transaction(ndx0`, gndx)) ∧ (ndx0 ≠ [] → transaction-prefix(ndx0`, gndx) ∧ # gndx = # ndx) ∧ jmaxino = gndx.flashsize ∧ (jvalid0 ↔ ndx = []), # ndx0 = # ndx0