Module docstring
{"# PUnit is a commutative ring
This file collects facts about algebraic structures on the one-element type, e.g. that it is a commutative ring. "}
{"# PUnit is a commutative ring
This file collects facts about algebraic structures on the one-element type, e.g. that it is a commutative ring. "}
PUnit.commRing
instance
: CommRing PUnit
instance commRing : CommRing PUnit where
__ := PUnit.commGroup
__ := PUnit.addCommGroup
left_distrib := by intros; rfl
right_distrib := by intros; rfl
zero_mul := by intros; rfl
mul_zero := by intros; rfl
natCast _ := unit
PUnit.cancelCommMonoidWithZero
instance
: CancelCommMonoidWithZero PUnit
instance cancelCommMonoidWithZero : CancelCommMonoidWithZero PUnit where
mul_left_cancel_of_ne_zero := by simp