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

ii(n0) = m0 + 1, ii(0) = 0, (σ from m0 + 1) to # lf(n0).rest = ⌜lf(n0).rest⌝ , ii(n0 + 1) = (# lf(n0).rest + m0) + 1, m0 + # lf(n0) - 1 = # lf(n0).rest + m0, ⌜# lf(n0).rest⌝ + ⌜m0⌝ < # σ, ∀ n. σ[ii(n + 1) - 1] = lf(n + 1).first, ∀ n. n ≠ 0 → ii(n) ≠ 0, ∀ n. ii(n + 1) = ii(n) + # (n = 0 ⊃ lf(0);lf(n).rest) ∧ ¬ # σ < ⌜ii(n + 1)⌝ ∧ (σ from ii(n)) to # (n = 0 ⊃ lf(0);lf(n).rest) = ⌜(n = 0 ⊃ lf(0);lf(n).rest)⌝ , ∀ m, n. m ≤ n → ii(m) ≤ ii(n), ∀ n. lf(n).last = lf(n + 1).first ∧ lf(n) ≠ [], (finp(σ) ⊃ # σ = ⌜ii(n)⌝ ∧ (∀ m. n ≤ m → (m = 0 ⊃ lf(0);lf(m).rest) = [] ∧ ii(m) = ii(n));∀ n. ∃ m. ii(m) ≤ n ∧ n < ii(m + 1)) ⊦ (σ from m0) to # lf(n0) = ⌜lf(n0)⌝

User applied rule insert rewrite lemma

And obtained the following new goals

Rule argument

spec: stream inst: name: from-succ seq: ⊦ ⌜n⌝ < # σ → σ from n = σ[n] + (σ from n + 1) subst: [n, σ] → [m0, σ] flags: rewrite

Additional information

Used simplifier rules: lsle-trans: ⊦ n∞ < n∞1 ∧ ¬ n∞2 < n∞1 → n∞ < n∞2; (forward) from specification nat-inf%ls-natinf-to-nat-2-1: ⊦ ⌜n⌝ + ⌜m⌝ < ⌜n0⌝ ↔ n + m < n0; from specification nat-inf%l-02: ⊦ ¬ m + n < m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf%add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf Used terms: m0, σ