We already use that assume(X) implies X==true, do the same for assume(!X) implying X==false. This fixes PR47496.
The other assume tests seem to be dealing with equalities in particular. Test implication for the condition itself, especially the negated case from PR47496.