Prime Numbers

(natural numbers)

Prime Number - only divisible by and .

They are building blocks for multiplication; for instance

(need proof Theorem 1.1.1)

Theorem 1.1.1

Any natural number other than one is a product of unique primes

Proof Existence

Divide as long as possible
Uniqueness (Gauss): Need Euclid’s lemma, saying that
If with , then or .

This lemma follows from the axiom:
Each non-empty subset of has a least element/number.

QED

COR 1.1.2

There are infinitely many primes.

Proof

Say we had finitely many primes . Applying Theorem 1.1.1 to gives the absurdity that can be divided by some prime number

This is impossible as for example and , you can divide both sides by something like , however on the LHS with would result in

QED

Statements

These are mostly similar to logic in computer science with And, Or, Not, and Implies.

Sets

A set is characterised by its elements or members .

They can be listed like , or described by some property, like the set of all primes, or like ; here is from the outset supposed to belong to some (universal) set. Otherwise (Russel’s paradox) - which is not allowed. - which is OK!

means

Get

Union

The union consists of for at least one

Disjoint union when for all possible and .

Intersection

The intersection consists of

Complement

The complement of in consists of
Write (a complement of ) when is understood.

Product

The product consists of the ordered pairs

( and )

A more compact way of writing this:

Relation

A relation on a set is with . ( here meaning is related to)

Example

, .
These two elements and can only relate if they are the same.

Equivalence Relation

An equivalence relation is a relation on on such that:


  1. For all .

It partitions into a disjoint union of equivalence classes , with called a representative of (equivalence class).