AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs.HenselianLocalRing_of_isIntegral_of_isLocalRing.HensIntAux.eq_zero_or_eq_one_of_isIdempotentElem
Source context 7 commands
Surrounding namespaces, section variables, and local commands at this declaration.
section ProofImplementation
namespace AlgebraicCurves.Foundations.CommutativeAlgebra.Proofs
namespace HenselianLocalRing_of_isIntegral_of_isLocalRing
universe u v
namespace HensIntAux
open IsLocalRing Polynomial
open _root_.HenselianLocalRing
(exists_completeOrthogonalIdempotents_forall_isLocalRing_quotient_of_moduleFinite)Lean source · statement
theorem eq_zero_or_eq_one_of_isIdempotentElem {S : Type v} [CommRing S] [IsLocalRing S] (x : S)
(hx : IsIdempotentElem x) : x = 0 ∨ x = 1