[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 11 from proof mod-ex-div (previous step)
| 0 ≤ j, 0 < j, i < 0, i % j < 0 ⊦ ∃ j0. i = j * j0 + i % j + j |
Heuristic elimination applied rule insert elim lemma
And obtained the following new goals
- Proof step 12:
i = i0 * j + j1 ∧ j1 ≤ 0 ∧ abs(j1) < j ∧ i0 ≤ 0, 0 ≤ j, 0 < j, i < 0, j1 < 0 ⊦ ∃ j0. i = j * j0 + j1 + j
Rule argument
spec: int-div
inst:
name: div-elim-negpos
seq: ⊦ 0 < j ∧ i < 0
→ ( i0 = i / j ∧ j0 = i % j
↔ i = i0 * j + j0 ∧ j0 ≤ 0 ∧ abs(j0) < j ∧ i0 ≤ 0)
subst: [i, j, i0, j0] → [i, j, i0, j1]
flags: Additional information
Used simplifier rules:
zero-gels-01: ⊦ i < 0 ∧ 0 ≤ j → i < j; from specification int-abs%⊦ 0 < j ∧ i < 0
→ ( i0 = i / j ∧ j0 = i % j
↔ i = i0 * j + j0 ∧ j0 ≤ 0 ∧ abs(j0) < j ∧ i0 ≤ 0); (elim)
Used terms: i, j, i0, j1