Zulip Chat Archive
Stream: mathlib4
Topic: roots of unity
Kevin Buzzard (Feb 15 2024 at 17:26):
In RingTheory.RootsOfUnity.Basic I am amused to note that after the initial rootsOfUnity
section (initial lemmas, valid for CommMonoid
s) there is a CommSemiring
section (lines 134 to 179) and the lemmas there also all work fine for CommMonoids :-) What is the reason that they are proved for CommSemirings? Could there be a justification for this? For example 99% of the time they're applied to RingHoms and people don't want to write .toMulHom
?
Ruben Van de Velde (Feb 15 2024 at 17:27):
Is there a reason they're not proved for MonoidHomClass?
Riccardo Brasca (Feb 15 2024 at 17:30):
I am pretty sure this is just some sort of historical accident. Feel free to PR any generalization :)
Jireh Loreaux (Feb 15 2024 at 18:45):
Kevin, we shouldn't be writing .toMulHom
, we have coercions for that sort of thing.
Kevin Buzzard (Feb 15 2024 at 19:59):
#10605 let's see if anything breaks.
Last updated: May 02 2025 at 03:31 UTC