Boolean algebra structure on idempotents in a commutative (semi)ring #
We show that the idempotent in a commutative ring form a Boolean algebra, with complement given
by a ↦ 1 - a
and infimum given by multiplication. In a commutative semiring where subtraction
is not available, it is still true that pairs of elements (a, b)
satisfying a * b = 0
and
a + b = 1
form a Boolean algebra (such elements are automatically idempotents, and such a pair
is uniquely determined by either a
or b
).
instance
instHasComplSubtypeProdAndEqHMulFstSndOfNatHAdd
{R : Type u_1}
[CommMonoid R]
[AddCommMonoid R]
:
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
instance
instSemilatticeInfSubtypeIsIdempotentElem
{S : Type u_2}
[CommSemigroup S]
:
SemilatticeInf { a : S // IsIdempotentElem a }
Equations
- One or more equations did not get rendered due to their size.
Equations
- instOrderTopSubtypeIsIdempotentElem = { top := ⟨1, ⋯⟩, le_top := ⋯ }
Equations
- instOrderBotSubtypeIsIdempotentElem = { bot := ⟨0, ⋯⟩, bot_le := ⋯ }
Equations
- One or more equations did not get rendered due to their size.
instance
instBooleanAlgebraSubtypeIsIdempotentElem
{R : Type u_1}
[CommRing R]
:
BooleanAlgebra { a : R // IsIdempotentElem a }
Equations
- One or more equations did not get rendered due to their size.
In a commutative ring, the idempotents are in 1-1 correspondence with pairs of elements
whose product is 0 and whose sum is 1. The correspondence is given by a ↔ (a, 1 - a)
.
Equations
- One or more equations did not get rendered due to their size.