[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 4 from proof eqpos (previous step)

pos(char1, char ' + str0) = pos(char2, char ' + str0), pos(char2, char ' + str0) ≤ # str0, ∀ char1, char2. pos(char1, str0) = pos(char2, str0) ∧ pos(char2, str0) < # str0 → char1 = char2 ∨ str0 = "" ⊦ char1 = char2

User applied rule insert rewrite lemma

And obtained the following new goals

Rule argument

spec: list-del inst: string-new name: pos-n seq: ⊦ char ≠ char0 → pos(char, char0 ' + str) = pos(char, str) + 1 subst: [str, char0, char] → [str0, char, char1] flags: rewrite

Additional information

Used simplifier rules: pos-y: ⊦ pos(char, char ' + str) = 0; from specification list-del[string-new]%a: ⊦ (str + str0) + str1 = str + str0 + str1; from specification list[string-new]%pos-n: ⊦ char ≠ char0 → pos(char, char0 ' + str) = pos(char, str) + 1; from specification list-del[string-new]%z-01: ⊦ m + n = 0 ↔ m = 0 ∧ n = 0; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2 Used terms: str0, char, char1