I have a hypothesis of the form
H := check_smaller_thm 1 2 : {2 <= 1} + {2 > 1}
I also have a sub goal
If check_smaller_thm 1 2 then some stuff else some other stuff
I am stuck at this point because I do not see what tactic to use in order to modify H such that I keep the correct Hypothesis (here, {2 > 1}). Then I would like to use it in my sub goal to keep the correct part of the if.
Is there a way to achieve this ?
EDIT
It seems that
If check_smaller_thm 1 2 then some stuff else some other stuff
always applies some stuff instead of other stuff. Is that possible ?