Zulip Chat Archive

Stream: mathlib4

Topic: elaborate eliminator


Johan Commelin (Jan 12 2023 at 07:06):

Is there a common fix for

failed to elaborate eliminator, expected type is not available

In this case the snippet is

instance DecidableEq [DecidableEq α] : DecidableEq (Multiset α)
  | s₁, s₂ => (Quotient.recOnSubsingleton₂ s₁ s₂) fun l₁ l₂ => decidable_of_iff' _ Quotient.eq

and the error is on Quotient.recOnSubsingleton₂ s₁ s₂.

James Gallicchio (Jan 12 2023 at 07:10):

That was the error I was seeing here but I have no idea if it's the same elaboration issue


Last updated: Dec 20 2023 at 11:08 UTC