Zulip Chat Archive
Stream: Is there code for X?
Topic: Multiplicative characters of finite groups
Daniel Weber (Feb 27 2024 at 13:27):
Are basic lemmas on multiplicative characters of finite groups proven in mathlib? In particular, I'm interested in orthogonality.
Daniel Weber (Feb 27 2024 at 13:29):
Oh, I found Mathlib.NumberTheory.LegendreSymbol.MulCharacter
. Should've looked in number theory
Notification Bot (Feb 27 2024 at 13:29):
Command Master has marked this topic as resolved.
Notification Bot (Feb 27 2024 at 13:36):
Command Master has marked this topic as unresolved.
Daniel Weber (Feb 27 2024 at 13:37):
Actually, my domain isn't a ring, only a group. Is there something for this case?
Daniel Weber (Feb 27 2024 at 13:40):
Oh, actually I see that the definition is for a monoid, but the theorem I need, MulChar.IsNontrivial.sum_eq_zero
, requires that the domain is a ring.
Kevin Buzzard (Feb 27 2024 at 14:32):
docs#MulChar.IsNontrivial.sum_eq_zero
Michael Stoll (Feb 27 2024 at 14:33):
OK; I'll see to what extent the CommRing
assumption can be weakened to CommMonoid
here.
Daniel Weber (Feb 27 2024 at 14:33):
Yes, I found this, but this requires the domain to be a ring and mine is only a group.
Kevin Buzzard (Feb 27 2024 at 14:33):
I know you found it, I was just looking to see what it said :-) (if you write it like that on Zulip it makes a link)
Michael Stoll (Feb 27 2024 at 14:33):
(I just checked that the proof still works. But I have to go through the file more systematically...)
Michael Stoll (Feb 27 2024 at 14:47):
#11012
Should be easy to review...
Daniel Weber (Feb 28 2024 at 05:27):
I see it was merged, thanks! A bit unrelated, but how do I update mathlib? When I run lake update
I get error: project: could not rename packages directory (.\.lake/packages -> .\.lake\packages): no error (error code: 0)
Daniel Weber (Feb 28 2024 at 06:38):
By the way, I think this can also be done for (at least some of) docs#AddChar
Ruben Van de Velde (Feb 28 2024 at 07:24):
That's a new error for me. Just to be clear: are you updating your independent copy of the mathlib repository, or mathlib as a dependency of another project?
Damiano Testa (Feb 28 2024 at 07:36):
Indeed, and the mismatch /
is \
is weird.
Daniel Weber (Feb 28 2024 at 07:40):
Ruben Van de Velde said:
That's a new error for me. Just to be clear: are you updating your independent copy of the mathlib repository, or mathlib as a dependency of another project?
As a dependency.
Ruben Van de Velde (Feb 28 2024 at 08:47):
I would try to remove the .lake
folder manually and then run lake update
again
Daniel Weber (Feb 28 2024 at 09:18):
That works, thanks
Michael Stoll (Feb 28 2024 at 16:49):
Command Master said:
By the way, I think this can also be done for (at least some of) docs#AddChar
#11049 for similar improvements to additive characters.
Richard Copley (Mar 02 2024 at 01:35):
Command Master said:
I see it was merged, thanks! A bit unrelated, but how do I update mathlib? When I run
lake update
I geterror: project: could not rename packages directory (.\.lake/packages -> .\.lake\packages): no error (error code: 0)
I suspect you just needed to shut down instances of lake
and lean
running in your project directory, for example by closing your editor.
Last updated: May 02 2025 at 03:31 UTC