[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 24 from proof cut (previous step)
| # ar = m + 1, n ≤ m ⊦ ar[n] = copy(ar, 1, mkarray(m + 1), 1, m)[0, ar[0]][n], ar = [] |
User applied rule insert rewrite lemma
And obtained the following new goals
- Proof step 25:
⊦ m ≠ n → ar[n, a][m] = ar[m]
- Proof step 26:
# ar = m + 1, n ≤ m ⊦ ar[n] = copy(ar, 1, mkarray(m + 1), 1, m)[n], ar = [], n = 0
Rule argument
spec: array
name: Put-other
seq: ⊦ m ≠ n → ar[n, a][m] = ar[m]
subst: [m, a, n, ar]
→ [n, ar[0], 0, copy(ar, 1, mkarray(m + 1), 1, m)]
flags: <all paths>Additional information
Used simplifier rules:
⊦ # copy(ar, m, ar0, m0, n) = # ar0; (s)% ⊦ # mkarray(n) = n; (s)% ⊦ 0 < m ↔ m ≠ 0; (s)% ⊦ m + 1 ≠ 0; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic%m < # ar ⊦ ar[m, a][m] = a; (s)
Used terms: n, ar[0], 0, copy(ar, 1, mkarray(m + 1), 1, m)