[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 noeth-modlep (conclusion) (back to tree)

⊦ abs(j) < j1 → abs(j) * i ≤ abs(j) * i0 + j0 ∧ 0 ≤ j0 ∧ j0 < abs(j) → i ≤ i0

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof noeth-modlep (previous step) (back to tree)

j0 < abs(j), abs(j) < j1, abs(j) * i ≤ abs(j) * i0 + j0, 0 ≤ j0, ¬ i ≤ i0 ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

indvar: j1

Additional information

Used simplifier rules: int generated by 0, +1, -1;; ⊦ i < 0 ∧ 0 ≤ j → ¬ j < i; (s)

Proof step 3 from proof noeth-modlep (previous step) (back to tree)

abs(j) < j2 +1, j0 < abs(j), 0 ≤ j0, abs(j) * i ≤ abs(j) * i0 + j0, ¬ i ≤ i0, ∀ j0, j, i, i0. ¬(j0 < abs(j) ∧ abs(j) < j2 ∧ abs(j) * i ≤ abs(j) * i0 + j0 ∧ 0 ≤ j0 ∧ ¬ i ≤ i0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: forward-le-05: ⊦ i < j ∧ 0 ≤ i → 0 < j; (forward) from specification int-abs ⊦ 0 < abs(i) ↔ i ≠ 0; (s) forward-le-01: ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j; (forward) from specification int-abs forward-lsle: ⊦ i < j ∧ j ≤ j0 → i < j0; (forward) from specification int-abs ⊦ i ≤ j ↔ ¬ j < i; (ss) add-c: ⊦ i + j = j + i; from specification int-basic2 add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 ⊦ i < j + 1 ↔ i ≤ j; (s) ⊦ i +1 = i + 1; (s)

Proof step 4 from proof noeth-modlep (previous step) (back to tree)

j ≠ 0, j0 < j2, i0 < i, j0 < abs(j), 0 < j2, abs(j) ≤ j2, 0 ≤ j0, abs(j) * i ≤ abs(j) * i0 + j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: j < 0

Additional information

Used formulas: j < 0

Proof step 5 from proof noeth-modlep (previous step) (back to tree)

j ≠ 0, 0 < j2, j0 < abs(j), i0 < i, j0 < j2, j < 0, abs(j) * i ≤ abs(j) * i0 + j0, 0 ≤ j0, abs(j) ≤ j2, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: minus-left: ⊦ ~ i * j = ~(i * j); associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i; ⊦ i < 0 ∧ 0 ≤ j → i < j; (s) add-c: ⊦ i + j = j + i; from specification int-basic2 add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 ⊦ i + j < i + i0 ↔ j < i0; (s) ⊦ i + j < j ↔ i < 0; (s) forward-le-01: ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j; (forward) from specification int-abs forward-le-02: ⊦ j < i ∧ i ≤ 0 → j < 0; (forward) from specification int-abs forward-lsle: ⊦ i < j ∧ j ≤ j0 → i < j0; (forward) from specification int-abs ⊦ i < ~ j ↔ i + j < 0; (s) ⊦ i < 0 → abs(i) = ~ i; (s) ⊦ i + 0 = i; (s) ⊦ i ≤ j - i0 ↔ i + i0 ≤ j; (s) ⊦ i + (j - i0) = i + j - i0; (s) ⊦ ~ i ≤ j ↔ 0 ≤ i + j; (s) ⊦ i + ~ j = i - j; (s)

Proof step 6 from proof noeth-modlep (previous step) (back to tree)

j ≠ 0, j0 + j < 0, i0 < i, j < 0, 0 < j2, j0 < j2, j * i0 ≤ j * i + j0, 0 ≤ j0, 0 ≤ j + j2, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 10 terms: j0, j + 1, i, i0 abort: F discard: F computed: F

Additional information

Used terms: j0, j + 1, i, i0

Proof step 7 from proof noeth-modlep (previous step) (back to tree)

j ≠ 0, j0 < j2, 0 < j2, j < 0, i0 < i, j0 + j < 0, 0 ≤ j + j2, 0 ≤ j0, j * i0 ≤ j * i + j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2, ¬ j0 < abs(j + 1) ∨ ¬ abs(j + 1) < j2 ∨ ¬ abs(j + 1) * i ≤ abs(j + 1) * i0 + j0 ∨ ¬ 0 ≤ j0 ∨ i ≤ i0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: minus-left: ⊦ ~ i * j = ~(i * j); associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i; ⊦ i +1 = i + 1; (s) trans: ⊦ i < j ∧ j < j0 → i < j0; (forward) from specification int-basic1 lf-01: ⊦ i < j ∧ j < i0 → i +1 < i0; (forward) from specification int-basic1 ⊦ i < j → (j ≤ i ↔ false); (as) ⊦ i ≤ 0 ∧ 0 ≤ j → i ≤ j; (s) add-c: ⊦ i + j = j + i; from specification int-basic2 add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 ⊦ 0 + i = i; (s) ⊦ i ≤ j - i0 ↔ i + i0 ≤ j; (s) ⊦ i + (j - i0) = i + j - i0; (s) ⊦ ~ i ≤ j ↔ 0 ≤ i + j; (s) ⊦ i + ~ j = i - j; (s) ⊦ ~ i - j = ~(i + j); (s) ⊦ i < 0 → abs(i) = ~ i; (s) ⊦ i < 0 → abs(i + 1) = abs(i) - 1; (s) ⊦ ~1 < i ↔ 0 ≤ i; (s) ⊦ (* j) < i0 + (* j0) ↔ j - j0 < i0; (s) ⊦ ~ i < j ↔ 0 < j + i; (s) ⊦ i + (* j) < (* j0) ↔ i < j0 - j; (s) ⊦ i < ~ j ↔ i + j < 0; (s)

Proof step 8 from proof noeth-modlep (previous step) (back to tree)

j ≠ 0, j0 + j < j2, j0 < j2, 0 < j2, j < 0, i0 < i, j0 + j < 0, j + 1 < j2, j < j2, (j0 + j) + 1 < j2, 0 ≤ j + j2, 0 ≤ j0, j * i0 ≤ j * i + j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2, ¬ j0 + j < ~1 ∨ ¬ (j + 1) * i0 ≤ (j + 1) * i + j0 ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: j = ~1 - j0

Additional information

Used formulas: j = ~1 - j0

Proof step 9 from proof noeth-modlep (previous step) (back to tree)

j = ~1 - j0, j ≠ 0, (j0 + j) + 1 < j2, j < j2, j + 1 < j2, j0 + j < 0, i0 < i, j < 0, 0 < j2, j0 < j2, j0 + j < j2, j * i0 ≤ j * i + j0, 0 ≤ j0, 0 ≤ j + j2, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2, ¬ j0 + j < ~1 ∨ ¬ (j + 1) * i0 ≤ (j + 1) * i + j0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: add-c: ⊦ i + j = j + i; from specification int-basic2 add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 ⊦ i + (j - i) = j; (s) ⊦ ~1 < i ↔ 0 ≤ i; (s) ⊦ i - j < i0 ↔ i < j + i0; (s) ⊦ i + (j - i0) = i + j - i0; (s) ⊦ i ≤ 0 ∧ 0 ≤ j → i ≤ j; (s) ⊦ i + 0 = i; (s) ⊦ i + 1 ≤ j ↔ i < j; (s) ⊦ i ≤ j - i0 ↔ i + i0 ≤ j; (s) ⊦ i - j - i0 = i - j + i0; (s) i < 0 ⊦ (* i) + j = j - ~ i; (s) ⊦ i - j = i0 ↔ i = i0 + j; (s)

Proof step 10 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j0, j0 < j2, i0 < i, 0 < j0 + j2, 0 < j2, 0 ≤ j0, (~1 - j0) * i0 ≤ (~1 - j0) * i + j0, 0 ≤ j2, 0 ≤ j0 + j2, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:dist-sub-split, seq: ⊦ (i - j) * j0 = i * j0 - j * j0, subst:[j0, j, i] → [i0, j0, ~1], <all paths>

Additional information

Used terms: i0, j0, ~1

Proof step 11 from proof noeth-modlep (previous step) (back to tree)

⊦ (i - j) * j0 = i * j0 - j * j0

Lemma dist-sub-split

Proof step 12 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j0, 0 < j2, 0 < j0 + j2, i0 < i, j0 < j2, 0 ≤ j0 + j2, 0 ≤ j2, ~1 * i0 - j0 * i0 ≤ (~1 - j0) * i + j0, 0 ≤ j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:dist-sub-split, seq: ⊦ (i - j) * j0 = i * j0 - j * j0, subst:[j0, j, i] → [i, j0, ~1], <all paths>

Additional information

Used terms: i, j0, ~1

Proof step 13 from proof noeth-modlep (previous step) (back to tree)

⊦ (i - j) * j0 = i * j0 - j * j0

Lemma dist-sub-split

Proof step 14 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j0, j0 < j2, i0 < i, 0 < j0 + j2, 0 < j2, 0 ≤ j0, ~1 * i0 - j0 * i0 ≤ (~1 * i - j0 * i) + j0, 0 ≤ j2, 0 ≤ j0 + j2, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: minus-one-01: ⊦ i * ~1 = ~ i; associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i; add-c: ⊦ i + j = j + i; from specification int-basic2 add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 ⊦ i + 0 = i; (s) ⊦ i ≤ j - i0 ↔ i + i0 ≤ j; (s) ⊦ i + (j - i0) = i + j - i0; (s) ⊦ ~ i ≤ j ↔ 0 ≤ i + j; (s) ⊦ i + ~ j = i - j; (s) ⊦ ~ i - j = ~(i + j); (s)

Proof step 15 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j0, 0 < j2, 0 < j0 + j2, i0 < i, j0 < j2, 0 ≤ j0, 0 ≤ j0 + j2, 0 ≤ j2, i + j0 * i ≤ j0 * i0 + i0 + j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: int-abs, name:ple-01, seq:i < j, i0 ≤ j0 ⊦ i + i0 < j + j0, subst:[i, j, i0, j0] → [i0, i, (i0 + 1) * j0, i * j0]

Additional information

Used simplifier rules: dist-lsplit: ⊦ (i + i0) * j = i * j + i0 * j; one: ⊦ 1 * i = i; associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i; add-c: ⊦ i + j = j + i; from specification int-basic2 add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 ⊦ i ≤ j → ¬ j < i; (s) Used terms: i0, i, (i0 + 1) * j0, i * j0

Proof step 16 from proof noeth-modlep (previous step) (back to tree)

i < j, i0 ≤ j0 ⊦ i + i0 < j + j0

A spec-lemma

Proof step 17 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j0, j0 < j2, i0 < i, 0 < j0 + j2, 0 < j2, i + j0 * i ≤ j0 * i0 + i0 + j0, 0 ≤ j2, 0 ≤ j0 + j2, 0 ≤ j0, ¬ (i0 + 1) * j0 ≤ i * j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: dist-lsplit: ⊦ (i + i0) * j = i * j + i0 * j; one: ⊦ 1 * i = i; associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i; ⊦ i ≤ j ↔ ¬ j < i; (ss) add-c: ⊦ i + j = j + i; from specification int-basic2 add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2

Proof step 18 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j0, 0 < j2, 0 < j0 + j2, i0 < i, j0 < j2, i * j0 < i0 * j0 + j0, 0 ≤ j0, 0 ≤ j0 + j2, 0 ≤ j2, i + j0 * i ≤ j0 * i0 + i0 + j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:numsucc, seq: ⊦ (* i0) * i + i = (i0 + 1) * i, subst:[i0, i] → [i0, j0], <all paths>

Additional information

Used simplifier rules: commutativity: ⊦ i * j = j * i; Used terms: i0, j0

Proof step 19 from proof noeth-modlep (previous step) (back to tree)

⊦ (* i0) * i + i = (i0 + 1) * i

Lemma numsucc

Proof step 20 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j0, i * j0 < (i0 + 1) * j0, j0 < j2, i0 < i, 0 < j0 + j2, 0 < j2, i + j0 * i ≤ j0 * i0 + i0 + j0, 0 ≤ j2, 0 ≤ j0 + j2, 0 ≤ j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:ls-pos-01, seq: ⊦ 0 < j → (i * j < i0 * j ↔ i < i0), subst:[i0, j, i] → [i0 + 1, j0, i], <all paths>

Additional information

Used simplifier rules: dist-lsplit: ⊦ (i + i0) * j = i * j + i0 * j; one: ⊦ 1 * i = i; Mult-zero: ⊦ i * 0 = 0; associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i; ⊦ i < j + 1 ↔ i ≤ j; (s) ⊦ i < j → (j ≤ i ↔ false); (as) add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 add-c: ⊦ i + j = j + i; from specification int-basic2 ⊦ i < j ↔ ¬ j ≤ i; (ss) ⊦ i ≤ j → (j ≤ i ↔ i = j); (s) Used terms: i0 + 1, j0, i

Proof step 21 from proof noeth-modlep (previous step) (back to tree)

⊦ 0 < j → (i * j < i0 * j ↔ i < i0)

Lemma ls-pos-01

Proof step 22 from proof noeth-modlep (previous step) (back to tree)

j ≠ ~1 - j0, j ≠ 0, (j0 + j) + 1 < j2, j < j2, j + 1 < j2, j0 + j < 0, i0 < i, j < 0, 0 < j2, j0 < j2, j0 + j < j2, j * i0 ≤ j * i + j0, 0 ≤ j0, 0 ≤ j + j2, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2, ¬ j0 + j < ~1 ∨ ¬ (j + 1) * i0 ≤ (j + 1) * i + j0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ i - j = i0 ↔ i = i0 + j; (s)

Proof step 23 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j + j0, j ≠ 0, j0 + j < j2, j0 < j2, 0 < j2, j < 0, i0 < i, j0 + j < 0, j + 1 < j2, j < j2, (j0 + j) + 1 < j2, 0 ≤ j + j2, 0 ≤ j0, j * i0 ≤ j * i + j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2, ¬ j0 + j < ~1 ∨ ¬ (j + 1) * i0 ≤ (j + 1) * i + j0 ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: j0 + j < ~1

Additional information

Used simplifier rules: add-c: ⊦ i + j = j + i; from specification int-basic2 ⊦ ¬ i < j → (i = j ↔ ¬ j < i); (ss) ⊦ ~1 < i ↔ 0 ≤ i; (s) ⊦ i < j → (j ≤ i ↔ false); (as) Used formulas: j0 + j < ~1

Proof step 24 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j + j0, j ≠ 0, (j0 + j) + 1 < j2, j < j2, j + 1 < j2, j0 + j < 0, i0 < i, j < 0, 0 < j2, j0 < j2, j0 + j < j2, j0 + j < ~1, j * i0 ≤ j * i + j0, 0 ≤ j0, 0 ≤ j + j2, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2, ¬ j0 + j < ~1 ∨ ¬ (j + 1) * i0 ≤ (j + 1) * i + j0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ i ≤ j ↔ ¬ j < i; (ss)

Proof step 25 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j + j0, j ≠ 0, j0 + j < ~1, j0 + j < j2, j0 < j2, 0 < j2, j < 0, i0 < i, j0 + j < 0, j + 1 < j2, j < j2, (j0 + j) + 1 < j2, (j + 1) * i + j0 < (j + 1) * i0, 0 ≤ j + j2, 0 ≤ j0, j * i0 ≤ j * i + j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:dist-lsplit, seq: ⊦ (i + i0) * j = i * j + i0 * j, subst:[i, i0, j] → [j, 1, i], <all paths>

Additional information

Used terms: j, 1, i

Proof step 26 from proof noeth-modlep (previous step) (back to tree)

⊦ (i + i0) * j = i * j + i0 * j

Lemma dist-lsplit

Proof step 27 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j + j0, j ≠ 0, (j * i + 1 * i) + j0 < (j + 1) * i0, (j0 + j) + 1 < j2, j < j2, j + 1 < j2, j0 + j < 0, i0 < i, j < 0, 0 < j2, j0 < j2, j0 + j < j2, j0 + j < ~1, j * i0 ≤ j * i + j0, 0 ≤ j0, 0 ≤ j + j2, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: one: ⊦ 1 * i = i; associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i; add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2

Proof step 28 from proof noeth-modlep (previous step) (back to tree)

~1 ≠ j + j0, j ≠ 0, j0 + j < ~1, j0 + j < j2, j0 < j2, 0 < j2, j < 0, i0 < i, j0 + j < 0, j + 1 < j2, j < j2, (j0 + j) + 1 < j2, j * i + i + j0 < (j + 1) * i0, 0 ≤ j + j2, 0 ≤ j0, j * i0 ≤ j * i + j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:dist-lsplit, seq: ⊦ (i + i0) * j = i * j + i0 * j, subst:[i, i0, j] → [j, 1, i0], <all paths>

Additional information

Used simplifier rules: one: ⊦ 1 * i = i; associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i; ⊦ i < i1 ∧ i2 ≤ i3 → (i1 + i3 < i + i2 ↔ false); (s) add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 add-c: ⊦ i + j = j + i; from specification int-basic2 Used terms: j, 1, i0

Proof step 29 from proof noeth-modlep (previous step) (back to tree)

⊦ (i + i0) * j = i * j + i0 * j

Lemma dist-lsplit

Proof step 30 from proof noeth-modlep (previous step) (back to tree)

j ≠ 0, 0 < j2, j0 < abs(j), i0 < i, j0 < j2, abs(j) * i ≤ abs(j) * i0 + j0, 0 ≤ j0, abs(j) ≤ j2, ¬ j < 0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: forward-le-05: ⊦ i < j ∧ 0 ≤ i → 0 < j; (forward) from specification int-abs ⊦ i < j → ¬ j < i; (s) ⊦ ¬ j < 0 → abs(j) = j; (s) ⊦ ¬ i < j → (i = j ↔ ¬ j < i); (ss)

Proof step 31 from proof noeth-modlep (previous step) (back to tree)

0 < j2, j0 < j2, i0 < i, j0 < j, 0 < j, j ≤ j2, 0 ≤ j0, j * i ≤ j * i0 + j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 9 terms: j0, j - 1, i, i0 abort: F discard: T computed: F

Additional information

Used terms: j0, j - 1, i, i0

Proof step 32 from proof noeth-modlep (previous step) (back to tree)

0 < j, j0 < j, i0 < i, j0 < j2, 0 < j2, j * i ≤ j * i0 + j0, 0 ≤ j0, j ≤ j2, ¬ j0 < abs(j - 1) ∨ ¬ abs(j - 1) < j2 ∨ ¬ abs(j - 1) * i ≤ abs(j - 1) * i0 + j0 ∨ ¬ 0 ≤ j0 ∨ i ≤ i0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ i < j → (j ≤ i ↔ false); (as) ⊦ i ≤ 0 ∧ 0 ≤ j → i ≤ j; (s) ⊦ 0 < j → abs(j) = j; (s) ⊦ 0 < i → abs(i - 1) = abs(i) - 1; (s) add-c: ⊦ i + j = j + i; from specification int-basic2 add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 ⊦ i < j + 1 ↔ i ≤ j; (s) ⊦ i - j < i0 ↔ i < j + i0; (s) ⊦ i < j - i0 ↔ i + i0 < j; (s)

Proof step 33 from proof noeth-modlep (previous step) (back to tree)

0 < j2, j0 < j2, i0 < i, j0 < j, 0 < j, j ≤ j2, 0 ≤ j0, j * i ≤ j * i0 + j0, ¬ j0 + 1 < j ∨ ¬ (j - 1) * i ≤ (j - 1) * i0 + j0 ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: int-abs, name:elim-sub, seq: ⊦ i0 = i - j ↔ i = i0 + j, subst:[i, j, i0] → [j, 1, i1]

Additional information

Used simplifier rules: ⊦ i0 = i - j ↔ i = i0 + j; (elim) Used terms: j, 1, i1

Proof step 34 from proof noeth-modlep (previous step) (back to tree)

j = i1 + 1, 0 < j, j0 < j, i0 < i, j0 < j2, 0 < j2, j * i ≤ j * i0 + j0, 0 ≤ j0, j ≤ j2, ¬ j0 + 1 < j ∨ ¬ i1 * i ≤ i1 * i0 + j0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: forward-le-01: ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j; (forward) from specification int-abs add-c: ⊦ i + j = j + i; from specification int-basic2 add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 ⊦ 0 + i = i; (s) ⊦ i + (* j) < i0 + (* j0) ↔ i < i0 + (j0 - j); (s) ⊦ ~1 < i ↔ 0 ≤ i; (s) ⊦ (* j) < i0 + (* j0) ↔ j - j0 < i0; (s) ⊦ i < j + 1 ↔ i ≤ j; (s) ⊦ i + 1 ≤ j ↔ i < j; (s)

Proof step 35 from proof noeth-modlep (previous step) (back to tree)

i1 < j2, 0 < j2, j0 < j2, i0 < i, 0 ≤ j0, (i1 + 1) * i ≤ (i1 + 1) * i0 + j0, j0 ≤ i1, 0 ≤ i1, ¬ j0 < i1 ∨ ¬ i1 * i ≤ i1 * i0 + j0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:dist-lsplit, seq: ⊦ (i + i0) * j = i * j + i0 * j, subst:[j, i0, i] → [i, 1, i1], <all paths>

Additional information

Used terms: i, 1, i1

Proof step 36 from proof noeth-modlep (previous step) (back to tree)

⊦ (i + i0) * j = i * j + i0 * j

Lemma dist-lsplit

Proof step 37 from proof noeth-modlep (previous step) (back to tree)

i0 < i, j0 < j2, 0 < j2, i1 < j2, 0 ≤ i1, j0 ≤ i1, i1 * i + 1 * i ≤ (i1 + 1) * i0 + j0, 0 ≤ j0, ¬ j0 < i1 ∨ ¬ i1 * i ≤ i1 * i0 + j0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: one: ⊦ 1 * i = i; associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i;

Proof step 38 from proof noeth-modlep (previous step) (back to tree)

i1 < j2, 0 < j2, j0 < j2, i0 < i, j0 ≤ i1, 0 ≤ i1, 0 ≤ j0, i1 * i + i ≤ (i1 + 1) * i0 + j0, ¬ j0 < i1 ∨ ¬ i1 * i ≤ i1 * i0 + j0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:dist-lsplit, seq: ⊦ (i + i0) * j = i * j + i0 * j, subst:[j, i0, i] → [i0, 1, i1], <all paths>

Additional information

Used terms: i0, 1, i1

Proof step 39 from proof noeth-modlep (previous step) (back to tree)

⊦ (i + i0) * j = i * j + i0 * j

Lemma dist-lsplit

Proof step 40 from proof noeth-modlep (previous step) (back to tree)

i0 < i, j0 < j2, 0 < j2, i1 < j2, i1 * i + i ≤ (i1 * i0 + 1 * i0) + j0, 0 ≤ j0, 0 ≤ i1, j0 ≤ i1, ¬ j0 < i1 ∨ ¬ i1 * i ≤ i1 * i0 + j0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: one: ⊦ 1 * i = i; associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i; ⊦ i ≤ 0 ∧ 0 ≤ j → i ≤ j; (s) ⊦ i ≤ i; (s) ⊦ i ≤ j → (j ≤ i ↔ i = j); (s) ⊦ i < j ↔ ¬ j ≤ i; (ss) add-c: ⊦ i + j = j + i; from specification int-basic2 add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 ⊦ i < i1 ∧ i2 < i3 → (i1 + i3 ≤ i + i2 ↔ false); (s) ⊦ i ≤ j ↔ ¬ j < i; (ss)

Proof step 41 from proof noeth-modlep (previous step) (back to tree)

0 < j2, i1 < j2, i0 < i, i1 * i ≤ i1 * i0 + i1, 0 ≤ i1, i1 * i + i ≤ i1 * i0 + i0 + i1 ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: int-abs, name:ple-01, seq:i < j, i0 ≤ j0 ⊦ i + i0 < j + j0, subst:[i, j, i0, j0] → [i0, i, (i0 + 1) * i1, i * i1]

Additional information

Used simplifier rules: ls-forward: ⊦ i * j < i * j0 → i ≠ 0; ls-pos: ⊦ 0 < i → (i * j < i * j0 ↔ j < j0); associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i; ls-add-02: ⊦ i * (j + j1) + i0 < i * j + j0 ↔ i * j1 + i0 < j0; one: ⊦ 1 * i = i; associativity: ⊦ i * j * j0 = (i * j) * j0; commutativity: ⊦ i * j = j * i; forward-lsle: ⊦ i < j ∧ j ≤ j0 → i < j0; (forward) from specification int-abs ⊦ i + j < i + i0 ↔ j < i0; (s) ⊦ ¬ i < i; (s) add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 add-c: ⊦ i + j = j + i; from specification int-basic2 ⊦ i ≤ j ↔ ¬ j < i; (ss) ⊦ i ≠ j → (i ≤ j ↔ i < j); (s) ⊦ i < j + 1 ↔ i ≤ j; (s) ⊦ i < j → (j ≤ i ↔ false); (as) Used terms: i0, i, (i0 + 1) * i1, i * i1

Proof step 42 from proof noeth-modlep (previous step) (back to tree)

i < j, i0 ≤ j0 ⊦ i + i0 < j + j0

A spec-lemma

Proof step 43 from proof noeth-modlep (previous step) (back to tree)

abs(j) < j2 -1, j0 < abs(j), 0 ≤ j0, abs(j) * i ≤ abs(j) * i0 + j0, ¬ i ≤ i0, ∀ j0, j, i, i0. ¬(j0 < abs(j) ∧ abs(j) < j2 ∧ abs(j) * i ≤ abs(j) * i0 + j0 ∧ 0 ≤ j0 ∧ ¬ i ≤ i0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ 0 < abs(i) ↔ i ≠ 0; (s) forward-le-01: ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j; (forward) from specification int-abs forward-le-05: ⊦ i < j ∧ 0 ≤ i → 0 < j; (forward) from specification int-abs ⊦ i ≤ j ↔ ¬ j < i; (ss) ⊦ i < j - i0 ↔ i + i0 < j; (s) ⊦ i -1 = i - 1; (s)

Proof step 44 from proof noeth-modlep (previous step) (back to tree)

j ≠ 0, i0 < i, abs(j) + 1 < j2, j0 < abs(j), 0 ≤ j0, abs(j) * i ≤ abs(j) * i0 + j0, ∀ j1, j3, i1, i2. ¬ j1 < abs(j3) ∨ ¬ abs(j3) < j2 ∨ ¬ abs(j3) * i1 ≤ abs(j3) * i2 + j1 ∨ ¬ 0 ≤ j1 ∨ i1 ≤ i2 ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 7 terms: j0, j, i, i0

Additional information

Used simplifier rules: ⊦ i ≤ 0 ∧ 0 ≤ j → i ≤ j; (s) ⊦ i < j → (j ≤ i ↔ false); (as) ⊦ i < j ↔ ¬ j ≤ i; (ss) forward-lsle: ⊦ i < j ∧ j ≤ j0 → i < j0; (forward) from specification int-abs ⊦ i + j < j ↔ i < 0; (s) add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 add-c: ⊦ i + j = j + i; from specification int-basic2 Used terms: j0, j, i, i0

Proof Tree for noeth-modlep (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