Binary Relations and Graphs

Some of this should already be familiar. We'll quickly review, and focus on what's most important for CS.

Probably won't be able to cover all of these definitions and examples during class, but these are what I consider most important from the reading.

RST

(Previously covered in homework. Not repeating.)

Should be familiar with reflexive, symmetric, transitive

Always has the property Never has the property Doesn't always have the property
Reflexive Irreflexive
E.g., "is-married-to"
Not reflexive
Symmetric
E.g., "is-married-to"
Antisymmetric
E.g., "is-parent-of"
Not symmetric, asymmetric
Transitive
E.g., "is-ancestor-of"
Intransitive Not transitive

E.g., how to define symmetric, antisymmetric, and asymmetric using first-order logic?

Equivalences and Orderings

The most important combinations of previous properties:

Closures


Graphs & their connection to binary relations