[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 div2-neg-odd (conclusion) (back to tree)

⊦ j < 0 → (j * 2 - 1) / 2 = j

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof div2-neg-odd (previous step) (back to tree)

(j * 2 - 1) / 2 ≠ j, j < 0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: forward-le-02: ⊦ j < i ∧ i ≤ 0 → j < 0; (forward) from specification int-abs

Proof step 3 from proof div2-neg-odd (previous step) (back to tree)

(j * 2 - 1) / 2 ≠ j, j < 0 ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: (j * 2 - 1) / 2 = ~((~ j * 2 + 1) / 2)

Additional information

Used simplifier rules: div2-odd-01: ⊦ i < 0 → (1 - i * 2) / 2 = ~ i; ⊦ ~ i * j = ~(i * j); (s) ⊦ i + ~ j = i - j; (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 ⊦ ~ ~ i = i; (s) Used formulas: (j * 2 - 1) / 2 = ~((~ j * 2 + 1) / 2)

Proof step 4 from proof div2-neg-odd (previous step) (back to tree)

(j * 2 - 1) / 2 ≠ ~((~ j * 2 + 1) / 2), (j * 2 - 1) / 2 ≠ j, j < 0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:Div-left, seq: ⊦ j ≠ 0 → ~ i / j = ~(i / j), subst:[j, i] → [2, ~ j * 2 + 1], <rotated> <all paths>

Additional information

Used simplifier rules: ⊦ ~ i * j = ~(i * j); (s) associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult commutativity: ⊦ i * j = j * i; from specification int-mult ⊦ i + ~ j = i - j; (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; (s) Used terms: 2, ~ j * 2 + 1

Proof step 5 from proof div2-neg-odd (previous step) (back to tree)

⊦ j ≠ 0 → ~ i / j = ~(i / j)

Lemma Div-left

Proof Tree for div2-neg-odd (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