Fiveable

๐Ÿคน๐ŸผFormal Logic II Unit 1 Review

QR code for Formal Logic II practice questions

1.1 Review of basic propositional logic concepts

1.1 Review of basic propositional logic concepts

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
๐Ÿคน๐ŸผFormal Logic II
Unit & Topic Study Guides

Propositional Logic Fundamentals

Propositional logic is the foundation of formal reasoning. It deals with declarative statements that are either true or false, and it uses logical connectives to build complex propositions from simpler ones. Since this is a Formal Logic II course, you should already be familiar with most of this material. This review sharpens those fundamentals and highlights the details that matter most going forward, especially around well-formed formulas, equivalence laws, and inference rules.

Basic Components and Truth Values

A proposition (or statement) is a declarative sentence that has exactly one truth value: true or false. "The sky is blue" is a proposition. "Close the door" is not, because commands don't carry truth values. Questions and exclamations are also excluded.

The five basic logical connectives:

  • Negation (ยฌ\neg): "not"
  • Conjunction (โˆง\wedge): "and"
  • Disjunction (โˆจ\vee): "or" (inclusive or)
  • Implication (โ†’\rightarrow): "if...then"
  • Biconditional (โ†”\leftrightarrow): "if and only if"

Truth tables systematically determine the truth value of a compound proposition for every possible combination of truth values of its components. For nn propositional variables, the table has 2n2^n rows.

Two special categories of compound propositions worth remembering:

  • A tautology is true under every possible assignment of truth values (e.g., pโˆจยฌpp \vee \neg p).
  • A contradiction is false under every possible assignment (e.g., pโˆงยฌpp \wedge \neg p).

A proposition that is neither a tautology nor a contradiction is called a contingency.

Logical Equivalence

Two propositions are logically equivalent when they share the same truth value under every possible truth-value assignment to their components. This is denoted by โ‰ก\equiv (some texts use โ‡”\Leftrightarrow, but โ‰ก\equiv is a metalogical symbol, not a connective within the object language).

A classic example: pโ†’qโ‰กยฌpโˆจqp \rightarrow q \equiv \neg p \vee q. You can verify this by constructing truth tables for both sides and confirming every row matches.

The key practical consequence: if two formulas are logically equivalent, you can substitute one for the other anywhere in a larger formula without changing that formula's truth value. This substitutability is what makes equivalence laws so powerful in proofs and simplifications.

Constructing Well-Formed Formulas

Basic Components and Truth Values, TruthTable | Wolfram Function Repository

Propositional Variables and Atomic Formulas

Propositional variables, typically lowercase letters like pp, qq, rr, stand in for simple propositions. For instance, let pp represent "It is raining" and qq represent "I have an umbrella."

An atomic formula is just a single propositional variable on its own (e.g., pp, qq). These are the most basic well-formed formulas and serve as the building blocks for everything more complex.

Formation Rules and Compound Formulas

A well-formed formula (wff) is any expression built from propositional variables and logical connectives according to the following recursive formation rules:

  1. Every propositional variable is a wff.
  2. If ฯ•\phi is a wff, then ยฌฯ•\neg \phi is a wff.
  3. If ฯ•\phi and ฯˆ\psi are wffs, then (ฯ•โˆงฯˆ)(\phi \wedge \psi), (ฯ•โˆจฯˆ)(\phi \vee \psi), (ฯ•โ†’ฯˆ)(\phi \rightarrow \psi), and (ฯ•โ†”ฯˆ)(\phi \leftrightarrow \psi) are wffs.
  4. Nothing else is a wff.

These rules guarantee that every wff is syntactically unambiguous. Compound formulas like ยฌp\neg p, pโˆงqp \wedge q, and (pโˆจq)โ†’r(p \vee q) \rightarrow r are all built by applying these rules.

The main connective (or dominant operator) of a wff is the connective that was applied last in its construction. It governs the truth value of the entire formula. In (pโˆงq)โ†’r(p \wedge q) \rightarrow r, the main connective is โ†’\rightarrow.

Parentheses disambiguate the order of operations. (pโˆงq)โˆจr(p \wedge q) \vee r and pโˆง(qโˆจr)p \wedge (q \vee r) have different truth tables. When parentheses are dropped, a standard precedence convention applies (from highest to lowest binding strength): ยฌ\neg, โˆง\wedge, โˆจ\vee, โ†’\rightarrow, โ†”\leftrightarrow. So pโˆงqโˆจrp \wedge q \vee r is read as (pโˆงq)โˆจr(p \wedge q) \vee r.

Evaluating Truth Values

Basic Components and Truth Values, Truth Tables โ€“ Critical Thinking

Key Equivalence Laws

The truth value of a complex proposition is fully determined by the truth values of its atomic components and the connectives joining them. Several equivalence laws let you transform formulas into simpler or more useful forms.

De Morgan's Laws describe how negation distributes over conjunction and disjunction:

  • ยฌ(pโˆงq)โ‰กยฌpโˆจยฌq\neg(p \wedge q) \equiv \neg p \vee \neg q
  • ยฌ(pโˆจq)โ‰กยฌpโˆงยฌq\neg(p \vee q) \equiv \neg p \wedge \neg q

In short: negating an "and" flips it to "or" (and vice versa), while negating each component.

Distributive Laws let you factor or expand, much like distribution in algebra:

  • pโˆง(qโˆจr)โ‰ก(pโˆงq)โˆจ(pโˆงr)p \wedge (q \vee r) \equiv (p \wedge q) \vee (p \wedge r)
  • pโˆจ(qโˆงr)โ‰ก(pโˆจq)โˆง(pโˆจr)p \vee (q \wedge r) \equiv (p \vee q) \wedge (p \vee r)

Absorption Laws simplify formulas where a variable appears redundantly:

  • pโˆจ(pโˆงq)โ‰กpp \vee (p \wedge q) \equiv p
  • pโˆง(pโˆจq)โ‰กpp \wedge (p \vee q) \equiv p

These are worth internalizing. In proofs, recognizing when an absorption or De Morgan's step applies can save you several lines of work.

Negation and Implication

The negation of pp, written ยฌp\neg p, simply flips the truth value: true becomes false, false becomes true.

Negating an implication is a common source of mistakes. The negation of pโ†’qp \rightarrow q is not ยฌpโ†’ยฌq\neg p \rightarrow \neg q. Instead:

ยฌ(pโ†’q)โ‰กpโˆงยฌq\neg(p \rightarrow q) \equiv p \wedge \neg q

Think of it this way: an implication pโ†’qp \rightarrow q is false in exactly one case, when pp is true and qq is false. So its negation asserts precisely that case.

Example: The negation of "If it is raining, then I have an umbrella" is "It is raining and I do not have an umbrella."

The contrapositive of pโ†’qp \rightarrow q is ยฌqโ†’ยฌp\neg q \rightarrow \neg p, and it is always logically equivalent to the original implication. Don't confuse the contrapositive with the converse (qโ†’pq \rightarrow p) or the inverse (ยฌpโ†’ยฌq\neg p \rightarrow \neg q), neither of which is equivalent to the original.

Rules of Inference for Derivation

Arguments and Valid Inference Rules

An argument in propositional logic consists of a set of premises and a conclusion. The argument is valid if, whenever all the premises are true, the conclusion must also be true. Validity is about the logical structure, not whether the premises are actually true in the real world.

Three inference rules you'll use constantly:

  • Modus Ponens (Law of Detachment): From pโ†’qp \rightarrow q and pp, derive qq.
  • Modus Tollens: From pโ†’qp \rightarrow q and ยฌq\neg q, derive ยฌp\neg p. (This works because modus tollens is essentially modus ponens applied to the contrapositive.)
  • Hypothetical Syllogism: From pโ†’qp \rightarrow q and qโ†’rq \rightarrow r, derive pโ†’rp \rightarrow r. This lets you chain implications together.

Resolution and Conjunction Introduction

Resolution is a powerful rule used heavily in automated theorem proving. It derives a new clause from two clauses that contain complementary literals (a literal is a propositional variable or its negation).

How resolution works, step by step:

  1. Take two clauses, each written as a disjunction of literals.
  2. Identify a variable that appears positive in one clause and negated in the other.
  3. Remove that complementary pair and combine the remaining literals into a single disjunction.

Example: From (pโˆจq)(p \vee q) and (ยฌpโˆจr)(\neg p \vee r), the variable pp appears positive in the first clause and negated in the second. Removing the complementary pair and combining the rest gives (qโˆจr)(q \vee r).

Conjunction Introduction (also called Adjunction) is straightforward: if you've derived pp and you've derived qq as separate results, you can combine them into pโˆงqp \wedge q. Simple, but essential for assembling conclusions in formal proofs.