For example, I have this hypothesis in my context:
Heq: (a =? b) &&
(c =? d) &&
(e =? f) = true
that I would like to transform to this:
Heq: (a = b) /\
(c = d) /\
(e = f)
I have seen this post
coq tactic for replacing bools with Prop
but it was not really strightforward to me to use those tactics because there is no Is_true in the expression in my context.
Edit:
Heq is modified by adding = true since I made a mistake first time reading it from the context.
I have solved it by:
which adds
= trueto the last two bool expressions and replace the second&&with/\.I then split the
Heqexpression into two sub-expressions by:and did the same thing on the remaining left bool sub-expression:
Finally, I converted the bool equality into Prop equality by: