Zulip Chat Archive

Stream: new members

Topic: Flipping hypothesis around equals sign


Andrew Helwer (Jun 23 2022 at 18:38):

Quick question, if I have a hypothesis h : a = a + b how can I rewrite it to be h : a + b = a?

Jon Eugster (Jun 23 2022 at 18:42):

eq.symm is the relevant piece, so for example h.symm

Ruben Van de Velde (Jun 23 2022 at 19:08):

Or if you do want to rewrite, rw eq_comm. It's a general pattern that X.symm is an implication and X_comm is the iff


Last updated: Dec 20 2023 at 11:08 UTC