commutative ring

Commutative Ring

Commutative Ring

Mathematically a Commutative Ring is a Ring whose multiplication is commutative.

Important

Contract: Ring initializer parameters must have

  • add closed, commutative and associative on reps

  • mult closed, commutative and associative on reps

  • one an identity on reps, rep*one == rep == one*rep

  • zero an identity on reps, rep+zero == rep == zero+rep

  • negate maps rep -> -rep, rep + negate(rep) == zero

  • zero != one