| ⊦ mkDecimal(0, 0) * dec = mkDecimal(0, 0) |
⊦ dec_i * dec_j = mkDecimal(dec_i.int * dec_j.int, dec_i.scale + dec_j.scale)
Used simplifier rules: intvalue-zero: ⊦ mkDecimal(0, j).int = 0; from specification decimal%Mult-zero: ⊦ i * 0 = 0; from specification int-mult%associativity: ⊦ i * j * j0 = (i * j) * j0; from specification int-mult%commutativity: ⊦ i * j = j * i; from specification int-mult%scale-zero: ⊦ mkDecimal(0, j).scale = 0; from specification decimal%add-zero: ⊦ i + 0 = i; from specification int-basic2%add-a: ⊦ i + j + i0 = (i + j) + i0; from specification int-basic2%add-c: ⊦ i + j = j + i; from specification int-basic2%eq-zero: ⊦ mkDecimal(i, j) = mkDecimal(0, j0) ↔ i = 0; from specification decimal Used terms: dec, mkDecimal(0, 0)