How can you prove that a half adder with an inverter on the carry is equal to a half subtractor?

please help me how to prove this. our topic is about logic design and logic circuits
1 answer 1