Fiveable

Logic and Formal Reasoning Unit 3 Review

QR code for Logic and Formal Reasoning practice questions

3.2 Rules of Inference and Replacement

3.2 Rules of Inference and Replacement

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
Logic and Formal Reasoning
Unit & Topic Study Guides

Rules of inference and replacement are essential tools in propositional logic. They allow us to draw valid conclusions from given premises and transform logical expressions into equivalent forms. These rules form the foundation for constructing and analyzing arguments in formal reasoning.

Understanding these rules enables us to navigate complex logical statements and build sound arguments. By applying rules like modus ponens, modus tollens, and De Morgan's laws, we can simplify, transform, and derive new information from existing propositions, enhancing our ability to reason logically.

Rules of Inference

Rules of inference in propositional logic

  • Modus ponens (MP) states that if a conditional statement PQP \to Q is true and the antecedent PP is true, then the consequent QQ must be true
    • Example: If it is raining (PP) and if it is raining, then the ground is wet (PQP \to Q), then it can be inferred that the ground is wet (QQ)
  • Modus tollens (MT) asserts that if a conditional statement PQP \to Q is true and the consequent QQ is false, then the antecedent PP must be false
    • Example: If the ground is not wet (¬Q\neg Q) and if it is raining, then the ground is wet (PQP \to Q), then it can be deduced that it is not raining (¬P\neg P)
  • Hypothetical syllogism (HS) allows the chaining of conditional statements, stating that if PQP \to Q is true and QRQ \to R is true, then PRP \to R is also true
    • Example: If it is raining, then the ground is wet (PQP \to Q), and if the ground is wet, then it is slippery (QRQ \to R), then it follows that if it is raining, it is slippery (PRP \to R)
  • Disjunctive syllogism (DS) states that if a disjunction PQP \lor Q is true and one of the disjuncts, say PP, is false, then the other disjunct QQ must be true
    • Example: If it is either raining or sunny (PQP \lor Q) and it is not raining (¬P\neg P), then it must be sunny (QQ)
Rules of inference in propositional logic, Reglas de inferencia lógica | Lógica proposicional

Construction of valid propositional arguments

  • Combine multiple rules of inference to create a valid argument
    • Example: Given PQP \to Q, QRQ \to R, and PP, apply HS to obtain PRP \to R, then use MP with PP to conclude RR
  • Simplify statements within an argument using rules of replacement
    • Example: If ¬(PQ)\neg(P \land Q) is known, apply De Morgan's law to obtain ¬P¬Q\neg P \lor \neg Q, which can then be used in a DS with additional information
Rules of inference in propositional logic, Reglas de inferencia lógica | Lógica proposicional

Rules of Replacement

Rules of replacement for propositions

  • Double negation (DN) states that two negations cancel each other out: ¬(¬P)P\neg(\neg P) \equiv P
    • Example: The statement ¬(¬(it is raining))\neg(\neg(it\ is\ raining)) is logically equivalent to it is rainingit\ is\ raining
  • De Morgan's laws allow the negation of a conjunction to be distributed to the individual propositions and the connective to be flipped:
    1. ¬(PQ)¬P¬Q\neg(P \land Q) \equiv \neg P \lor \neg Q
    2. ¬(PQ)¬P¬Q\neg(P \lor Q) \equiv \neg P \land \neg Q
    • Example: ¬(it is rainingit is sunny)\neg(it\ is\ raining \land it\ is\ sunny) is equivalent to it is not rainingit is not sunnyit\ is\ not\ raining \lor it\ is\ not\ sunny
  • Conditional equivalences provide alternative ways to express conditional statements:
    1. PQ¬PQP \to Q \equiv \neg P \lor Q
    2. PQ¬Q¬PP \to Q \equiv \neg Q \to \neg P (contraposition)
    • Example: The statement it is rainingthe ground is wetit\ is\ raining \to the\ ground\ is\ wet is equivalent to it is not rainingthe ground is wetit\ is\ not\ raining \lor the\ ground\ is\ wet

Simplification of propositional statements

  • Apply DN to remove double negatives
    • Example: Simplify ¬(¬(PQ))\neg(\neg(P \land Q)) to PQP \land Q
  • Use De Morgan's laws to simplify negated conjunctions or disjunctions
    • Example: Rewrite ¬(P(¬QR))\neg(P \lor (\neg Q \land R)) as ¬P(Q¬R)\neg P \land (Q \lor \neg R)
  • Utilize conditional equivalences to rewrite conditional statements
    • Example: Transform (PQ)R(P \land Q) \to R into ¬(PQ)R\neg(P \land Q) \lor R, which can be further simplified to ¬P¬QR\neg P \lor \neg Q \lor R
Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly → and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →