Zulip Chat Archive

Stream: new members

Topic: Is there a variant of `simp` that handles reverse simps?


Abhimanyu Pallavi Sudhir (Nov 18 2018 at 00:41):

Is there a variant of simp so I can write things like simp [←P, Q] or simp only [←P, Q] where P and Q may or may not be simp lemmas?

Kenny Lau (Nov 18 2018 at 00:42):

nope. you need to do P.symm

Mario Carneiro (Nov 18 2018 at 00:43):

and you alsso need to remove P if it is a simp lemma or it will go into a loop

Chris Hughes (Nov 18 2018 at 01:03):

remove P, means do simp [P.symm, -P]

Mario Carneiro (Nov 18 2018 at 01:20):

maybe we should write simp'? I'm sure this isn't the last tweak we will want


Last updated: Dec 20 2023 at 11:08 UTC