Zulip Chat Archive

Stream: new members

Topic: Flipping an equality


Omnikar (Sep 24 2022 at 20:40):

Hi, I just found out about Lean recently and have been reading through and following along with "Theorem Proving with Lean 4." I've come here to ask: given hab : a = b, how would I obtain hba : b = a?

Omnikar (Sep 24 2022 at 20:44):

Oh, I found the answer, it's Eq.symm

Kevin Buzzard (Sep 24 2022 at 22:10):

You can probably even use hab.symm because of dot notation


Last updated: Dec 20 2023 at 11:08 UTC