Zulip Chat Archive

Stream: maths

Topic: zmod algebra diamond


Chris Hughes (Sep 19 2021 at 13:05):

I found a diamond sadly

import data.zmod.algebra
import ring_theory.mv_polynomial.basic

example {p : } (σ : Type) : @mv_polynomial.algebra (zmod p) (zmod p) σ _ _ _ =
  zmod.algebra (mv_polynomial σ (zmod p)) p := rfl --doesn't work

Is there something we can do about this? Did we do something to fix this for int?

Chris Hughes (Sep 19 2021 at 13:10):

Maybe the map from zmod p needs to be part of the char_p typeclass. I am a little uncomfortable with how far we're taking the algebra type class and relying on type class inference to find all our ring homs we want to use.

Eric Wieser (Sep 20 2021 at 08:30):

Chris Hughes said:

Did we do something to fix this for int?

No, there was a slide in my FMM2021 talk about what we could do, but it hasn't been done


Last updated: Dec 20 2023 at 11:08 UTC