Commit 2024-10-25 12:58 b5a5319a
View on Github →chore(Algebra/Associated): split off Prime and Irreducible (#18224) This PR moves definitions about prime and irreducible elements to their own file. I always found it somewhat weird that associated elements and prime elements had to live together. After this PR:
Prime
,Irreducible
andirreducible_iff_prime
will live inAlgebra/Prime/Defs.lean
- All results on prime and irreducible elements that do not further need associated elements will live in
Algebra/Prime/Lemmas.lean
I considered also splitting upAssociated/Basic.lean
intoDefs
,Lemmas
andPrime
, but that might be for a follow-up PR. This is in preparation for further cleaning upData/Nat/Prime/Defs.lean
.