Rules of inference are ways of deriving conclusions from premises. They are integral parts of formal logic, serving as the logical structure of valid arguments. If an argument with true premises follows a rule of inference then the conclusion cannot be false. Modus ponens, an influential rule of inference, connects two premises of the form "if P {\displaystyle P} then Q {\displaystyle Q} " and " P {\displaystyle P} " to the conclusion " Q {\displaystyle Q} ", as in the argument "If it rains, then the ground is wet. It rains. Therefore, the ground is wet." There are many other rules of inference for different patterns of valid arguments, such as modus tollens, disjunctive syllogism, constructive dilemma, and existential generalization. Rules of inference include rules of implication, which operate only in one direction from premises to conclusions, and rules of replacement, which state that two expressions are equivalent and can be freely swapped. They contrast with formal fallacies—invalid argument forms involving logical errors. Logicians construct formal systems to precisely capture and codify valid patterns of reasoning, with distinct systems using different rules of inference. For example, propositional logic examines how statements formed through logical operators like "not" and "if...then..." support conclusions. First-order logic extends propositional logic by analyzing how the internal structure of propositions, like names and predicates, influences reasoning. Other logical systems explore inferential patterns associated with what is possible and necessary, with what people believe, and with what happened at different times. Various formalisms are used to express logical systems. Natural deduction systems employ many intuitive rules of inference to reflect how people naturally reason, while Hilbert systems provide minimalistic frameworks to represent foundational principles without redundancy. Rules of inference are relevant to many areas, such as proofs in mathematics and automated reasoning in computer science. Their conceptual and psychological underpinnings are studied by philosophers of logic and cognitive psychologists.
Definition A rule of inference is a way of drawing a conclusion from a set of premises. Also called inference rule and transformation rule, it is a norm of correct inferences that can be used to guide reasoning, justify conclusions, and criticize arguments. As part of deductive logic, rules of inference are argument forms that preserve the truth of the premises, meaning that the conclusion is always true if the premises are true. An inference is deductively valid if it follows a correct rule of inference. Whether this is the case depends only on the form or syntactic structure of the premises and the conclusion, that is, the actual content or concrete meaning of the statements does not affect validity. For instance, modus ponens is a rule of inference that connects two premises of the form "if P {\displaystyle P} then Q {\displaystyle Q} " and " P {\displaystyle P} " to the conclusion " Q {\displaystyle Q} ". The letters P {\displaystyle P} and Q {\displaystyle Q} in this example and in later formulas are so-called metavariables: they stand for any simple or compound proposition. Any argument following modus ponens is valid, independent of the specific meanings of P {\displaystyle P} and Q {\displaystyle Q} , such as the argument "If it is day, then it is light. It is day. Therefore, it is light." In addition to 'modus ponens, there are many other rules of inference, such as modus tollens, disjunctive syllogism, and constructive dilemma. There are different formats to represent rules of inference. A common approach is to use a new line for each premise and to separate the premises from the conclusion using a horizontal line. With this format, modus ponens is written as:
P → Q P Q {\displaystyle {\begin{array}{l}P\to Q\\P\\\hline Q\end{array}}}
… excerpt ends here. Continue reading the full article.


![Rule of inference: George Boole (1815–1864) made key contributions to symbolic logic in general and propositional logic in particular.[18]](https://upload.wikimedia.org/wikipedia/commons/thumb/7/73/PSM_V17_D740_George_Boole.jpg/1280px-PSM_V17_D740_George_Boole.jpg?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
![Rule of inference: The rules of inference in Aristotle's (384–322 BCE) logic have the form of syllogisms.[49]](https://upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Aristotle_Altemps_Inv8575.jpg/1280px-Aristotle_Altemps_Inv8575.jpg?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
![Rule of inference: Affirming the consequent is a formal fallacy that resembles the valid rule of inference modus ponens.[72]](https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Modus_ponens_%26_affirming_the_consequent.svg/330px-Modus_ponens_%26_affirming_the_consequent.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
