constructive-algebra-0.3.0: A library of constructive algebra.

Algebra.Structures.CommutativeRing

Description

Structure for commutative rings.

Synopsis

Documentation

propMulComm :: (CommutativeRing a, Eq a) => a -> a -> BoolSource

propCommutativeRing :: (CommutativeRing a, Eq a) => a -> a -> a -> PropertySource

Specification of commutative rings. Test that multiplication is commutative and that it satisfies the ring axioms.