Commit 2025-04-17 00:27 5fcae8b6

View on Github →

feat: additivise Irreducible (#22904) In the Toric project, we need to talk about (additive) irreducible elements of a lattice cone (they generate the cone). There is no definition of additive irreducible elements in mathlib, but luckily the existing definition of multiplicative irreducible elements talks about general monoids (instead of merely monoids with zero). This PR additivises all the API, except for the parts about divisibility and monoids with zero, and moves it to a new file under Algebra.Group. From Toric

Estimated changes

deleted theorem Irreducible.ne_one
modified theorem Irreducible.not_dvd_one
deleted structure Irreducible
deleted theorem irreducible_iff
deleted theorem irreducible_or_factor
deleted theorem not_irreducible_one
deleted theorem of_irreducible_mul
deleted theorem Irreducible.map
deleted theorem Irreducible.not_square
deleted theorem Irreducible.of_map
deleted theorem IsSquare.not_irreducible
deleted theorem MulEquiv.irreducible_iff
deleted theorem irreducible_isUnit_mul
deleted theorem irreducible_mul_iff
deleted theorem irreducible_mul_isUnit
deleted theorem irreducible_mul_units
deleted theorem irreducible_units_mul
deleted theorem not_irreducible_pow