[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 72 from proof move-split (previous step)

1 + # al1 + # al2 = # sl, ⌜al1⌝ ^ = ⌜a '⌝ , ⌜al2⌝ ^ = ⌜al0⌝ , n < # al1 + # al2, stepf(sl[n], al1[n], sl[n + 1]), n < # al1, # al1 < # sl, n < # sl, ∀ startf, stepf, s, s2, n. move(IOAut(startf, stepf))(s, ⌜al0⌝ , s2) ∧ n ≤ # al0 → (∃ s0. move(IOAut(startf, stepf))(s, ⌜al0 to n⌝ , s0) ∧ move(IOAut(startf, stepf))(s0, ⌜al0 from n⌝ , s2)) ⊦ sl = [], al1 = [], stepf(sl[n], al1[n], firstn(# al1 + 1, sl)[n + 1]), ∃ s. move(IOAut(startf, stepf))(hd(sl), ⌜a '⌝ + ⌜al0 to m⌝ , s) ∧ move(IOAut(startf, stepf))(s, ⌜al0 from m⌝ , sl.last)

Heuristic elimination applied rule insert elim lemma

And closed the goal!

Rule argument

spec: list-data inst: IOstatestream name: elim-list-c seq: sl ≠ [] ⊦ s = hd(sl) ∧ sl0 = tl(sl) ↔ sl = s + sl0 subst: [sl, s, sl0] → [sl, s1, sl0] flags:

Additional information

Used simplifier rules: ⊦ s + sl = s ' + sl;% ⊦ #(sl + sl0) = # sl + # sl0;% ⊦ # s ' = 0 +1;% ⊦ (sl + sl0) + sl1 = sl + sl0 + sl1;% ⊦ m + n = m + n0 ↔ n = n0;% ⊦ (m + n0) + n1 = m + n0 + n1;% ⊦ m + n = n + m;% ⊦ s ' + sl ≠ [];% ⊦ (s ' + sl)[n + 1] = sl[n];% ⊦ m < n + 1 ↔ ¬ n < m;% ⊦ firstn(n + 1, s ' + sl) = s + firstn(n, sl);% ⊦ ¬ m < n ↔ n ≤ m;% ⊦ n < m ∧ m ≤ # sl → firstn(m, sl)[n] = sl[n];%sl ≠ [] ⊦ s = hd(sl) ∧ sl0 = tl(sl) ↔ sl = s + sl0; (elim) Used terms: sl, s1, sl0