[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 14 from proof lls-unfold-tail (previous step)
| ((lls(r0, r, x) * r => a × r2 * P))(H) ⊦ ((lls(r0, r2, x + a ') * P))(H) |
User applied rule insert rewrite lemma
And obtained the following new goals
- Proof step 15:
x ≠ [] ⊦ ((r1 => x.last × r2 * lls(r0, r1, x.butlast) * P))(H) → ((lls(r0, r2, x) * P))(H)
Rule argument
spec: <toplevel>
name: lls-fold-tail
seq: x ≠ []
⊦ ((r1 => x.last × r2 * lls(r0, r1, x.butlast) * P))(H)
→ ((lls(r0, r2, x) * P))(H)
subst: [r1, H, P, x, r2, r0] → [r, H, P, x + a ', r2, r0]
flags: <all paths>Additional information
Used simplifier rules:
⊦ x + a ' ≠ []; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list% ⊦ (x + a ').last = a; (s)% ⊦ (x + a ').butlast = x; (s)%sep-ass: ⊦ (P0 * P1) * P2 = P0 * P1 * P2; from specification heap-sep%sep-com: ⊦ P0 * P1 = P1 * P0; from specification heap-sep
Used terms: r, H, P, x + a ', r2, r0