Consider the following premises. It is sunny if and only if Thomas is a carpenter. If Thomas were a carpenter, then it is sunny. Can we infer the following from them? The fact that it is sunny does not imply that Thomas is a carpenter.
That contradicts the premises. Therefore the answer is no.