[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 8 from proof mod-neq (previous step)
| i % j = j ⊦ j = 0, 0 < j ∧ i < 0, j < 0 ∧ i < 0 |
User applied rule insert elim lemma
And obtained the following new goals
- Proof step 9:
⊦ j < 0 ∧ 0 ≤ i → (i0 = i / j ∧ j0 = i % j ↔ i = i0 * j + j0 ∧ 0 ≤ j0 ∧ j0 < abs(j) ∧ i0 ≤ 0)
- Proof step 10:
i % j = j ⊦ j < 0 ∧ 0 ≤ i, j = 0, 0 < j ∧ i < 0, j < 0 ∧ i < 0
Rule argument
spec: int-div
inst:
name: div-elim-posneg
seq: ⊦ j < 0 ∧ 0 ≤ i
→ ( i0 = i / j ∧ j0 = i % j
↔ i = i0 * j + j0 ∧ 0 ≤ j0 ∧ j0 < abs(j) ∧ i0 ≤ 0)
subst: [i, j, i0, j0] → [i, j, i0, j0]
flags: rewrite, currentAdditional information
Used simplifier rules:
lels-03: ⊦ i < j → (¬ ¬ j ≤ i ↔ false); from specification int-abs
Used terms: i, j, i0, j0