HOME

TheInfoList



OR:

Rules of inference are ways of deriving conclusions from
premise A premise or premiss is a proposition—a true or false declarative statement—used in an argument to prove the truth of another proposition called the conclusion. Arguments consist of a set of premises and a conclusion. An argument is meaningf ...
s. They are integral parts of
formal logic Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
, serving as norms of 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 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 ...
'', an influential rule of inference, connects two premises of the form "if P then Q" and "P" to the conclusion "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 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 ...
'', 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. Rules of inference contrast with formal fallaciesinvalid argument forms involving logical errors. Rules of inference belong to logical systems, and distinct logical systems use different rules of inference.
Propositional logic 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 ...
examines the inferential patterns of simple and compound
proposition A proposition is a statement that can be either true or false. It is a central concept in the philosophy of language, semantics, logic, and related fields. Propositions are the object s denoted by declarative sentences; for example, "The sky ...
s.
First-order logic First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
extends propositional logic by articulating the internal structure of propositions. It introduces new rules of inference governing how this internal structure affects valid arguments.
Modal logic Modal logic is a kind of logic used to represent statements about Modality (natural language), necessity and possibility. In philosophy and related fields it is used as a tool for understanding concepts such as knowledge, obligation, and causality ...
s explore concepts like ''possibility'' and ''necessity'', examining the inferential structure of these concepts. Intuitionistic, paraconsistent, and many-valued logics propose alternative inferential patterns that differ from the traditionally dominant approach associated with
classical logic Classical logic (or standard logic) or Frege–Russell logic is the intensively studied and most widely used class of deductive logic. Classical logic has had much influence on analytic philosophy. Characteristics Each logical system in this c ...
. Various formalisms are used to express logical systems. Some employ many intuitive rules of inference to reflect how people naturally reason while others provide minimalistic frameworks to represent foundational principles without redundancy. Rules of inference are relevant to many areas, such as proofs in
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
and automated reasoning in
computer science Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
. Their conceptual and psychological underpinnings are studied by philosophers of logic and cognitive psychologists.


Definition

A rule of
inference Inferences are steps in logical reasoning, moving from premises to logical consequences; etymologically, the word '' infer'' means to "carry forward". Inference is theoretically traditionally divided into deduction and induction, a distinct ...
is a way of drawing a conclusion from a set of
premise A premise or premiss is a proposition—a true or false declarative statement—used in an argument to prove the truth of another proposition called the conclusion. Arguments consist of a set of premises and a conclusion. An argument is meaningf ...
s. Also called ''inference rule'' and ''transformation rule'', it is a norm of correct inferences that can be used to guide
reasoning Reason is the capacity of consciously applying logic by drawing valid conclusions from new or existing information, with the aim of seeking the truth. It is associated with such characteristically human activities as philosophy, religion, scien ...
, justify conclusions, and criticize
argument An argument is a series of sentences, statements, or propositions some of which are called premises and one is the conclusion. The purpose of an argument is to give reasons for one's conclusion via justification, explanation, and/or persu ...
s. As part of deductive logic, rules of inference are argument forms that preserve the
truth Truth or verity is the Property (philosophy), property of being in accord with fact or reality.Merriam-Webster's Online Dictionarytruth, 2005 In everyday language, it is typically ascribed to things that aim to represent reality or otherwise cor ...
of the premises, meaning that the conclusion is always true if the premises are true. An inference is deductively correct or valid if it follows a valid rule of inference. Whether this is the case depends only on the form or syntactical structure of the premises and the conclusion. As a result, the actual content or concrete meaning of the statements does not affect validity. For instance, ''
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 ...
'' is a rule of inference that connects two premises of the form "if P then Q" and "P" to the conclusion "Q", where P and Q stand for statements. Any argument with this form is valid, independent of the specific meanings of P and Q, such as the argument "If it rains, then the ground is wet. It rains. Therefore, the ground is wet". In addition to ''modus ponens'', there are many other rules of inference, such as ''
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 ...
'', disjunctive syllogism, hypothetical syllogism, constructive dilemma, and destructive dilemma. There are different formats to represent rules of inference. A common approach is to use a new line for each premise and separate the premises from the conclusion using a horizontal line. With this format, ''modus ponens'' is written as: \begin P \to Q \\ P \\ \hline Q \end Some logicians employ the therefore sign (\therefore) together or instead of the horizontal line to indicate where the conclusion begins. The sequent notation, a different approach, uses a single line in which the premises are separated by commas and connected to the conclusion with the turnstile symbol (\vdash), as in P \to Q, P \vdash Q. The letters P and Q in these formulas are so-called metavariables: they stand for any simple or compound proposition. Rules of inference belong to logical systems and distinct logical systems may use different rules of inference. For example, universal instantiation is a rule of inference in the system of
first-order logic First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
but not in
propositional logic 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 of inference play a central role in proofs as explicit procedures for arriving at a new line of a proof based on the preceding lines. Proofs involve a series of inferential steps and often use various rules of inference to establish the
theorem In mathematics and formal logic, a theorem is a statement (logic), statement that has been Mathematical proof, proven, or can be proven. The ''proof'' of a theorem is a logical argument that uses the inference rules of a deductive system to esta ...
they intend to demonstrate. Rules of inference are definitory rulesrules about which inferences are allowed. They contrast with strategic rules, which govern the inferential steps needed to prove a certain theorem from a specific set of premises. Mastering definitory rules by itself is not sufficient for effective reasoning since they provide little guidance on how to reach the intended conclusion. As standards or procedures governing the transformation of symbolic expressions, rules of inference are similar to
mathematical function In mathematics, a function from a set (mathematics), set to a set assigns to each element of exactly one element of .; the words ''map'', ''mapping'', ''transformation'', ''correspondence'', and ''operator'' are sometimes used synonymously. ...
s taking premises as input and producing a conclusion as output. According to one interpretation, rules of inference are inherent in
logical operator In logic, a logical connective (also called a logical operator, sentential connective, or sentential operator) is a logical constant. Connectives can be used to connect logical formulas. For instance in the syntax of propositional logic, the ...
s found in statements, making the meaning and function of these operators explicit without adding any additional information. Logicians distinguish two types of rules of inference: rules of implication and rules of replacement. Rules of implication, like ''modus ponens'', operate only in one direction, meaning that the conclusion can be deduced from the premises but the premises cannot be deduced from the conclusion. Rules of replacement, by contrast, operate in both directions, stating that two expressions are equivalent and can be freely replaced with each other. In classical logic, for example, a proposition (P) is equivalent to the negation of its negation (\lnot \lnot P). As a result, one can infer one from the other in either direction, making it a rule of replacement. Other rules of replacement include De Morgan's laws as well as the
commutative In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a pr ...
and associative properties of conjunction and
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 ...
. While rules of implication apply only to complete statements, rules of replacement can be applied to any part of a compound statement. One of the earliest discussions of formal rules of inference is found in antiquity in Aristotle's logic. His explanations of valid and invalid
syllogisms A syllogism (, ''syllogismos'', 'conclusion, inference') is a kind of logical argument that applies deductive reasoning to arrive at a conclusion based on two propositions that are asserted or assumed to be true. In its earliest form (define ...
were further refined in
medieval In the history of Europe, the Middle Ages or medieval period lasted approximately from the 5th to the late 15th centuries, similarly to the post-classical period of World history (field), global history. It began with the fall of the West ...
and
early modern philosophy Early modern philosophy (also classical modern philosophy) Richard Schacht, ''Classical Modern Philosophers: Descartes to Kant'', Routledge, 2013, p. 1: "Seven men have come to stand out from all of their counterparts in what has come to be known ...
. The development of
symbolic logic Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
in the 19th century led to the formulation of many additional rules of inference belonging to classical propositional and first-order logic. In the 20th and 21st centuries, logicians developed various non-classical systems of logic with alternative rules of inference.


Basic concepts

Rules of inference describe the structure of arguments, which consist of premises that support a conclusion. Premises and conclusions are statements or propositions about what is true. For instance, the assertion "The door is open." is a statement that is either true or false, while the question "Is the door open?" and the command "Open the door!" are not statements and have no truth value. An inference is a step of reasoning from premises to a conclusion while an argument is the outward expression of an inference.
Logic Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
is the study of correct reasoning and examines how to distinguish good from bad arguments. Deductive logic is the branch of logic that investigates the strongest arguments, called deductively valid arguments, for which the conclusion cannot be false if all the premises are true. This is expressed by saying that the conclusion is a
logical consequence Logical consequence (also entailment or logical implication) is a fundamental concept in logic which describes the relationship between statement (logic), statements that hold true when one statement logically ''follows from'' one or more stat ...
of the premises. Rules of inference belong to deductive logic and describe argument forms that fulfill this requirement. In order to precisely assess whether an argument follows a rule of inference, logicians use
formal languages In logic, mathematics, computer science, and linguistics, a formal language is a set of string (computer science), strings whose symbols are taken from a set called "#Definition, alphabet". The alphabet of a formal language consists of symbol ...
to express statements in a rigorous manner, similar to mathematical formulas. They combine formal languages with rules of inference to construct formal systems—frameworks for formulating propositions and drawing conclusions. Different formal systems may employ different formal languages or different rules of inference. The basic rules of inference within a formal system can often be expanded by introducing new rules of inference, known as '' admissible rules''. Admissible rules do not change which arguments in a formal system are valid but can simplify proofs. If an admissible rule can be expressed through a combination of the system's basic rules, it is called a ''derived'' or ''derivable rule''. Statements that can be deduced in a formal system are called ''
theorem In mathematics and formal logic, a theorem is a statement (logic), statement that has been Mathematical proof, proven, or can be proven. The ''proof'' of a theorem is a logical argument that uses the inference rules of a deductive system to esta ...
s'' of this formal system. Widely-used systems of logic include
propositional logic 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 ...
,
first-order logic First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
, and
modal logic Modal logic is a kind of logic used to represent statements about Modality (natural language), necessity and possibility. In philosophy and related fields it is used as a tool for understanding concepts such as knowledge, obligation, and causality ...
. Rules of inference only ensure that the conclusion is true if the premises are true. An argument with false premises can still be valid, but its conclusion could be false. For example, the argument "If pigs can fly, then the sky is purple. Pigs can fly. Therefore, the sky is purple." is valid because it follows ''modus ponens'', even though it contains false premises. A valid argument is called '' sound argument'' if all premises are true. Rules of inference are closely related to tautologies. In logic, a tautology is a statement that is true only because of the logical vocabulary it uses, independent of the meanings of its non-logical vocabulary. For example, the statement "if the tree is green and the sky is blue then the tree is green" is true independently of the meanings of terms like ''tree'' and ''green'', making it a tautology. Every argument following a rule of inference can be transformed into a tautology. This is achieved by forming a conjunction (''and'') of all premises and connecting it through implication (''if ... then ...'') to the conclusion, thereby combining all the individual statements of the argument into a single statement. For example, the valid argument "The tree is green and the sky is blue. Therefore, the tree is green." can be transformed into the tautology "if the tree is green and the sky is blue then the tree is green". Rules of inference are also closely related to laws of thought, which are basic principles of logic that can take the form tautologies. For example, the
law of identity In logic, the law of identity states that each thing is identical with itself. It is the first of the traditional three laws of thought, along with the law of noncontradiction, and the law of excluded middle. However, few systems of logic are b ...
asserts that each entity is identical to itself. Other traditional laws of thought include the law of non-contradiction and 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 ...
. Rules of inference are not the only way to demonstrate that an argument is valid. Alternative methods include the use of
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 ...
s, which applies to propositional logic, and truth trees, which can also be employed in first-order logic.


Systems of logic


Classical


Propositional logic

Propositional logic examines the inferential patterns of simple and compound
proposition A proposition is a statement that can be either true or false. It is a central concept in the philosophy of language, semantics, logic, and related fields. Propositions are the object s denoted by declarative sentences; for example, "The sky ...
s. It uses letters, such as P and Q, to represent simple propositions. Compound propositions are formed by modifying or combining simple propositions with
logical operator In logic, a logical connective (also called a logical operator, sentential connective, or sentential operator) is a logical constant. Connectives can be used to connect logical formulas. For instance in the syntax of propositional logic, the ...
s, such as \lnot (''not''), \land (''and''), \lor (''or''), and \to (''if ... then ...''). For example, if P stands for the statement "it is raining" and Q stands for the statement "the streets are wet", then \lnot P expresses "it is not raining" and P \to Q expresses "if it is raining then the streets are wet". These logical operators are truth-functional, meaning that the truth value of a compound proposition depends only on the truth values of the simple propositions composing it. For instance, the compound proposition P \land Q is only true if both P and Q are true; in all other cases, it is false. Propositional logic is not concerned with the concrete meaning of propositions other than their truth values. Key rules of inference in propositional logic are
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 ...
,
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 ...
, hypothetical syllogism, disjunctive syllogism, and double negation elimination. Further rules include conjunction introduction, conjunction elimination, disjunction introduction, disjunction elimination, constructive dilemma, destructive dilemma, absorption, and De Morgan's laws.


First-order logic

First-order logic also employs the logical operators from propositional logic but includes additional devices to articulate the internal structure of propositions. Basic propositions in first-order logic consist of a predicate, symbolized with uppercase letters like P and Q, which is applied to singular terms, symbolized with lowercase letters like a and b. For example, if a stands for "Aristotle" and P stands for "is a philosopher", the formula P(a) means that "Aristotle is a philosopher". Another innovation of first-order logic is the use of the quantifiers \exists and \forall, which express that a predicate applies to some or all individuals. For instance, the formula \exists x P(x) expresses that philosophers exist while \forall x P(x) expresses that everyone is a philosopher. The rules of inference from propositional logic are also valid in first-order logic. Additionally, first-order logic introduces new rules of inference that govern the role of singular terms, predicates, and quantifiers in arguments. Key rules of inference are universal instantiation and existential generalization. Other rules of inference include universal generalization and existential instantiation.


Modal logics

Modal logics are formal systems that extend propositional logic and first-order logic with additional logical operators. Alethic modal logic introduces the operator \Diamond to express that something is possible and the operator \Box to express that something is necessary. For example, if the P means that "Parvati works", then \Diamond P means that "It is possible that Parvati works" while \Box P means that "It is necessary that Parvati works". These two operators are related by a rule of replacement stating that \Box P is equivalent to \lnot \Diamond \lnot P. In other words: if something is necessarily true then it is not possible that it is not true. Further rules of inference include the necessitation rule, which asserts that a statement is necessarily true if it is provable in a formal system without any additional premises, and the distribution axiom, which allows one to derive \Diamond P \to \Diamond Q from \Diamond (P \to Q). These rules of inference belong to system K, a weak form of modal logic with only the most basic rules of inference. Many formal systems of alethic modal logic include additional rules of inference, such as system T, which allows one to deduce P from \Box P. Non-alethic systems of modal logic introduce operators that behave like \Diamond and \Box in alethic modal logic, following similar rules of inference but with different meanings. Deontic logic is one type of non-alethic logic. It uses the operator P to express that an action is permitted and the operator O to express that an action is required, where P behaves similarly to \Diamond and O behaves similarly to \Box. For instance, the rule of replacement in alethic modal logic asserting that \Box Q is equivalent to \lnot \Diamond \lnot Q also applies to deontic logic. As a result, one can deduce from O Q (e.g. Quinn has an obligation to help) that \lnot P \lnot Q (e.g. Quinn is not permitted not to help). Other systems of modal logic include temporal modal logic, which has operators for what is always or sometimes the case, as well as doxastic and epistemic modal logics, which have operators for what people believe and know.


Others

Many other systems of logic have been proposed. One of the earliest systems is
Aristotelian logic In logic and formal semantics, term logic, also known as traditional logic, syllogistic logic or Aristotelian logic, is a loose name for an approach to formal logic that began with Aristotle and was developed further in ancient history mostly b ...
, according to which each statement is made up of two terms, a subject and a predicate, connected by a copula. For example, the statement "all humans are mortal" has the subject "all humans", the predicate "mortal", and the copula "is". All rules of inference in Aristotelian logic have the form of
syllogism A syllogism (, ''syllogismos'', 'conclusion, inference') is a kind of logical argument that applies deductive reasoning to arrive at a conclusion based on two propositions that are asserted or assumed to be true. In its earliest form (defin ...
s, which consist of two premises and a conclusion. For instance, the ''Barbara'' rule of inference describes the validity of arguments of the form "All men are mortal. All Greeks are men. Therefore, all Greeks are mortal."
Second-order logic In logic and mathematics, second-order logic is an extension of first-order logic, which itself is an extension of propositional logic. Second-order logic is in turn extended by higher-order logic and type theory. First-order logic quantifies on ...
extends first-order logic by allowing quantifiers to apply to predicates in addition to singular terms. For example, to express that the individuals Adam (a) and Bianca (b) share a property, one can use the formula \exists X (X(a) \land X(b)). Second-order logic also comes with new rules of inference. For instance, one can infer P(a) (Adam is a philosopher) from \forall X X(a) (every property applies to Adam).
Intuitionistic logic Intuitionistic logic, sometimes more generally called constructive logic, refers to systems of symbolic logic that differ from the systems used for classical logic by more closely mirroring the notion of constructive proof. In particular, systems ...
is a non-classical variant of propositional and first-order logic. It shares with them many rules of inference, such as ''modus ponens'', but excludes certain rules. For example, in classical logic, one can infer P from \lnot \lnot P using the rule of double negation elimination. However, in intuitionistic logic, this inference is invalid. As a result, every theorem that can be deduced in intuitionistic logic can also be deduced in classical logic, but some theorems provable in classical logic cannot be proven in intuitionistic logic. Paraconsistent logics revise classical logic to allow the existence of contradictions. In logic, a contradiction happens if the same proposition is both affirmed and denied, meaning that a formal system contains both P and \lnot P as theorems. Classical logic prohibits contradictions because classical rules of inference bring with them the principle of explosion, an admissible rule of inference that makes it possible to infer Q from the premises P and \lnot P. Since Q is unrelated to P, any arbitrary statement can be deduced from a contradiction, making the affected systems useless for deciding what is true and false. Paraconsistent logics solve this problem by modifying the rules of inference in such a way that the principle of explosion is not an admissible rule of inference. As a result, it is possible to reason about inconsistent information without deriving absurd conclusions. Many-valued logics modify classical logic by introducing additional truth values. In classical logic, a proposition is either true or false with nothing in between. In many-valued logics, some propositions are neither true nor false. Kleene logic, for example, is a three-valued logic that introduces the additional truth value ''undefined'' to describe situations where information is incomplete or uncertain. Many-valued logics have adjusted rules of inference to accommodate the additional truth values. For instance, the classical rule of replacement stating that P \to Q is equivalent to \lnot P \lor Q is invalid in many three-valued systems.


Formalisms

Various formalisms or proof systems have been suggested as distinct ways of codifying reasoning and demonstrating the validity of arguments. Unlike different systems of logic, these formalisms do not impact what can be proven; they only influence how proofs are formulated. Influential frameworks include
natural deduction In logic and proof theory, natural deduction is a kind of proof calculus in which logical reasoning is expressed by inference rules closely related to the "natural" way of reasoning. This contrasts with Hilbert-style systems, which instead use ...
systems, Hilbert systems, and sequent calculi. Natural deduction systems aim to reflect how people naturally reason by introducing many intuitive rules of inference to make logical derivations more accessible. They break complex arguments into simple steps, often using subproofs based on temporary premises. The rules of inference in natural deduction target specific logical operators, governing how an operator can be added with introduction rules or removed with elimination rules. For example, the rule of conjunction introduction asserts that one can infer P \land Q from the premises P and Q, thereby producing a conclusion with the conjunction operator from premises that do not contain it. Conversely, the rule of conjunction elimination asserts that one can infer P from P \land Q, thereby producing a conclusion that no longer includes the conjunction operator. Similar rules of inference are disjunction introduction and elimination, implication introduction and elimination, negation introduction and elimination, and biconditional introduction and elimination. As a result, systems of natural deduction usually include many rules of inference. Hilbert systems, by contrast, aim to provide a minimal and efficient framework of logical reasoning by including as few rules of inference as possible. Many Hilbert systems only have ''modus ponens'' as the sole rule of inference. To ensure that all theorems can be deduced from this minimal foundation, they introduce axiom schemes. An axiom scheme is a template to create axioms or true statements. It uses metavariables, which are placeholders that can be replaced by specific terms or formulas to generate an infinite number of true statements. For example, propositional logic can be defined with the following three axiom schemes: (1) P \to (Q \to P), (2) (P \to (Q \to R)) \to ((P \to Q) \to (P \to R)), and (3) (\lnot P \to \lnot Q) \to (Q \to P). To formulate proofs, logicians create new statements from axiom schemes and then apply ''modus ponens'' to these statements to derive conclusions. Compared to natural deduction, this procedure tends to be less intuitive since its heavy reliance on symbolic manipulation can obscure the underlying logical reasoning. Sequent calculi, another approach, introduce sequents as formal representations of arguments. A sequent has the form A_1 , \dots , A_m \vdash B_1, \dots , B_n, where A_i and B_i stand for propositions. Sequents are conditional assertions stating that at least one B_i is true if all A_i are true. Rules of inference operate on sequents to produce additional sequents. Sequent calculi define two rules of inference for each logical operator: one to introduce it on the left side of a sequent and another to introduce it on the right side. For example, through the rule for introducing the operator \lnot on the left side, one can infer \lnot R, P \vdash Q from P \vdash Q, R. The cut rule, an additional rule of inference, makes it possible to simplify sequents by removing certain propositions.


Formal fallacies

While rules of inference describe valid patterns of deductive reasoning, formal fallacies are invalid argument forms that involve logical errors. The premises of a formal fallacy do not properly support its conclusion: the conclusion can be false even if all premises are true. Formal fallacies often mimic the structure of valid rules of inference and can thereby mislead people into unknowingly committing them and accepting their conclusions. The formal fallacy of affirming the consequent concludes P from the premises P \to Q and Q, as in the argument "If Leo is a cat, then Leo is an animal. Leo is an animal. Therefore, Leo is a cat." This fallacy resembles valid inferences following ''modus ponens'', with the key difference that the fallacy swaps the second premise and the conclusion. The formal fallacy of denying the antecedent concludes \lnot Q from the premises P \to Q and \lnot P, as in the argument "If Laya saw the movie, then Laya had fun. Laya did not see the movie. Therefore, Laya did not have fun." This fallacy resembles valid inferences following ''modus tollens'', with the key difference that the fallacy swaps the second premise and the conclusion. Other formal fallacies include affirming a disjunct, the existential fallacy, and the fallacy of the undistributed middle.


In various fields

Rules of inference are relevant to many fields, especially the
formal science Formal science is a branch of science studying disciplines concerned with abstract structures described by formal systems, such as logic, mathematics, statistics, theoretical computer science, artificial intelligence, information theory, game t ...
s, such as
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
and
computer science Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
, where they are used to prove theorems. Mathematical proofs often start with a set of axioms to describe the logical relationships between mathematical constructs. To establish theorems, mathematicians apply rules of inference to these axioms, aiming to demonstrate that the theorems are logical consequences.
Mathematical logic Mathematical logic is the study of Logic#Formal logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory (also known as computability theory). Research in mathematical logic com ...
, a subfield of mathematics and logic, uses mathematical methods and frameworks to study rules of inference and other logical concepts. Computer science also relies on deductive reasoning, employing rules of inference to establish theorems and validate
algorithms In mathematics and computer science, an algorithm () is a finite sequence of mathematically rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for per ...
.
Logic programming Logic programming is a programming, database and knowledge representation paradigm based on formal logic. A logic program is a set of sentences in logical form, representing knowledge about some problem domain. Computation is performed by applyin ...
frameworks, such as
Prolog Prolog is a logic programming language that has its origins in artificial intelligence, automated theorem proving, and computational linguistics. Prolog has its roots in first-order logic, a formal logic. Unlike many other programming language ...
, allow developers to represent knowledge and use
computation A computation is any type of arithmetic or non-arithmetic calculation that is well-defined. Common examples of computation are mathematical equation solving and the execution of computer algorithms. Mechanical or electronic devices (or, hist ...
to draw inferences and solve problems. These frameworks often include an
automated theorem prover Automated theorem proving (also known as ATP or automated deduction) is a subfield of automated reasoning and mathematical logic dealing with proving mathematical theorems by computer programs. Automated reasoning over mathematical proof was a ma ...
, a program that uses rules of inference to generate or verify proofs automatically.
Expert system In artificial intelligence (AI), an expert system is a computer system emulating the decision-making ability of a human expert. Expert systems are designed to solve complex problems by reasoning through bodies of knowledge, represented mainly as ...
s utilize automated reasoning to simulate the
decision-making In psychology, decision-making (also spelled decision making and decisionmaking) is regarded as the Cognition, cognitive process resulting in the selection of a belief or a course of action among several possible alternative options. It could be ...
processes of human experts in specific fields, such as
medical diagnosis Medical diagnosis (abbreviated Dx, Dx, or Ds) is the process of determining which disease or condition explains a person's symptoms and signs. It is most often referred to as a diagnosis with the medical context being implicit. The information ...
, and assist in complex problem-solving tasks. They have a
knowledge base In computer science, a knowledge base (KB) is a set of sentences, each sentence given in a knowledge representation language, with interfaces to tell new sentences and to ask questions about what is known, where either of these interfaces migh ...
to represent the facts and rules of the field and use an inference engine to extract relevant information and respond to user queries. Rules of inference are central to the philosophy of logic regarding the contrast between deductive-theoretic and model-theoretic conceptions of
logical consequence Logical consequence (also entailment or logical implication) is a fundamental concept in logic which describes the relationship between statement (logic), statements that hold true when one statement logically ''follows from'' one or more stat ...
. Logical consequence, a fundamental concept in logic, is the relation between the premises of a deductively valid argument and its conclusion. Conceptions of logical consequence explain the nature of this relation and the conditions under which it exists. The deductive-theoretic conception relies on rules of inference, arguing that logical consequence means that the conclusion can be deduced from the premises through a series of inferential steps. The model-theoretic conception, by contrast, focuses on how the non-logical vocabulary of statements can be interpreted. According to this view, logical consequence means that no counterexamples are possible: under no interpretation are the premises true and the conclusion false. Cognitive psychologists study mental processes, including
logical reasoning Logical reasoning is a mind, mental Action (philosophy), activity that aims to arrive at a Logical consequence, conclusion in a Rigour, rigorous way. It happens in the form of inferences or arguments by starting from a set of premises and reason ...
. They are interested in how humans use rules of inference to draw conclusions, examining the factors that influence correctness and efficiency. They observe that humans are better at using some rules of inference than others. For example, the rate of successful inferences is higher for ''modus ponens'' than for ''modus tollens''. A related topic focuses on
biases Bias is a disproportionate weight ''in favor of'' or ''against'' an idea or thing, usually in a way that is inaccurate, closed-minded, prejudicial, or unfair. Biases can be innate or learned. People may develop biases for or against an individ ...
that lead individuals to mistake formal fallacies for valid arguments. For instance, fallacies of the types affirming the consequent and denying the antecedent are often mistakenly accepted as valid. The assessment of arguments also depends on the concrete meaning of the propositions: individuals are more likely to accept a fallacy if its conclusion sounds plausible.


See also

* Immediate inference * Inference objection * Law of thought * List of rules of inference *
Logical truth Logical truth is one of the most fundamental concepts in logic. Broadly speaking, a logical truth is a statement which is true regardless of the truth or falsity of its constituent propositions. In other words, a logical truth is a statement whic ...
* Structural rule


References


Notes


Citations


Sources

* * * * * * * * * * * * * * * * * * * * (for an earlier version, see: ) * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * {{DEFAULTSORT:Rule Of Inference