The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.Idempotents
73 declarations. Mathlib docs · Source
Idempotents in rings
The predicate IsIdempotentElem is defined for general monoids in
Mathlib/Algebra/Group/Idempotent.lean; ring-specific lemmas are in
Mathlib/Algebra/Ring/Idempotent.lean.
In this file we provide various results regarding idempotent elements in rings.
Main definitions
OrthogonalIdempotents: A family{ eᵢ }of idempotent elements is orthogonal ifeᵢ * eⱼ = 0for alli ≠ j.CompleteOrthogonalIdempotents: A family{ eᵢ }of orthogonal idempotent elements is complete if∑ eᵢ = 1.
Main results
CompleteOrthogonalIdempotents.lift_of_isNilpotent_ker: If the kernel off : R →+* Sconsists of nilpotent elements, and{ eᵢ }is a family of complete orthogonal idempotents in the range off, then{ eᵢ }is the image of some complete orthogonal idempotents inR.existsUnique_isIdempotentElem_eq_of_ker_isNilpotent: IfRis commutative and the kernel off : R →+* Sconsists of nilpotent elements, then every idempotent in the range offlifts to a unique idempotent inR.CompleteOrthogonalIdempotents.bijective_pi: IfRis commutative, then a family{ eᵢ }of complete orthogonal idempotent elements induces a ring isomorphismR ≃ ∏ R ⧸ ⟨1 - eᵢ⟩.
structure OrthogonalIdempotents E3 #
{R : Type u_1} → [Semiring R] → {I : Type u_3} → (I → R) → Prop
A family { eᵢ } of idempotent elements is orthogonal if eᵢ * eⱼ = 0 for all i ≠ j.
theorem orthogonalIdempotents_iff E0 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} (e : I → R),
OrthogonalIdempotents e ↔ (∀ (i : I), IsIdempotentElem (e i)) ∧ Pairwise fun x1 x2 ↦ e x1 * e x2 = 0
ctor OrthogonalIdempotents.mk E0 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R},
(∀ (i : I), IsIdempotentElem (e i)) → (Pairwise fun x1 x2 ↦ e x1 * e x2 = 0) → OrthogonalIdempotents e
theorem OrthogonalIdempotents.idem E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R},
OrthogonalIdempotents e → ∀ (i : I), IsIdempotentElem (e i)
theorem OrthogonalIdempotents.ortho E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R},
OrthogonalIdempotents e → Pairwise fun x1 x2 ↦ e x1 * e x2 = 0
theorem OrthogonalIdempotents.mul_eq E0 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R} [inst_1 : DecidableEq I],
OrthogonalIdempotents e → ∀ (i j : I), e i * e j = if i = j then e i else 0
theorem OrthogonalIdempotents.iff_mul_eq E0 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R} [inst_1 : DecidableEq I],
OrthogonalIdempotents e ↔ ∀ (i j : I), e i * e j = if i = j then e i else 0
theorem OrthogonalIdempotents.isIdempotentElem_sum E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R},
OrthogonalIdempotents e → ∀ {s : Finset I}, IsIdempotentElem (∑ i ∈ s, e i)
theorem OrthogonalIdempotents.mul_sum_of_mem E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R},
OrthogonalIdempotents e → ∀ {i : I} {s : Finset I}, i ∈ s → e i * ∑ j ∈ s, e j = e i
theorem OrthogonalIdempotents.mul_sum_of_notMem E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R},
OrthogonalIdempotents e → ∀ {i : I} {s : Finset I}, i ∉ s → e i * ∑ j ∈ s, e j = 0
theorem OrthogonalIdempotents.map E1 #
∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+* S) {I : Type u_3} {e : I → R},
OrthogonalIdempotents e → OrthogonalIdempotents (⇑f ∘ e)
theorem OrthogonalIdempotents.map_injective_iff E0 #
∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+* S) {I : Type u_3} {e : I → R},
Function.Injective ⇑f → (OrthogonalIdempotents (⇑f ∘ e) ↔ OrthogonalIdempotents e)
theorem OrthogonalIdempotents.embedding E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R},
OrthogonalIdempotents e → ∀ {J : Type u_4} (i : J ↪ I), OrthogonalIdempotents (e ∘ ⇑i)
theorem OrthogonalIdempotents.equiv E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R} {J : Type u_4} (i : J ≃ I),
OrthogonalIdempotents (e ∘ ⇑i) ↔ OrthogonalIdempotents e
theorem OrthogonalIdempotents.unique E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R} [inst_1 : Unique I],
OrthogonalIdempotents e ↔ IsIdempotentElem (e default)
theorem OrthogonalIdempotents.option E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R},
OrthogonalIdempotents e →
∀ [inst_1 : Fintype I] (x : R),
IsIdempotentElem x → x * ∑ i, e i = 0 → (∑ i, e i) * x = 0 → OrthogonalIdempotents fun x_1 ↦ x_1.elim x e
structure CompleteOrthogonalIdempotents E3 #
{R : Type u_1} → [Semiring R] → {I : Type u_3} → [Fintype I] → (I → R) → Prop
A family { eᵢ } of idempotent elements is complete orthogonal if
- (orthogonal)
eᵢ * eⱼ = 0for alli ≠ j. - (complete)
∑ eᵢ = 1
theorem completeOrthogonalIdempotents_iff E0 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} [inst_1 : Fintype I] (e : I → R),
CompleteOrthogonalIdempotents e ↔ OrthogonalIdempotents e ∧ ∑ i, e i = 1
theorem CompleteOrthogonalIdempotents.toOrthogonalIdempotents E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} [inst_1 : Fintype I] {e : I → R},
CompleteOrthogonalIdempotents e → OrthogonalIdempotents e
ctor CompleteOrthogonalIdempotents.mk E0 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} [inst_1 : Fintype I] {e : I → R},
OrthogonalIdempotents e → ∑ i, e i = 1 → CompleteOrthogonalIdempotents e
theorem CompleteOrthogonalIdempotents.complete E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} [inst_1 : Fintype I] {e : I → R},
CompleteOrthogonalIdempotents e → ∑ i, e i = 1
theorem CompleteOrthogonalIdempotents.iff_ortho_complete E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R} [inst_1 : Fintype I],
CompleteOrthogonalIdempotents e ↔ (Pairwise fun x1 x2 ↦ e x1 * e x2 = 0) ∧ ∑ i, e i = 1
If a family is complete orthogonal, it consists of idempotents.
theorem CompleteOrthogonalIdempotents.pair_iff'ₛ E1 #
∀ {R : Type u_1} [inst : Semiring R] {x y : R},
CompleteOrthogonalIdempotents ![x, y] ↔ x * y = 0 ∧ y * x = 0 ∧ x + y = 1
theorem CompleteOrthogonalIdempotents.pair_iffₛ E1 #
∀ {R : Type u_4} [inst : CommSemiring R] {x y : R}, CompleteOrthogonalIdempotents ![x, y] ↔ x * y = 0 ∧ x + y = 1
theorem CompleteOrthogonalIdempotents.unique_iff E0 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R} [inst_1 : Fintype I] [inst_2 : Unique I],
CompleteOrthogonalIdempotents e ↔ e default = 1
theorem CompleteOrthogonalIdempotents.single E1 #
∀ {I : Type u_4} [inst : Fintype I] [inst_1 : DecidableEq I] (R : I → Type u_5) [inst_2 : (i : I) → Semiring (R i)],
CompleteOrthogonalIdempotents fun x ↦ Pi.single x 1
theorem CompleteOrthogonalIdempotents.map E1 #
∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+* S) {I : Type u_3} {e : I → R}
[inst_2 : Fintype I], CompleteOrthogonalIdempotents e → CompleteOrthogonalIdempotents (⇑f ∘ e)
theorem CompleteOrthogonalIdempotents.map_injective_iff E0 #
∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+* S) {I : Type u_3} {e : I → R}
[inst_2 : Fintype I],
Function.Injective ⇑f → (CompleteOrthogonalIdempotents (⇑f ∘ e) ↔ CompleteOrthogonalIdempotents e)
theorem CompleteOrthogonalIdempotents.equiv E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R} [inst_1 : Fintype I] {J : Type u_4} [inst_2 : Fintype J]
(i : J ≃ I), CompleteOrthogonalIdempotents (e ∘ ⇑i) ↔ CompleteOrthogonalIdempotents e
theorem CompleteOrthogonalIdempotents.of_subsingleton E1 #
∀ {R : Type u_1} [inst : Semiring R] {I : Type u_3} {e : I → R} [inst_1 : Fintype I] [Subsingleton R],
CompleteOrthogonalIdempotents e
theorem isIdempotentElem_one_sub_one_sub_pow_pow E1 #
∀ {R : Type u_1} [inst : Ring R] (x : R) (n : ℕ), (x - x ^ 2) ^ n = 0 → IsIdempotentElem (1 - (1 - x ^ n) ^ n)
theorem exists_isIdempotentElem_mul_eq_zero_of_ker_isNilpotent_aux E0 #
∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R →+* S),
(∀ x ∈ RingHom.ker f, IsNilpotent x) →
∀ e₁ ∈ f.range,
IsIdempotentElem e₁ →
∀ (e₂ : R), IsIdempotentElem e₂ → e₁ * f e₂ = 0 → ∃ e', IsIdempotentElem e' ∧ f e' = e₁ ∧ e' * e₂ = 0
theorem exists_isIdempotentElem_mul_eq_zero_of_ker_isNilpotent E1 #
∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R →+* S),
(∀ x ∈ RingHom.ker f, IsNilpotent x) →
∀ e₁ ∈ f.range,
IsIdempotentElem e₁ →
∀ (e₂ : R),
IsIdempotentElem e₂ →
e₁ * f e₂ = 0 → f e₂ * e₁ = 0 → ∃ e', IsIdempotentElem e' ∧ f e' = e₁ ∧ e' * e₂ = 0 ∧ e₂ * e' = 0
Orthogonal idempotents lift along nil ideals.
theorem exists_isIdempotentElem_eq_of_ker_isNilpotent E1 #
∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R →+* S),
(∀ x ∈ RingHom.ker f, IsNilpotent x) → ∀ e ∈ f.range, IsIdempotentElem e → ∃ e', IsIdempotentElem e' ∧ f e' = e
Idempotents lift along nil ideals.
theorem OrthogonalIdempotents.lift_of_isNilpotent_ker_aux E0 #
∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R →+* S),
(∀ x ∈ RingHom.ker f, IsNilpotent x) →
∀ {n : ℕ} {e : Fin n → S},
OrthogonalIdempotents e → (∀ (i : Fin n), e i ∈ f.range) → ∃ e', OrthogonalIdempotents e' ∧ ⇑f ∘ e' = e
theorem OrthogonalIdempotents.lift_of_isNilpotent_ker E1 #
∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R →+* S) {I : Type u_3} [Finite I],
(∀ x ∈ RingHom.ker f, IsNilpotent x) →
∀ {e : I → S}, OrthogonalIdempotents e → (∀ (i : I), e i ∈ f.range) → ∃ e', OrthogonalIdempotents e' ∧ ⇑f ∘ e' = e
A family of orthogonal idempotents lift along nil ideals.
theorem CompleteOrthogonalIdempotents.pair_iff E0 #
∀ {R : Type u_1} [inst : Ring R] {x y : R}, CompleteOrthogonalIdempotents ![x, y] ↔ IsIdempotentElem x ∧ y = 1 - x
theorem CompleteOrthogonalIdempotents.of_isIdempotentElem E1 #
∀ {R : Type u_1} [inst : Ring R] {e : R}, IsIdempotentElem e → CompleteOrthogonalIdempotents ![e, 1 - e]
theorem CompleteOrthogonalIdempotents.option E1 #
∀ {R : Type u_1} [inst : Ring R] {I : Type u_3} {e : I → R} [inst_1 : Fintype I],
OrthogonalIdempotents e → CompleteOrthogonalIdempotents fun x ↦ x.elim (1 - ∑ i, e i) e
theorem CompleteOrthogonalIdempotents.lift_of_isNilpotent_ker_aux E0 #
∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R →+* S),
(∀ x ∈ RingHom.ker f, IsNilpotent x) →
∀ {n : ℕ} {e : Fin n → S},
CompleteOrthogonalIdempotents e →
(∀ (i : Fin n), e i ∈ f.range) → ∃ e', CompleteOrthogonalIdempotents e' ∧ ⇑f ∘ e' = e
theorem CompleteOrthogonalIdempotents.lift_of_isNilpotent_ker E3 #
∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R →+* S) {I : Type u_3} [inst_2 : Fintype I],
(∀ x ∈ RingHom.ker f, IsNilpotent x) →
∀ {e : I → S},
CompleteOrthogonalIdempotents e →
(∀ (i : I), e i ∈ f.range) → ∃ e', CompleteOrthogonalIdempotents e' ∧ ⇑f ∘ e' = e
A system of complete orthogonal idempotents lift along nil ideals.
theorem CompleteOrthogonalIdempotents.of_ker_isNilpotent_of_isMulCentral E1 #
∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R →+* S) {I : Type u_3} {e : I → R}
[inst_2 : Fintype I],
(∀ x ∈ RingHom.ker f, IsNilpotent x) →
(∀ (i : I), IsIdempotentElem (e i)) →
(∀ (i : I), IsMulCentral (e i)) → CompleteOrthogonalIdempotents (⇑f ∘ e) → CompleteOrthogonalIdempotents e
theorem existsUnique_isIdempotentElem_eq_of_ker_isNilpotent E3 #
∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : Ring S] (f : R →+* S),
(∀ x ∈ RingHom.ker f, IsNilpotent x) → ∀ e ∈ f.range, IsIdempotentElem e → ∃! e', IsIdempotentElem e' ∧ f e' = e
theorem OrthogonalIdempotents.surjective_pi E1 #
∀ {R : Type u_1} [inst : CommRing R] {I : Type u_3} [Finite I] {e : I → R},
OrthogonalIdempotents e → Function.Surjective ⇑(RingHom.pi fun i ↦ Ideal.Quotient.mk (Ideal.span {1 - e i}))
A family of orthogonal idempotents induces a surjection R ≃+* ∏ R ⧸ ⟨1 - eᵢ⟩
theorem OrthogonalIdempotents.prod_one_sub E1 #
∀ {R : Type u_1} [inst : CommRing R] {I : Type u_3} {e : I → R},
OrthogonalIdempotents e → ∀ (s : Finset I), ∏ i ∈ s, (1 - e i) = 1 - ∑ i ∈ s, e i
theorem CompleteOrthogonalIdempotents.of_ker_isNilpotent E1 #
∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : Ring S] (f : R →+* S) {I : Type u_3} [inst_2 : Fintype I]
{e : I → R},
(∀ x ∈ RingHom.ker f, IsNilpotent x) →
(∀ (i : I), IsIdempotentElem (e i)) → CompleteOrthogonalIdempotents (⇑f ∘ e) → CompleteOrthogonalIdempotents e
theorem CompleteOrthogonalIdempotents.prod_one_sub E1 #
∀ {R : Type u_1} [inst : CommRing R] {I : Type u_3} [inst_1 : Fintype I] {e : I → R},
CompleteOrthogonalIdempotents e → ∏ i, (1 - e i) = 0
theorem CompleteOrthogonalIdempotents.of_prod_one_sub E1 #
∀ {R : Type u_1} [inst : CommRing R] {I : Type u_3} [inst_1 : Fintype I] {e : I → R},
OrthogonalIdempotents e → ∏ i, (1 - e i) = 0 → CompleteOrthogonalIdempotents e
theorem CompleteOrthogonalIdempotents.bijective_pi E3 #
∀ {R : Type u_1} [inst : CommRing R] {I : Type u_3} [inst_1 : Fintype I] {e : I → R},
CompleteOrthogonalIdempotents e → Function.Bijective ⇑(RingHom.pi fun i ↦ Ideal.Quotient.mk (Ideal.span {1 - e i}))
A family of complete orthogonal idempotents induces an isomorphism R ≃+* ∏ R ⧸ ⟨1 - eᵢ⟩
theorem CompleteOrthogonalIdempotents.bijective_pi' E1 #
∀ {R : Type u_1} [inst : CommRing R] {I : Type u_3} [inst_1 : Fintype I] {e : I → R},
(CompleteOrthogonalIdempotents fun x ↦ 1 - e x) →
Function.Bijective ⇑(RingHom.pi fun i ↦ Ideal.Quotient.mk (Ideal.span {e i}))
theorem RingHom.pi_bijective_of_isIdempotentElem E1 #
∀ {R : Type u_1} [inst : CommRing R] {I : Type u_3} [inst_1 : Fintype I] (e : I → R),
(∀ (i : I), IsIdempotentElem (e i)) →
(∀ (i j : I), i ≠ j → (1 - e i) * (1 - e j) = 0) →
∏ i, e i = 0 → Function.Bijective ⇑(RingHom.pi fun i ↦ Ideal.Quotient.mk (Ideal.span {e i}))
theorem RingHom.prod_bijective_of_isIdempotentElem E1 #
∀ {R : Type u_1} [inst : CommRing R] {e f : R},
IsIdempotentElem e →
IsIdempotentElem f →
e + f = 1 →
e * f = 0 → Function.Bijective ⇑((Ideal.Quotient.mk (Ideal.span {e})).prod (Ideal.Quotient.mk (Ideal.span {f})))
def AlgEquiv.prodQuotientOfIsIdempotentElem E1 #
(R : Type u_1) →
[inst : CommRing R] →
{S : Type u_4} →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
{e f : S} →
IsIdempotentElem e →
IsIdempotentElem f → e + f = 1 → e * f = 0 → S ≃ₐ[R] (S ⧸ Ideal.span {e}) × S ⧸ Ideal.span {f}
If e and f are idempotent elements such that e + f = 1 and e * f = 0,
S is isomorphic as an R-algebra to S ⧸ (e) × S ⧸ (f).
theorem AlgEquiv.prodQuotientOfIsIdempotentElem_apply E0 #
∀ (R : Type u_1) [inst : CommRing R] {S : Type u_4} [inst_1 : CommRing S] [inst_2 : Algebra R S] {e f : S}
(he : IsIdempotentElem e) (hf : IsIdempotentElem f) (hef₁ : e + f = 1) (hef₂ : e * f = 0) (a : S),
(AlgEquiv.prodQuotientOfIsIdempotentElem R he hf hef₁ hef₂) a =
((Ideal.Quotient.mk (Ideal.span {e})) a, (Ideal.Quotient.mk (Ideal.span {f})) a)
theorem AlgEquiv.prodQuotientOfIsIdempotentElem_apply_snd E0 #
∀ (R : Type u_1) [inst : CommRing R] {S : Type u_4} [inst_1 : CommRing S] [inst_2 : Algebra R S] {e f : S}
(he : IsIdempotentElem e) (hf : IsIdempotentElem f) (hef₁ : e + f = 1) (hef₂ : e * f = 0) (a : S),
((AlgEquiv.prodQuotientOfIsIdempotentElem R he hf hef₁ hef₂) a).2 = (Ideal.Quotient.mk (Ideal.span {f})) a
theorem AlgEquiv.prodQuotientOfIsIdempotentElem_apply_fst E0 #
∀ (R : Type u_1) [inst : CommRing R] {S : Type u_4} [inst_1 : CommRing S] [inst_2 : Algebra R S] {e f : S}
(he : IsIdempotentElem e) (hf : IsIdempotentElem f) (hef₁ : e + f = 1) (hef₂ : e * f = 0) (a : S),
((AlgEquiv.prodQuotientOfIsIdempotentElem R he hf hef₁ hef₂) a).1 = (Ideal.Quotient.mk (Ideal.span {e})) a
theorem CompleteOrthogonalIdempotents.exists_eq_comp_of_ker_eq_span E1 #
∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : Ring S] {I : Type u_3} [inst_2 : Fintype I] (f : R →+* S)
(e₀ : R),
IsIdempotentElem e₀ →
RingHom.ker f = Ideal.span {e₀} →
∀ (e : I → S),
CompleteOrthogonalIdempotents e →
(∀ (i : I), e i ∈ f.range) → ∃ e', (CompleteOrthogonalIdempotents fun t ↦ Option.rec e₀ e' t) ∧ e = ⇑f ∘ e'
One can lift a family of complete orthogonal idempotents of R/e₀ to get one on R.
Note that the lemma itself is stated in terms of surjections (where T = S / I)
instead for syntactic generality.
def Subsemigroup.corner E1 #
{R : Type u_1} → R → [inst : Semigroup R] → Subsemigroup R
The corner associated to an element e in a semigroup
is the subsemigroup of all elements of the form e * r * e.
theorem Subsemigroup.mem_corner_iff E0 #
∀ {R : Type u_1} {e : R} [inst : Semigroup R],
IsIdempotentElem e → ∀ {r : R}, r ∈ Subsemigroup.corner e ↔ e * r = r ∧ r * e = r
theorem Subsemigroup.mem_corner_iff_mul_left E0 #
∀ {R : Type u_1} {e : R} [inst : Semigroup R],
IsIdempotentElem e → IsMulCentral e → ∀ {r : R}, r ∈ Subsemigroup.corner e ↔ e * r = r
theorem Subsemigroup.mem_corner_iff_mul_right E0 #
∀ {R : Type u_1} {e : R} [inst : Semigroup R],
IsIdempotentElem e → IsMulCentral e → ∀ {r : R}, r ∈ Subsemigroup.corner e ↔ r * e = r
theorem Subsemigroup.mem_corner_iff_mem_range_mul_left E0 #
∀ {R : Type u_1} {e : R} [inst : Semigroup R],
IsIdempotentElem e → IsMulCentral e → ∀ {r : R}, r ∈ Subsemigroup.corner e ↔ r ∈ Set.range fun x ↦ e * x
theorem Subsemigroup.mem_corner_iff_mem_range_mul_right E0 #
∀ {R : Type u_1} {e : R} [inst : Semigroup R],
IsIdempotentElem e → IsMulCentral e → ∀ {r : R}, r ∈ Subsemigroup.corner e ↔ r ∈ Set.range fun x ↦ x * e
def IsIdempotentElem.Corner E1 #
{R : Type u_1} → {e : R} → [inst : Semigroup R] → IsIdempotentElem e → Type u_1
The corner associated to an idempotent e in a semiring without 1
is the semiring with e as 1 consisting of all element of the form e * r * e.
def NonUnitalSubsemiring.corner E1 #
{R : Type u_1} → R → [inst : NonUnitalSemiring R] → NonUnitalSubsemiring R
The corner associated to an element e in a semiring without 1
is the subsemiring without 1 of all elements of the form e * r * e.
def NonUnitalRing.corner E1 #
{R : Type u_1} → R → [inst : NonUnitalRing R] → NonUnitalSubring R
The corner associated to an element e in a ring without 1
is the subring without 1 of all elements of the form e * r * e.
instance instSemiringCorner E0 #
{R : Type u_1} → (e : R) → [inst : NonUnitalSemiring R] → (idem : IsIdempotentElem e) → Semiring idem.Corner
instance instCommSemiringCorner E0 #
{R : Type u_1} → (e : R) → [inst : NonUnitalCommSemiring R] → (idem : IsIdempotentElem e) → CommSemiring idem.Corner
instance instRingCorner E0 #
{R : Type u_1} → (e : R) → [inst : NonUnitalRing R] → (idem : IsIdempotentElem e) → Ring idem.Corner
instance instCommRingCorner E0 #
{R : Type u_1} → (e : R) → [inst : NonUnitalCommRing R] → (idem : IsIdempotentElem e) → CommRing idem.Corner
def CompleteOrthogonalIdempotents.ringEquivOfIsMulCentral E1 #
{R : Type u_1} →
{I : Type u_2} →
[inst : Fintype I] →
{e : I → R} →
[inst_1 : Semiring R] →
(he : CompleteOrthogonalIdempotents e) → (∀ (i : I), IsMulCentral (e i)) → R ≃+* ((i : I) → ⋯.Corner)
A complete orthogonal family of central idempotents in a semiring give rise to a direct product decomposition.
def CompleteOrthogonalIdempotents.ringEquivOfComm E1 #
{R : Type u_1} →
{I : Type u_2} →
[inst : Fintype I] →
{e : I → R} → [inst_1 : CommSemiring R] → (he : CompleteOrthogonalIdempotents e) → R ≃+* ((i : I) → ⋯.Corner)
A complete orthogonal family of idempotents in a commutative semiring give rise to a direct product decomposition.
theorem Ideal.mem_map_span_singleton_iff_of_isIdempotentElem E0 #
∀ {R : Type u_1} [inst : CommRing R] {e r : R},
IsIdempotentElem e →
∀ {I : Ideal R},
(Ideal.Quotient.mk (Ideal.span {e})) r ∈ Ideal.map (Ideal.Quotient.mk (Ideal.span {e})) I ↔ (1 - e) * r ∈ I