[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 2 from proof rest-rec (previous step)
| ⊦ restn(n, x) = restn(n - 1, x.rest), n = 0 |
User applied rule insert elim lemma
And closed the goal!
Rule argument
spec: nat
inst:
name: elim-pred-c
seq: n ≠ 0 ⊦ m = n - 1 ↔ n = m + 1
subst: [n, m] → [n, m]
flags: Additional information
Used simplifier rules:
restN-rec: ⊦ restn(n + 1, x) = restn(n, x.rest);%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%n ≠ 0 ⊦ m = n - 1 ↔ n = m + 1; (elim)
Used terms: n, m