Propositional Logic Example

Generating Theorems from the Hypotheses

In this introduction to propositional logic we will be looking at only two rules of inference for generating new theorems. These are as follows:
  1. Modus Ponens (method of assertion) allows us to reduce an implication to the right hand statement if the left hand statement can be shown to be true. In other words if you have an expression in you list of hypotheses and theorems that match the expression E -> F and the expression E then you can add the theorem F to you list.
  2. Simplification allows us to reduce a logical and statement to either of its components. In other words if you have an expression in your list of hypotheses and theorems that match the expression E and F then you can add to your list the expression E. Similarly you can add to your list of theorems the expression F.
The following application of the above rules of inference lead us to the desired proof:
Hypotheses
1. p or q
2. r -> p and q
3. p or q -> r and p
Theorems
1. r and p modus ponens on hypotheses 1 & 3
2. r simplification of theorem 1
3. p and q modus ponens on theorem 2 & hypotheses 2
4. q simplification of theorem 3