[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 127 from proof infinite-append-butlast (previous step)

ii(n1 + 1) = m0 + 1, ii(0) = 0, ii(2 + n1) = (m0 + 1) + # x0, lf(2 + n1) = (σ[m0] ' + x0).last ' + x1, (σ from m0 + 1) to # x0 = ⌜x0⌝ , (σ[m0] ' + x0).last ∈ lf(2 + n1), (finp(σ) ⊃ # σ = ⌜ii(n)⌝ ∧ (∀ m. n ≤ m → (m = 0 ⊃ lf(0);lf(m).tail) = [] ∧ ii(m) = ii(n));∀ n. ∃ m. ii(m) ≤ n ∧ n < ii(m + 1)), ∀ n. n ≠ 0 → ii(n) ≠ 0, ∀ m, n. m ≤ n → ii(m) ≤ ii(n) ⊦ σ[m0 + # x0] = (σ[m0] ' + x0).last, # σ < ⌜m0⌝ + ⌜1⌝ + ⌜# x0⌝

User applied rule insert rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last name: lapp seq: ⊦ y ≠ [] → (x + y).last = y.last subst: [y, x] → [x0, σ[m0] '] flags: <all paths>

Additional information

Used simplifier rules: ⊦ # [] = 0; (s)% ⊦ σ to 0 = []; (s)% ⊦ ⌜[]⌝ = []; (s)% ⊦ x + [] = x; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list% ⊦ a '.last = a; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic% ⊦ n + 0 = n; (s) Used terms: x0, σ[m0] '