HOME

TheInfoList



OR:

This is a list of
rules of inference Rules of inference are ways of deriving conclusions from premises. They are integral parts of formal logic, serving as norms of the logical structure of valid arguments. If an argument with true premises follows a rule of inference then the c ...
, logical laws that relate to mathematical formulae.


Introduction

Rules of inference are syntactical transform rules which one can use to infer a conclusion from a premise to create an argument. A set of rules can be used to infer any valid conclusion if it is complete, while never inferring an invalid conclusion, if it is sound. A sound and complete set of rules need not include every rule in the following list, as many of the rules are redundant, and can be proven with the other rules. ''Discharge rules'' permit inference from a subderivation based on a temporary assumption. Below, the notation : \varphi \vdash \psi indicates such a subderivation from the temporary assumption \varphi to \psi.


Rules for

propositional calculus The propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. Sometimes, it is called ''first-order'' propositional logic to contra ...


Rules for negations

;
Reductio ad absurdum In logic, (Latin for "reduction to absurdity"), also known as (Latin for "argument to absurdity") or ''apagogical argument'', is the form of argument that attempts to establish a claim by showing that the opposite scenario would lead to absur ...
(or '' Negation Introduction''): : \varphi \vdash \psi : \underline : \lnot \varphi ;
Reductio ad absurdum In logic, (Latin for "reduction to absurdity"), also known as (Latin for "argument to absurdity") or ''apagogical argument'', is the form of argument that attempts to establish a claim by showing that the opposite scenario would lead to absur ...
(related to the
law of excluded middle In logic, the law of excluded middle or the principle of excluded middle states that for every proposition, either this proposition or its negation is true. It is one of the three laws of thought, along with the law of noncontradiction and t ...
): : \lnot \varphi \vdash \psi : \underline : \varphi ;'' Ex contradictione quodlibet'': : \varphi : \underline : \psi


Rules for conditionals

;
Deduction theorem In mathematical logic, a deduction theorem is a metatheorem that justifies doing conditional proofs from a hypothesis in systems that do not explicitly axiomatize that hypothesis, i.e. to prove an implication A \to B, it is sufficient to assume A ...
(or '' Conditional Introduction''): : \underline : \varphi \rightarrow \psi ;
Modus ponens In propositional logic, (; MP), also known as (), implication elimination, or affirming the antecedent, is a deductive argument form and rule of inference. It can be summarized as "''P'' implies ''Q.'' ''P'' is true. Therefore, ''Q'' must ...
(a type of '' Conditional Elimination''): : \varphi \rightarrow \psi : \underline : \psi ;
Modus tollens In propositional logic, ''modus tollens'' () (MT), also known as ''modus tollendo tollens'' (Latin for "mode that by denying denies") and denying the consequent, is a deductive argument form and a rule of inference. ''Modus tollens'' is a m ...
(a type of '' Conditional Elimination''): : \varphi \rightarrow \psi : \underline : \lnot \varphi


Rules for conjunctions

; Adjunction (or ''
Conjunction Introduction Conjunction introduction (often abbreviated simply as conjunction and also called and introduction or adjunction) is a valid rule of inference of propositional logic. The rule makes it possible to introduce a conjunction into a logical proof. ...
''): : \varphi : \underline : \varphi \land \psi ; Simplification (or ''
Conjunction Elimination In propositional logic, conjunction elimination (also called ''and'' elimination, ∧ elimination, or simplification)Hurley is a valid immediate inference, argument form and rule of inference which makes the inference that, if the conjunction ...
''): : \underline : \varphi : \underline : \psi


Rules for disjunctions

;
Addition Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol, +) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication, and Division (mathematics), divis ...
(or ''
Disjunction Introduction Disjunction introduction or addition (also called or introduction) is a rule of inference of propositional logic and almost every other deduction system. The rule makes it possible to introduce disjunctions to logical proofs. It is the inferen ...
''): : \underline : \varphi \lor \psi : \underline : \varphi \lor \psi ; Case analysis (or '' Proof by Cases'' or '' Argument by Cases'' or '' Disjunction elimination'') : \varphi \rightarrow \chi : \psi \rightarrow \chi : \underline : \chi ;
Disjunctive syllogism In classical logic, disjunctive syllogism (historically known as ''modus tollendo ponens'' (MTP), Latin for "mode that affirms by denying") is a valid argument form which is a syllogism having a disjunctive statement for one of its premises. ...
: : \varphi \lor \psi : \underline : \psi : \varphi \lor \psi : \underline : \varphi ;
Constructive dilemma Constructive dilemmaCopi and Cohen is a valid rule of inference of propositional logic. It is the inference that, if ''P'' implies ''Q'' and ''R'' implies ''S'' and either ''P'' or ''R'' is true, then either ''Q or S'' has to be true. In sum, i ...
: \varphi \rightarrow \chi : \psi \rightarrow \xi : \underline : \chi \lor \xi


Rules for biconditionals

; Biconditional introduction: : \varphi \rightarrow \psi : \underline : \varphi \leftrightarrow \psi ; Biconditional elimination: : \varphi \leftrightarrow \psi : \underline : \psi : \varphi \leftrightarrow \psi : \underline : \varphi : \varphi \leftrightarrow \psi : \underline : \lnot \psi : \varphi \leftrightarrow \psi : \underline : \lnot \varphi : \varphi \leftrightarrow \psi : \underline : \psi \land \varphi : \varphi \leftrightarrow \psi : \underline : \lnot \psi \land \lnot \varphi


Rules of classical

predicate calculus Predicate or predication may refer to: * Predicate (grammar), in linguistics * Predication (philosophy) * several closely related uses in mathematics and formal logic: **Predicate (mathematical logic) ** Propositional function **Finitary relation, ...

In the following rules, \varphi(\beta / \alpha) is exactly like \varphi except for having the term \beta wherever \varphi has the free variable \alpha. ; Universal Generalization (or Universal Introduction): : \underline : \forall \alpha\, \varphi Restriction 1: \beta is a variable which does not occur in \varphi.
Restriction 2: \beta is not mentioned in any hypothesis or undischarged assumptions. ;
Universal Instantiation In predicate logic, universal instantiation (UI; also called universal specification or universal elimination, and sometimes confused with '' dictum de omni'') is a valid rule of inference from a truth about each member of a class of individual ...
(or Universal Elimination): : \forall \alpha\, \varphi : \overline Restriction: No free occurrence of \alpha in \varphi falls within the scope of a quantifier quantifying a variable occurring in \beta. ; Existential Generalization (or Existential Introduction): : \underline : \exists \alpha\, \varphi Restriction: No free occurrence of \alpha in \varphi falls within the scope of a quantifier quantifying a variable occurring in \beta. ; Existential Instantiation (or Existential Elimination): : \exists \alpha\, \varphi : \underline : \psi Restriction 1: \beta is a variable which does not occur in \varphi.
Restriction 2: There is no occurrence, free or bound, of \beta in \psi.
Restriction 3: \beta is not mentioned in any hypothesis or undischarged assumptions.


Rules of

substructural logic In logic, a substructural logic is a logic lacking one of the usual structural rules (e.g. of classical and intuitionistic logic), such as weakening, contraction, exchange or associativity. Two of the more significant substructural logics a ...

The following are special cases of universal generalization and existential elimination; these occur in substructural logics, such as
linear logic Linear logic is a substructural logic proposed by French logician Jean-Yves Girard as a refinement of classical and intuitionistic logic, joining the dualities of the former with many of the constructive properties of the latter. Although the ...
. ;Rule of weakening (or
monotonicity of entailment Monotonicity of entailment is a property of many logical systems such that if a sentence follows deductively from a given set of sentences then it also follows deductively from any superset of those sentences. A corollary is that if a given argume ...
) (aka
no-cloning theorem In physics, the no-cloning theorem states that it is impossible to create an independent and identical copy of an arbitrary unknown quantum state, a statement which has profound implications in the field of quantum computer, quantum computing among ...
) : \alpha\vdash\beta : \overline ;Rule of contraction (or idempotency of entailment) (aka no-deleting theorem) : \underline : \alpha,\gamma\vdash\beta


Table: Rules of Inference

The rules above can be summed up in the following table.Kenneth H. Rosen: ''Discrete Mathematics and its Applications'', Fifth Edition, p. 58. The " Tautology" column shows how to interpret the notation of a given rule. All rules use the basic logic operators. A complete table of "logic operators" is shown by a
truth table A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, Boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional arg ...
, giving definitions of all the possible (16) truth functions of 2 boolean variables (''p'', ''q''): where T = true and F = false, and, the columns are the logical operators: * 0, false,
Contradiction In traditional logic, a contradiction involves a proposition conflicting either with itself or established fact. It is often used as a tool to detect disingenuous beliefs and bias. Illustrating a general tendency in applied logic, Aristotle's ...
; * 1, NOR,
Logical NOR In Boolean logic, logical NOR, non-disjunction, or joint denial is a truth-functional operator which produces a result that is the negation of logical or. That is, a sentence of the form (''p'' NOR ''q'') is true precisely when neither ''p' ...
( Peirce's arrow); * 2, Converse nonimplication; * 3, ¬p,
Negation In logic, negation, also called the logical not or logical complement, is an operation (mathematics), operation that takes a Proposition (mathematics), proposition P to another proposition "not P", written \neg P, \mathord P, P^\prime or \over ...
; * 4,
Material nonimplication Material nonimplication or abjunction () is a term referring to a logic operation used in generic circuits and Boolean algebra. It is the negation of Material conditional, material implication. That is to say that for any two propositions P and Q ...
; * 5, ¬q,
Negation In logic, negation, also called the logical not or logical complement, is an operation (mathematics), operation that takes a Proposition (mathematics), proposition P to another proposition "not P", written \neg P, \mathord P, P^\prime or \over ...
; * 6, XOR,
Exclusive disjunction Exclusive or, exclusive disjunction, exclusive alternation, logical non-equivalence, or Logical_equality#Inequality, logical inequality is a Logical connective, logical operator whose negation is the logical biconditional. With two inputs, X ...
; * 7, NAND,
Logical NAND In Boolean functions and propositional calculus, the Sheffer stroke denotes a logical operation that is equivalent to the negation of the conjunction operation, expressed in ordinary language as "not both". It is also called non-conjunction, ...
(
Sheffer stroke In Boolean functions and propositional calculus, the Sheffer stroke denotes a logical operation that is equivalent to the negation of the conjunction operation, expressed in ordinary language as "not both". It is also called non-conjunction, ...
); * 8, AND,
Logical conjunction In logic, mathematics and linguistics, ''and'' (\wedge) is the Truth function, truth-functional operator of conjunction or logical conjunction. The logical connective of this operator is typically represented as \wedge or \& or K (prefix) or ...
; * 9, XNOR,
If and only if In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
,
Logical biconditional In logic and mathematics, the logical biconditional, also known as material biconditional or equivalence or bidirectional implication or biimplication or bientailment, is the logical connective used to conjoin two statements P and Q to form th ...
; * 10, q,
Projection function In set theory, a projection is one of two closely related types of functions or operations, namely: * A set-theoretic operation typified by the jth projection map, written \mathrm_j, that takes an element \vec = (x_1,\ \dots,\ x_j,\ \dots,\ x_k) ...
; * 11,
if/then ''If/Then'' is a musical with a libretto by Brian Yorkey and a theatrical score by Tom Kitt, directed by Michael Greif. It tells the story of a 38-year-old woman named Elizabeth who moves back to New York City for a fresh start. ''If/Then ...
,
Material conditional The material conditional (also known as material implication) is a binary operation commonly used in logic. When the conditional symbol \to is interpreted as material implication, a formula P \to Q is true unless P is true and Q is false. M ...
; * 12, p,
Projection function In set theory, a projection is one of two closely related types of functions or operations, namely: * A set-theoretic operation typified by the jth projection map, written \mathrm_j, that takes an element \vec = (x_1,\ \dots,\ x_j,\ \dots,\ x_k) ...
; * 13, then/if,
Converse implication In logic and mathematics, the converse of a categorical or implicational statement is the result of reversing its two constituent statements. For the implication ''P'' → ''Q'', the converse is ''Q'' → ''P''. For the categorical proposition '' ...
; * 14, OR,
Logical disjunction In logic, disjunction (also known as logical disjunction, logical or, logical addition, or inclusive disjunction) is a logical connective typically notated as \lor and read aloud as "or". For instance, the English language sentence "it is ...
; * 15,
true True most commonly refers to truth, the state of being in congruence with fact or reality. True may also refer to: Places * True, West Virginia, an unincorporated community in the United States * True, Wisconsin, a town in the United States * ...
, Tautology. Each logic operator can be used in an assertion about variables and operations, showing a basic rule of inference. Examples: * The column-14 operator (OR), shows ''Addition rule'': when ''p''=T (the hypothesis selects the first two lines of the table), we see (at column-14) that ''p''∨''q''=T. *: We can see also that, with the same premise, another conclusions are valid: columns 12, 14 and 15 are T. * The column-8 operator (AND), shows ''Simplification rule'': when ''p''∧''q''=T (first line of the table), we see that ''p''=T. *: With this premise, we also conclude that ''q''=T, ''p''∨''q''=T, etc. as shown by columns 9–15. * The column-11 operator (IF/THEN), shows ''Modus ponens rule'': when ''p''→''q''=T and ''p''=T only one line of the truth table (the first) satisfies these two conditions. On this line, ''q'' is also true. Therefore, whenever p → q is true and p is true, q must also be true. Machines and well-trained people use this look at table approach to do basic inferences, and to check if other inferences (for the same premises) can be obtained.


Example 1

Consider the following assumptions: "If it rains today, then we will not go on a canoe today. If we do not go on a canoe trip today, then we will go on a canoe trip tomorrow. Therefore (Mathematical symbol for "therefore" is \therefore), if it rains today, we will go on a canoe trip tomorrow". To make use of the rules of inference in the above table we let p be the proposition "If it rains today", q be "We will not go on a canoe today" and let r be "We will go on a canoe trip tomorrow". Then this argument is of the form: \begin p \rightarrow q\\ q \rightarrow r\\ \therefore \overline \\ \end


Example 2

Consider a more complex set of assumptions: "It is not sunny today and it is colder than yesterday". "We will go swimming only if it is sunny", "If we do not go swimming, then we will have a barbecue", and "If we will have a barbecue, then we will be home by sunset" lead to the conclusion "We will be home by sunset." Proof by rules of inference: Let p be the proposition "It is sunny today", q the proposition "It is colder than yesterday", r the proposition "We will go swimming", s the proposition "We will have a barbecue", and t the proposition "We will be home by sunset". Then the hypotheses become \neg p \wedge q, r \rightarrow p, \neg r \rightarrow s and s \rightarrow t. Using our intuition we conjecture that the conclusion might be t. Using the Rules of Inference table we can prove the conjecture easily:


See also

* List of logic systems * Modus ponendo tollens


References

{{DEFAULTSORT:Rules Of Inference * Mathematics-related lists Logic-related lists de:Schlussregel he:חוקי היקש