What if my goal is not the conclusion of an implication? [019V]

Modus ponens applies in the specific case where you are trying to prove Q and you know that P\implies Q holds. In practice, you may actually have an assumption like P\implies Q but your goal is some other statement R.

in a case like this, you may know in advance that it will be useful to have Q in your pocket in the course of proving R. Here is how you do this:

  1. I know P\implies Q, and I want to prove R.
  2. To prove R, by modus ponens, it suffices to prove Q \implies R and Q.
  3. Now we have two goals.
    1. In one goal, we want to prove Q\implies R. We assume Q, and try to prove R from that. (The rest of this subproof goes here.)
    2. On the other goal, we need to prove Q. (The rest of this subproof goes here.)