Boolean ring (source code)

= Boolean ring
{wiki}

A Boolean ring satisfies $r^2=r$ for every element. Expanding $(r+1)^2=r+1$ shows that it has characteristic two.