1 Propositional Logic

1.1 Propositions

A declarative statement, i.e. either true or false

1.2 Compound propositions

Logical operators or logical connectives

  • Precedence
  • Negation
TF
FT
  • Conjunction
TTT
TFF
FTF
FFF
  • Disjunction
TTT
TFT
FTT
FFF
  • Exclusive Or

True when exactly one of and is true

TTF
TFT
FTT
FFF
  • Implication

is a sufficient condition of

TTT
TFF
FTT
FFT

TTFTTT
TFFFTT
FTTTFT
FFTTTT
  • Biconditional

if and only if

TTT
TFT
FTF
FFT
  • Converse

The converse of is , equivalent to inverse

TTTT
TFFT
FTTF
FFTT
  • Inverse

The inverse of is , equivalent to converse

TTFFTT
TFFTFT
FTTFTF
FFTTTT
  • Contrapositive

The contrapositive of is

TTFFTT
TFFTFF
FTTFTT
FFTTTT

1.3 Propositional Equivalences

  • Tautology

A compound proposition that is always true, e.g.

TFT
FTT
  • Contradiction

A compound proposition that is always false, e.g.

TFF
FTF
  • Contingency

A compound proposition that is neither a tautology or contingency, e.g.

TFF
FTT

1.4 Logical Equivalent

The compound propositions and are called logically equivalent if is a tautology, i.e.

  • Identity Laws
  • Domination Laws
  • Idempotent Laws
  • Double Negation Laws
  • Commutative Laws
  • De Morgan’s Laws
TTTFFFFT
TFTFFTFT
FTTFTFFT
FFFTTTTT
  • Associative Laws
  • Distributive Laws
  • Absorption Laws
  • Negation Laws

2 Predicate Logic

  • Quantifiers
  • Quantifiers with Restricted Domains
  • Distribution
  • De Morgan’s Laws for Quantifiers
  • Nested Quantifiers
  • Null Quantifications

Does not work for implication

3 Inference and Proofs

3.1 Proof Terminology

  • Theorem
    • A statement that can be shown to be true
  • Axiom
    • A statement that is assumed to be true
  • Lemma
    • A less important theorem
  • Proof
    • A valid argument that establish the truth of a theorem
  • Corollary
    • A theorem that can be established directly from a theorem
  • Conjecture
    • A statement that is proposed to be a true statement

3.2 Rules of Inference for Propositional Logic

  • Modus Ponens
  • Modus Tollens
  • Hypothetical Syllogism
  • Disjunctive Syllogism
  • Addition
  • Simplification
  • Conjunction
  • Resolution

3.3 Rules of Inference for Predicate Logic

  • Universal Instantiation
  • Universal Generalization
  • Existential Instantiation
  • Existential Generalization

3.4 Direct Proof

For , we assume is true, then we show is true in the final step

3.5 Proof by Contraposition

Since , we take as a hypothesis and show that must follow

3.6 Proof by Contradiction

To prove is true
Assume is false, i.e. is true
Then derive a contradiction, which means the assumption that is true is false
Therefore is true

3.6.1 Proof by Contradiction for Conditional Statement

To prove
Assume
Arrive at a contradiction, i.e.