Central idempotents #
A central idempotent of a ring R is an element e with e * e = e that commutes with
everything. Such an element splits R as a product of the two rings eR and (1 - e)R, so the
central idempotents record how far R is from being indecomposable as a ring.
This file collects the three facts that make TauCeti.centralIdempotents a counting invariant.
It is preserved by ring isomorphisms (RingEquiv.centralIdempotentsCongr); it is computed
coordinatewise on a product (TauCeti.centralIdempotentsPiEquiv); and a simple ring has exactly
two of them, 0 and 1 (TauCeti.centralIdempotents_eq_pair). Together these say that a finite
product of simple rings has exactly 2 ^ (number of factors) central idempotents
(TauCeti.card_centralIdempotents_pi_of_isSimpleRing), so the number of factors can be read off
the isomorphism class of the ring alone. TauCeti/RingTheory/SimpleRing/Pi.lean obtains the
stronger factor matching for arbitrary products directly from their coordinate central idempotents.
Mathlib has IsIdempotentElem and the orthogonal decompositions of 1 it generates
(Mathlib/RingTheory/Idempotents.lean), and Subring.center, but nothing about the idempotents
that are also central. The one nontrivial ingredient below,
TauCeti.centralIdempotents_eq_pair, is the observation that a central idempotent of R is an
idempotent of Subring.center R, which for simple R is a field by
IsSimpleRing.isField_center; a field has only the idempotents 0 and 1.
The last section applies that dichotomy in the other direction: a surjection of algebras
A × A ↠ B onto a simple B sends (1, 0) to a central idempotent, so one of the two blocks
already maps onto B (AlgHom.exists_algHom_surjective_of_prod).
Main definitions #
TauCeti.centralIdempotents R: the set of central idempotents ofR.RingEquiv.centralIdempotentsCongr: a ring isomorphismR ≃+* Srestricts to an equivalence between the central idempotents ofRand those ofS.TauCeti.centralIdempotentsPiEquiv: the central idempotents of a product of rings are the families of central idempotents of the factors.
Main results #
TauCeti.centralIdempotents_eq_pair: a simple ring has exactly the two central idempotents0and1, andTauCeti.card_centralIdempotents_of_isSimpleRingcounts them.TauCeti.card_centralIdempotents_pi: the count is multiplicative over a finite product, whenceTauCeti.card_centralIdempotents_pi_of_isSimpleRing: a finite product of simple rings has2 ^ (number of factors)central idempotents.AlgHom.exists_algHom_surjective_of_prod: a surjection of algebrasA × A ↠ Bonto a simple ring restricts to a surjection along one of the two coordinates.
Implementation notes #
centralIdempotents R is a Set R rather than a subtype or a bundled structure: the only thing
done with it here is to transport it along isomorphisms and to count it, and Nat.card of the
coercion is the count. Centrality is spelled as membership in Subring.center R, which is
Mathlib's canonical form; TauCeti.mul_comm_of_mem_centralIdempotents unpacks it to the bare
commutation equation.
The set of central idempotents of a ring: the idempotents lying in the centre.
Equations
- TauCeti.centralIdempotents R = {e : R | IsIdempotentElem e ∧ e ∈ Subring.center R}
Instances For
A central idempotent is idempotent.
A central idempotent commutes with every element.
A ring isomorphism preserves central idempotents.
Both halves of being a central idempotent are coordinatewise conditions on a product of rings.
The central idempotents of a product of rings are the families of central idempotents.
Equations
Instances For
The number of central idempotents is multiplicative over a finite product of rings.
A simple ring has exactly two central idempotents, 0 and 1.
A central idempotent of R is exactly an idempotent of the subring Subring.center R, which is a
field because R is simple (IsSimpleRing.isField_center); and a field has no idempotents besides
0 and 1 (IsIdempotentElem.iff_eq_zero_or_one).
A simple ring has exactly two central idempotents.
A finite product of simple rings has 2 ^ (number of factors) central idempotents: one
independent binary choice per factor.
A surjection onto a simple ring from a product of two copies of an algebra #
A surjection onto a simple ring from a product of two copies of an algebra factors through a
coordinate. The image of (1, 0) is a central idempotent of B, hence 0 or 1
(TauCeti.centralIdempotents_eq_pair); whichever it is, one of the two coordinate maps
a ↦ φ (a, 0), a ↦ φ (0, a) is an algebra map onto B.
This is what turns a two-block splitting of an algebra into a statement about a single block; it is
used that way for an odd-dimensional Clifford algebra in
TauCeti/RepresentationTheory/Spin/OddStructure.lean.