Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Mathlib/RingTheory/Flat/FaithfullyFlat/Algebra.lean
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,16 @@ lemma PrimeSpectrum.comap_surjective_of_faithfullyFlat :
@[deprecated (since := "2025-12-10")]
alias PrimeSpectrum.specComap_surjective_of_faithfullyFlat :=
PrimeSpectrum.comap_surjective_of_faithfullyFlat

section IsLocalRing

variable (A B)

instance Module.FaithfullyFlat.isLocalHom : IsLocalHom (algebraMap A B) :=
IsLocalHom.of_comap_surjective (algebraMap A B) PrimeSpectrum.comap_surjective_of_faithfullyFlat

/-- Let `B` be a faithfully flat `A`-algebra, then `A` is a local ring if `B` is. -/
theorem Module.FaithfullyFlat.isLocalRing [IsLocalRing B] : IsLocalRing A :=
(algebraMap A B).domain_isLocalRing

end IsLocalRing
Loading