Zulip Chat Archive

Stream: Is there code for X?

Topic: simplify dite


Chase Norman (Apr 25 2021 at 00:57):

I have a goal with a dite expression. For ite, ite_eq_left_iff and ite_eq_right_iff allow me to simplify the expression easily. Are there analogous lemmas for dite?

Adam Topaz (Apr 25 2021 at 01:01):

The API search came up short for me, but you can always use the split_ifs tactic

Adam Topaz (Apr 25 2021 at 01:01):

tactic#split_ifs

Chase Norman (Apr 25 2021 at 01:06):

Thank you so much!

Scott Morrison (Apr 25 2021 at 03:09):

I use rw dif_pos or rw dif_neg when I want to specify which way it goes.


Last updated: Dec 20 2023 at 11:08 UTC