Consider the following premises. Linda is not a carpenter. Mary is running. Linda is a carpenter if and only if Mary is running. Can we infer the following from them? James is sleeping.
We cannot infer that from the premises. Therefore the answer is no.