[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 1 from proof val-total (conclusion) (back to tree)

⊦ str < str2 ∨ str = str2 ∨ str2 < str

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof val-total (previous step) (back to tree)

str ≠ str2, ¬ str < str2, ¬ str2 < str ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 3 from proof val-total (previous step) (back to tree)

str ≠ str2, ¬ str < str2, ¬ str2 < str ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

indvar: str

Additional information

Used simplifier rules: less-empty: ⊦ "" < str ↔ str ≠ ""; string freely generated by "", +;;

Proof step 4 from proof val-total (previous step) (back to tree)

char + str0 ≠ str2, ¬ char + str0 < str2, ¬ str2 < char + str0, ∀ str2. ¬(str0 ≠ str2 ∧ ¬ str0 < str2 ∧ ¬ str2 < str0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a + x = a ' + x; (s)

Proof step 5 from proof val-total (previous step) (back to tree)

char ' + str0 ≠ str2, ¬ char ' + str0 < str2, ¬ str2 < char ' + str0, ∀ str. str0 = str ∨ str0 < str ∨ str < str0 ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

indvar: str2

Additional information

Used simplifier rules: Less-empty: ⊦ "" < char ' + str; string freely generated by "", +;; ⊦ a ' + x ≠ ""; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[string]

Proof step 6 from proof val-total (previous step) (back to tree)

char ' + str0 ≠ char0 + str, ¬ char ' + str0 < char0 + str, ¬ char0 + str < char ' + str0, ∀ str. str0 = str ∨ str0 < str ∨ str < str0, ∀ char, str0. ¬(char ' + str0 ≠ str ∧ ¬ char ' + str0 < str ∧ ¬ str < char ' + str0 ∧ (∀ str. str0 = str ∨ str0 < str ∨ str < str0)) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: Less-rec: ⊦ char1 ' + str1 < char2 ' + str2 ↔ char1 < char2 ∨ char1 = char2 ∧ str1 < str2; a: ⊦ (x + y) + z = x + y + z; from specification list[string] ⊦ a + x = a ' + x; (s)

Proof step 7 from proof val-total (previous step) (back to tree)

char ' + str0 ≠ char0 ' + str, ¬ char < char0, ¬ char0 < char, ∀ str. str0 = str ∨ str0 < str ∨ str < str0, ∀ char1, str1. char1 ' + str1 = str ∨ char1 ' + str1 < str ∨ str < char1 ' + str1 ∨ ¬(∀ str. str1 = str ∨ str1 < str ∨ str < str1) ⊦ char = char0 ∧ str0 < str, char0 = char ∧ str < str0

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list[string], name:firsteq, seq:y ≠ "" ⊦ a ' + x = y + z ↔ a = y.char1 ∧ x = y.rstring + z, subst:[z, y, x, a] → [str, char0 ', str0, char], <all paths>

Additional information

Used simplifier rules: ⊦ a ' ≠ ""; (s) Used terms: str, char0 ', str0, char

Proof step 8 from proof val-total (previous step) (back to tree)

y ≠ "" ⊦ a ' + x = y + z ↔ a = y.char1 ∧ x = y.rstring + z

A spec-lemma

Proof step 9 from proof val-total (previous step) (back to tree)

char0 ' ≠ "", ¬ char < char0, ¬ char0 < char, ∀ char1, str1. char1 ' + str1 = str ∨ char1 ' + str1 < str ∨ str < char1 ' + str1 ∨ ¬(∀ str. str1 = str ∨ str1 < str ∨ str < str1), ∀ str. str0 = str ∨ str0 < str ∨ str < str0, char ≠ char0 '.char1 ∨ str0 ≠ char0 '.rstring + str ⊦ char0 = char ∧ str < str0, char = char0 ∧ str0 < str

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[string] ⊦ "" + x = x; (s) ⊦ a '.rstring = ""; (s) ⊦ a '.char1 = a; (s) ⊦ a ' ≠ ""; (s)

Proof step 10 from proof val-total (previous step) (back to tree)

¬ char < char0, ¬ char0 < char, ∀ str. str0 = str ∨ str0 < str ∨ str < str0, ∀ char1, str1. char1 ' + str1 = str ∨ char1 ' + str1 < str ∨ str < char1 ' + str1 ∨ ¬(∀ str. str1 = str ∨ str1 < str ∨ str < str1), char ≠ char0 ∨ str0 ≠ str ⊦ char = char0 ∧ str0 < str, char0 = char ∧ str < str0

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:Char-total, seq: ⊦ char1 < char2 ∨ char1 = char2 ∨ char2 < char1, subst:[char1, char2] → [char, char0]

Additional information

Used terms: char, char0

Proof step 11 from proof val-total (previous step) (back to tree)

⊦ char1 < char2 ∨ char1 = char2 ∨ char2 < char1

Lemma Char-total

Proof step 12 from proof val-total (previous step) (back to tree)

¬ char < char0, ¬ char0 < char, ∀ char1, str1. char1 ' + str1 = str ∨ char1 ' + str1 < str ∨ str < char1 ' + str1 ∨ ¬(∀ str. str1 = str ∨ str1 < str ∨ str < str1), ∀ str. str0 = str ∨ str0 < str ∨ str < str0, char ≠ char0 ∨ str0 ≠ str, char < char0 ∨ char = char0 ∨ char0 < char ⊦ char0 = char ∧ str < str0, char = char0 ∧ str0 < str

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: Char-irref: ⊦ ¬ char < char;

Proof step 13 from proof val-total (previous step) (back to tree)

str0 ≠ str, ¬ str < str0, ¬ str0 < str, ∀ char1, str1. char1 ' + str1 = str ∨ char1 ' + str1 < str ∨ str < char1 ' + str1 ∨ ¬(∀ str. str1 = str ∨ str1 < str ∨ str < str1), ∀ str. str0 = str ∨ str0 < str ∨ str < str0 ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 5 terms: str

Additional information

Used terms: str

Proof Tree for val-total (View conclusion)

The following image shows the proof tree of sequent calculus. The proved goal is at the bottom. You can click on the nodes to view additional rules. See here for details on colors in a proof tree.

the proof tree