Jump to content

Introduction to set theory/Lecture 1

From Wikiversity

Introduction

[edit | edit source]

We will start the course by introducing Propositional Logic. Even though this is a set theory class and not a logic course, most of notations from the logic courses can be used in set theory. Furthermore, logic is important in various proofs we will encounter in this course.

Notations

[edit | edit source]

Here are the notations and what they mean:

Symbols Meaning
∧ and (conjunction)
∨ or (nonexclusive disjunction)
¬ not (negation)
→ if then/implies
↔ if and only if

Truth Table

[edit | edit source]

Truth tables are used to analyze formulae of propositional logic.

Example

[edit | edit source]

Truth table for p→(q→p)

p q q→p p→(q→p)
T T T T
T F T T
F T F T
F F T T

Tautology

[edit | edit source]

Definition

[edit | edit source]

A formula θ of propositional logic is a tautology if only T's occur in the θ column of the truth table.

Examples

[edit | edit source]

Truth table for (p→¬p)→¬p=θ

p ¬p p→¬p θ
T F F T
F T T T

Truth table for (p→(q↔¬q))→¬p=θ

p q ¬q q↔¬q p→(q↔¬q) ¬p θ
T T F F F F T
T F T F F F T
F T F F T T T
F F T F T T T

Truth table for (¬p∨q)→(p→q)=θ

p q ¬p ¬p∨q p→q θ
T T F T T T
T F F F F T
F T T T T T
F F T T T T

Tautological Equivalence

[edit | edit source]

Definition

[edit | edit source]

The proposition formulas φ and θ are tautologically equivalent if φ↔θ is a tautology.

Examples

[edit | edit source]

Contraposition: p→q=θ is tautologically equivalent to ¬q→¬p=φ.

p q ¬q ¬p θ φ θ↔φ
T T F F T T T
T F T F F F T
F T F T T T T
F F T T T T T

de Morgan's Law I: ¬(p∨q)=θ is tautologically equivalent to ¬p∧¬q=φ.

p q ¬p ¬q p∨q θ φ θ↔φ
T T F F T F F T
T F F T T F F T
F T T F T F F T
F F T T F T T T

de Morgan's Law II: ¬(p∧q)=θ is tautologically equivalent to ¬p∨¬q=φ. Truth table for Assignment #1

[edit | edit source]

The materials in this course overlap with Introductory Discrete Mathematics for Computer Science, particularly Lesson 1.