We also can work with negations to create a valid argument:
$ If Socrates is a fish, then Socrates can live underwater. Socrates cannot live underwater.hlineTherefore, Socrates is not a fish. $
Also known as law of contrapositive or denying the consequent, modus tollens works by reversing modus ponens. Formally,
$ A→B ¬Bhline∴ $