Zulip Chat Archive

Stream: mathlib4

Topic: apply? and equalities


Johan Commelin (Aug 12 2024 at 06:53):

Andrew Yang said:

IIRC apply? does not work for goals about equalities

I didn't check this. But if it is true, then it would be great if apply? would throw a warning: "Your goal is an equality. I don't deal with those."

Kim Morrison (Aug 13 2024 at 01:48):

If true, that would be a bug. It doesn't work with goals of the form x = y, where the type is a variable. But any structure on either the lhs or rhs, or structure in the type, should allow it to run.

Kim Morrison (Aug 13 2024 at 01:48):

I guess there could be a useful message in that case, however. PR welcome. :-)


Last updated: May 02 2025 at 03:31 UTC