## You are here

Homeinference rule

## Primary tabs

# inference rule

In logic, an *inference rule* is a rule whereby one may correctly
draw a conclusion from one or more premises. For example, the law of
the contrapositive allows one to conclude a statement of the form

$\neg Q\Rightarrow\neg P$ |

from a premise of the form

$P\Rightarrow Q.$ |

Here, ‘$P$’ and ‘$Q$’ are propositional variables, which can stand for arbitrary propositions. A popular way to indicate applications of rules of inference is to list the premises above a line and write the conclusions below the line. For instance, we might indicate the law of the contrapositive thus:

${P\Rightarrow Q\over\neg Q\Rightarrow\neg P}$ |

A typical application of the law of contrapositive would be to conclude ”If my clothes are dry, then it is not raining”, from ”If it rains, then my clothes will be wet.” which could be expressed as follows using the notation described above:

${\hbox{If it rains, then my clothes will be wet.}\over\hbox{If my clothes are % dry, then it is not raining.}}$ |

(In this instance, $P$ is “It is raining” and $Q$ is “My clothes are dry”.

An important feature of rules of inference is that they are purely formal, which means that all that matters is the form of the expression; meaning is not a consideration in applying a rule of inference. Thus, the following are equally valid applications of the rule of the contrapositive:

${\hbox{If the jabberwocky is mimsy, then the toves blithe.}\over\hbox{If the % toves are not blithing, then the jabberwocky is not mimsy.}}$ |

${\hbox{If my cat has a tail, then my cat is a dog.}\over\hbox{If my cat is not% a dog, then my cat does not have a tail.}}$ |

In the first example, the statements are nonsense and in the second example, the statements are false, but this doesn’t matter — both examples constitute valid apllications of the rule of the contrapositive. Of course, in order to draw valid conclusions, we need to start with valid premises, but the point of these examples is clarify the distinction between valid statements and valid applications of rules of inference.

## Mathematics Subject Classification

03B35*no label found*03B22

*no label found*03B05

*no label found*

- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)

- Other useful stuff
- Corrections