[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 mod-mult (conclusion) (back to tree)

0 ≤ i, 0 < j, 0 < i0 ⊦ (i0 * i) % (i0 * j) = i % j * i0

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof mod-mult (previous step) (back to tree)

(i0 * i) % (i0 * j) ≠ i % j * i0, 0 < i0, 0 < j, 0 ≤ i ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:mod-rew, seq:j ≠ 0 ⊦ i % j = i - i / j * j, subst:[j, i] → [i0 * j, i0 * i], <all paths>

Additional information

Used simplifier rules: div-mult-01: j ≠ 0, i0 ≠ 0 ⊦ (i * i0) / (j * i0) = i / j; divmod-rew: j ≠ 0 ⊦ i / j * j + i % j = i; ⊦ i * j = 0 ↔ i = 0 ∨ j = 0; (ws) ⊦ i * j - i * j0 = i * (j - j0); (s) ⊦ 0 < i → (i * j = i * j0 ↔ j = j0); (s) ⊦ i - j = i0 ↔ i = i0 + 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 lf-03: ⊦ i < j ∧ i = i0 → i0 < j; (forward) from specification int-basic1 ⊦ 0 < i → (i * j < i ↔ j < 1); (s) ⊦ i < 1 ↔ i ≤ 0; (s) ⊦ i < j → (j ≤ i ↔ false); (as) Used terms: i0 * j, i0 * i

Proof step 3 from proof mod-mult (previous step) (back to tree)

j ≠ 0 ⊦ i % j = i - i / j * j

Lemma mod-rew

Proof Tree for mod-mult (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