Zulip Chat Archive

Stream: mathlib4

Topic: Can't find instance


Yury G. Kudryashov (Jan 31 2023 at 06:41):

In !4#1963, Lean fails to find [Module α α] here and there, even if I add let _ := @Semiring.toModule α _.

Yury G. Kudryashov (Jan 31 2023 at 06:42):

Any ideas why? BTW, I generalized some lemmas and backported changes in #18334

Kevin Buzzard (Jan 31 2023 at 08:00):

What does the trace look like? See lean4#2074 for how to switch the trace on (and for an example of typeclass inference failing)


Last updated: Dec 20 2023 at 11:08 UTC