Sets, Relations, Graphs




CS154

Chris Pollett

Jan 29, 2020

Outline

Introduction

Sets

Propositions

To make statements (true or false propositions) about sets we will build up formulas starting with membership of some variables in sets, say `x in A` or `y in B`, and then use the connectives `forall`, `exists`, `^^`, `vv`, `not`, `implies`:

Subsets

More on sets

In-Class Exercise

Express in the language of set theory that the set `A` has exactly two elements.

Post your solution ot the Jan 29 In-class Exercise Thread.

Set comprehension and basic ways to make new sets

Examples, Partitions, and DeMorgan's Laws

Cartesian Product and Relations