Consider the following premises. It is not cold. Richard is a doctor. David is working if and only if it is cold. Can we infer the following from them? If Richard were a doctor, then David is not working.
We cannot infer that from the premises. Therefore the answer is no.