# 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.

 Title inference rule Canonical name InferenceRule Date of creation 2013-03-22 16:50:51 Last modified on 2013-03-22 16:50:51 Owner rspuzio (6075) Last modified by rspuzio (6075) Numerical id 8 Author rspuzio (6075) Entry type Definition Classification msc 03B35 Classification msc 03B22 Classification msc 03B05 Synonym rule of inference Related topic ModusPonens Related topic LogicalAxiom Related topic DeductiveSystem