The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.Order.Ring.Idempotent
12 declarations. Mathlib docs · Source
instance instComplSubtypeProdAndEqHMulFstSndOfNatHAdd E0 #
{R : Type u_1} → [inst : CommMonoid R] → [inst_1 : AddCommMonoid R] → Compl { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }
theorem mul_eq_zero_add_eq_one_ext_left E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {a b : { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }}, (↑a).1 = (↑b).1 → a = b
theorem mul_eq_zero_add_eq_one_ext_right E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {a b : { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }}, (↑a).2 = (↑b).2 → a = b
instance instPartialOrderSubtypeProdAndEqHMulFstSndOfNatHAdd E0 #
{R : Type u_1} → [inst : CommSemiring R] → PartialOrder { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }
instance instSemilatticeSupSubtypeProdAndEqHMulFstSndOfNatHAdd E0 #
{R : Type u_1} → [inst : CommSemiring R] → SemilatticeSup { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }
instance instBooleanAlgebraSubtypeProdAndEqHMulFstSndOfNatHAdd E0 #
{R : Type u_1} → [inst : CommSemiring R] → BooleanAlgebra { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }
instance instSemilatticeInfSubtypeIsIdempotentElem E0 #
{S : Type u_2} → [inst : CommSemigroup S] → SemilatticeInf { a // IsIdempotentElem a }
instance instOrderTopSubtypeIsIdempotentElem E0 #
{M : Type u_2} → [inst : CommMonoid M] → OrderTop { a // IsIdempotentElem a }
instance instOrderBotSubtypeIsIdempotentElem E0 #
{M₀ : Type u_2} → [inst : CommMonoidWithZero M₀] → OrderBot { a // IsIdempotentElem a }
instance instLatticeSubtypeIsIdempotentElem E0 #
{R : Type u_1} → [inst : CommRing R] → Lattice { a // IsIdempotentElem a }
instance instBooleanAlgebraSubtypeIsIdempotentElem E0 #
{R : Type u_1} → [inst : CommRing R] → BooleanAlgebra { a // IsIdempotentElem a }
def OrderIso.isIdempotentElemMulZeroAddOne E1 #
{R : Type u_1} → [inst : CommRing R] → { a // IsIdempotentElem a } ≃o { a // a.1 * a.2 = 0 ∧ a.1 + a.2 = 1 }
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).