Zulip Chat Archive
Stream: lean4
Topic: rcases and equations à la `inl x = inl y`
Jakob von Raumer (Feb 12 2024 at 14:54):
Is there a reason that cases can handle targets like inl x = inl y while rcases can't? Would be cool to be able to use a rfl pattern on such equations too, even if it involves a congr application behind the scenes
Mario Carneiro (Feb 12 2024 at 21:13):
you should use the \<\> pattern on that equation
Mario Carneiro (Feb 12 2024 at 21:13):
rfl means to use subst, which has slightly different behavior from cases
Last updated: May 02 2025 at 03:31 UTC