Used simplifier rules: Mult-zero: ⊦ i * 0 = 0;%associativity: ⊦ i * j * j0 = (i * j) * j0;%commutativity: ⊦ i * j = j * i;