[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 pop-corr (previous step)

a ' + x = tolist(mk(ar, i, i0, n→i(# x) + 1), 1 + # x), i0 < n→i(# ar), inv(mk(ar, i, i0, n→i(# x) + 1)), inv(mk(ar, i, (i0 + 1) % i, n→i(# x))), 0 ≤ i0, n < # x ⊦ ar[(1 + i→n(i0) + n) % i→n(i)] = ar[(i→n((i0 + 1) % i) + n) % i→n(i)], # ar = 0, x = []

User applied rule insert spec-lemma

And obtained the following new goals

Rule argument

[x0lemmaarg: spec-name: ring-buffer-inv instance-name: lemma-name: inv antecedent: succedent: inv(buf) ↔ buf .size = n→i(# buf .data) ∧ buf .size ≠ 0 ∧ 0 ≤ buf .first ∧ buf .first < buf .size ∧ 0 ≤ buf .len ∧ buf .len ≤ buf .size substlist: [buf] → [mk(ar, i, i0, n→i(# x) + 1)] add preconditions?: F is rewrite lemma?: F current spec?: F rotate lemma?: F replace all?: F paths: () dummy: () ]

Additional information

[[CONCRETESIMPRULES : ()], [EXTRATERMS : (mk(ar, i, i0, n→i(# x) + 1))]]