[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 ex-ls-add (conclusion) (back to tree)

⊦ i < j ↔ (∃ i0. j = i + i0 ∧ 0 < i0)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: add-less: ⊦ 0 < i → i1 < i1 + i; add-a: ⊦ i + j + i0 = (i + j) + i0; add-c: ⊦ i + j = j + i;

Proof step 2 from proof ex-ls-add (previous step) (back to tree)

i < j ⊦ ∃ i0. j = i + i0 ∧ 0 < i0

User applied rule structural induction

And obtained the following new goals

Rule argument

indvar: i

Additional information

Used simplifier rules: add-zero-rev: ⊦ 0 + i = i; add-a: ⊦ i + j + i0 = (i + j) + i0; add-c: ⊦ i + j = j + i; int generated by 0, +1, -1;; lf-07: ⊦ ¬ i < i0 ∧ j < i0 → j < i; (forward) from specification int-basic1 lf-04: ⊦ ¬ j < i ∧ j < i0 → i < i0; (forward) from specification int-basic1

Proof step 3 from proof ex-ls-add (previous step) (back to tree)

i0 +1 < j, ∀ j. i0 < j → (∃ i1. j = i0 + i1 ∧ 0 < i1) ⊦ ∃ i1. j = i0 +1 + i1 ∧ 0 < i1

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: succ-01: ⊦ i +1 = i + 1; add-a: ⊦ i + j + i0 = (i + j) + i0;

Proof step 4 from proof ex-ls-add (previous step) (back to tree)

i0 + 1 < j, ∀ j. i0 < j → (∃ i1. j = i0 + i1 ∧ 0 < i1) ⊦ ∃ i1. j = (i0 + 1) + i1 ∧ 0 < i1

User applied rule all left

And closed the goal!

Rule argument

pos: left 2 terms: j -1 abort: F discard: F computed: F

Additional information

Used simplifier rules: lst-03: ⊦ i + j < i0 ∧ ¬ j < j0 → i + j0 < i0; succ-01: ⊦ i +1 = i + 1; ls-01: ⊦ i + j < i + i0 ↔ j < i0; add-less: ⊦ 0 < i → i1 < i1 + i; add-in: ⊦ i + j = i + i0 ↔ j = i0; add-a: ⊦ i + j + i0 = (i + j) + i0; add-c: ⊦ i + j = j + i; ⊦ i < j -1 ↔ i +1 < j; (s) ⊦ i = j -1 ↔ i +1 = j; (s) Used terms: j -1

Proof step 5 from proof ex-ls-add (previous step) (back to tree)

i0 -1 < j, ∀ j. i0 < j → (∃ i1. j = i0 + i1 ∧ 0 < i1) ⊦ ∃ i1. j = i0 -1 + i1 ∧ 0 < i1

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: add-pred-01: ⊦ i -1 + j = (i + j)-1; add-a: ⊦ i + j + i0 = (i + j) + i0; add-c: ⊦ i + j = j + i; succ-01: ⊦ i +1 = i + 1; ⊦ i = j -1 ↔ i +1 = j; (s) ⊦ i -1 < j ↔ i < j +1; (s)

Proof step 6 from proof ex-ls-add (previous step) (back to tree)

i0 < j + 1, ∀ j. i0 < j → (∃ i1. j = i0 + i1 ∧ 0 < i1) ⊦ ∃ i1. j + 1 = i0 + i1 ∧ 0 < i1

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: int-basic1, name:lsrec, seq: ⊦ i < j ↔ i +1 = j ∨ i +1 < j, subst:[j, i] → [j + 1, i0], <all paths>

Additional information

Used terms: j + 1, i0

Proof step 7 from proof ex-ls-add (previous step) (back to tree)

⊦ i < j ↔ i +1 = j ∨ i +1 < j

A spec-lemma

Proof step 8 from proof ex-ls-add (previous step) (back to tree)

∀ j. i0 < j → (∃ i1. j = i0 + i1 ∧ 0 < i1), i0 +1 = j + 1 ∨ i0 +1 < j + 1 ⊦ ∃ i1. j + 1 = i0 + i1 ∧ 0 < i1

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: add-in: ⊦ i + j = i + i0 ↔ j = i0; succ-01: ⊦ i +1 = i + 1; ls-01: ⊦ i + j < i + i0 ↔ j < i0; add-a: ⊦ i + j + i0 = (i + j) + i0; add-c: ⊦ i + j = j + i;

Proof step 9 from proof ex-ls-add (previous step) (back to tree)

∀ j. i0 < j → (∃ i1. j = i0 + i1 ∧ 0 < i1), i0 = j ∨ i0 < j ⊦ ∃ i1. j + 1 = i0 + i1 ∧ 0 < i1

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: i0 = j

Additional information

Used simplifier rules: add-in: ⊦ i + j = i + i0 ↔ j = i0; add-a: ⊦ i + j + i0 = (i + j) + i0; add-c: ⊦ i + j = j + i; Used formulas: i0 = j

Proof step 10 from proof ex-ls-add (previous step) (back to tree)

i0 ≠ j, ∀ j. i0 < j → (∃ i1. j = i0 + i1 ∧ 0 < i1), i0 = j ∨ i0 < j ⊦ ∃ i1. j + 1 = i0 + i1 ∧ 0 < i1

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 11 from proof ex-ls-add (previous step) (back to tree)

i0 ≠ j, i0 < j, ∀ j. i0 < j → (∃ i1. j = i0 + i1 ∧ 0 < i1) ⊦ ∃ i1. j + 1 = i0 + i1 ∧ 0 < i1

User applied rule all left

And closed the goal!

Rule argument

pos: left 3 terms: j abort: F discard: F computed: T

Additional information

Used simplifier rules: eq: ⊦ i = i + j ↔ j = 0; add-less: ⊦ 0 < i → i1 < i1 + i; add-in: ⊦ i + j = i + i0 ↔ j = i0; zero-02: ⊦ 0 < i ∧ 0 < j → 0 < i + j; add-a: ⊦ i + j + i0 = (i + j) + i0; add-c: ⊦ i + j = j + i; lf-02: ⊦ i < j ∧ j = i0 → i < i0; (forward) from specification int-basic1 Used terms: j

Proof Tree for ex-ls-add (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