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

⊦ (i + j) % 2 = 0 ↔ i % 2 = 0 ∧ j % 2 = 0 ∨ i % 2 ≠ 0 ∧ j % 2 ≠ 0

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

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

¬((i + j) % 2 = 0 ↔ i % 2 = 0 ∧ j % 2 = 0 ∨ i % 2 ≠ 0 ∧ j % 2 ≠ 0) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

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

(i + j) % 2 = 0 ⊦ i % 2 = 0 ∧ j % 2 = 0, i % 2 ≠ 0 ∧ j % 2 ≠ 0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

(i + j) % 2 = 0 ⊦ i % 2 ≠ 0 ∧ j % 2 ≠ 0, i % 2 = 0 ∧ j % 2 = 0

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

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

i % 2 = 0, (i + j) % 2 = 0 ⊦ i % 2 = 0 ∧ j % 2 = 0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

(i + j) % 2 = 0, i % 2 = 0, j % 2 ≠ 0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:modex, seq:j ≠ 0 ⊦ i % j = 0 ↔ (∃ j0. i = j0 * j), subst:[j, i] → [2, i], <all paths>

Additional information

Used terms: 2, i

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

j ≠ 0 ⊦ i % j = 0 ↔ (∃ j0. i = j0 * j)

Lemma modex

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

(i + j) % 2 = 0, j % 2 ≠ 0, 2 ≠ 0, ∃ j0. i = j0 * 2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

(j0 * 2 + j) % 2 = 0, j % 2 ≠ 0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:even-not-ex, seq: ⊦ i % 2 = 0 ↔ ¬(∃ i0. i = 2 * i0 + 1), subst:[i] → [j], <all paths>

Additional information

Used terms: j

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

⊦ i % 2 = 0 ↔ ¬(∃ i0. i = 2 * i0 + 1)

Lemma even-not-ex

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

(j0 * 2 + j) % 2 = 0, ∃ i0. j = 2 * i0 + 1 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 12 from proof even-add (previous step) (back to tree)

(2 * (j0 + i0) + 1) % 2 = 0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:even-not, seq: ⊦ (2 * i + 1) % 2 ≠ 0, subst:[i] → [j0 + i0], <all paths>

Additional information

Used terms: j0 + i0

Proof step 13 from proof even-add (previous step) (back to tree)

⊦ (2 * i + 1) % 2 ≠ 0

Lemma even-not

Proof step 14 from proof even-add (previous step) (back to tree)

j % 2 = 0, (i + j) % 2 = 0 ⊦ i % 2 = 0 ∧ j % 2 = 0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 15 from proof even-add (previous step) (back to tree)

(i + j) % 2 = 0, j % 2 = 0, i % 2 ≠ 0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:modex, seq:j ≠ 0 ⊦ i % j = 0 ↔ (∃ j0. i = j0 * j), subst:[j, i] → [2, j], <all paths>

Additional information

Used terms: 2, j

Proof step 16 from proof even-add (previous step) (back to tree)

j ≠ 0 ⊦ i % j = 0 ↔ (∃ j0. i = j0 * j)

Lemma modex

Proof step 17 from proof even-add (previous step) (back to tree)

(i + j) % 2 = 0, i % 2 ≠ 0, 2 ≠ 0, ∃ j0. j = j0 * 2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 18 from proof even-add (previous step) (back to tree)

(i + j0 * 2) % 2 = 0, i % 2 ≠ 0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:even-not-ex, seq: ⊦ i % 2 = 0 ↔ ¬(∃ i0. i = 2 * i0 + 1), subst:[i] → [i], <all paths>

Additional information

Used terms: i

Proof step 19 from proof even-add (previous step) (back to tree)

⊦ i % 2 = 0 ↔ ¬(∃ i0. i = 2 * i0 + 1)

Lemma even-not-ex

Proof step 20 from proof even-add (previous step) (back to tree)

(i + j0 * 2) % 2 = 0, ∃ i0. i = 2 * i0 + 1 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 21 from proof even-add (previous step) (back to tree)

(2 * (i0 + j0) + 1) % 2 = 0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:even-not, seq: ⊦ (2 * i + 1) % 2 ≠ 0, subst:[i] → [i0 + j0], <all paths>

Additional information

Used terms: i0 + j0

Proof step 22 from proof even-add (previous step) (back to tree)

⊦ (2 * i + 1) % 2 ≠ 0

Lemma even-not

Proof step 23 from proof even-add (previous step) (back to tree)

(i + j) % 2 ≠ 0, i % 2 = 0 ∧ j % 2 = 0 ∨ i % 2 ≠ 0 ∧ j % 2 ≠ 0 ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 2

Additional information

Proof step 24 from proof even-add (previous step) (back to tree)

i % 2 = 0, j % 2 = 0, (i + j) % 2 ≠ 0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 25 from proof even-add (previous step) (back to tree)

j % 2 = 0, i % 2 = 0, (i + j) % 2 ≠ 0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:modex, seq:j ≠ 0 ⊦ i % j = 0 ↔ (∃ j0. i = j0 * j), subst:[j, i] → [2, j], <all paths>

Additional information

Used terms: 2, j

Proof step 26 from proof even-add (previous step) (back to tree)

j ≠ 0 ⊦ i % j = 0 ↔ (∃ j0. i = j0 * j)

Lemma modex

Proof step 27 from proof even-add (previous step) (back to tree)

i % 2 = 0, (i + j) % 2 ≠ 0, 2 ≠ 0, ∃ j0. j = j0 * 2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 28 from proof even-add (previous step) (back to tree)

i % 2 = 0, (i + j0 * 2) % 2 ≠ 0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:modex, seq:j ≠ 0 ⊦ i % j = 0 ↔ (∃ j0. i = j0 * j), subst:[j, i] → [2, i], <all paths>

Additional information

Used simplifier rules: mod-two-02: ⊦ (i * 2) % 2 = 0; ⊦ i * j + i * j0 = i * (j + j0); (s) add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 add-c: ⊦ i + j = j + i; from specification int-basic2 associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult commutativity: ⊦ i * j = j * i; from specification int-mult Used terms: 2, i

Proof step 29 from proof even-add (previous step) (back to tree)

j ≠ 0 ⊦ i % j = 0 ↔ (∃ j0. i = j0 * j)

Lemma modex

Proof step 30 from proof even-add (previous step) (back to tree)

j % 2 ≠ 0, i % 2 ≠ 0, (i + j) % 2 ≠ 0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 31 from proof even-add (previous step) (back to tree)

j % 2 ≠ 0, i % 2 ≠ 0, (i + j) % 2 ≠ 0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:even-not-ex, seq: ⊦ i % 2 = 0 ↔ ¬(∃ i0. i = 2 * i0 + 1), subst:[i] → [i], <all paths>

Additional information

Used terms: i

Proof step 32 from proof even-add (previous step) (back to tree)

⊦ i % 2 = 0 ↔ ¬(∃ i0. i = 2 * i0 + 1)

Lemma even-not-ex

Proof step 33 from proof even-add (previous step) (back to tree)

j % 2 ≠ 0, (i + j) % 2 ≠ 0, ∃ i0. i = 2 * i0 + 1 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 34 from proof even-add (previous step) (back to tree)

j % 2 ≠ 0, ((2 * i0 + 1) + j) % 2 ≠ 0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:even-not-ex, seq: ⊦ i % 2 = 0 ↔ ¬(∃ i0. i = 2 * i0 + 1), subst:[i] → [j], <all paths>

Additional information

Used simplifier rules: mod-two-02: ⊦ (i * 2) % 2 = 0; ⊦ i * j + i * j0 = i * (j + j0); (s) ⊦ i * j + i = i * (j + 1); (s) add-c: ⊦ i + j = j + i; from specification int-basic2 add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2 associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult commutativity: ⊦ i * j = j * i; from specification int-mult Used terms: j

Proof step 35 from proof even-add (previous step) (back to tree)

⊦ i % 2 = 0 ↔ ¬(∃ i0. i = 2 * i0 + 1)

Lemma even-not-ex

Proof Tree for even-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