Definitions

  • , if injective function exists
    • reflexive, transitive, not antisymmetric (so not a partial order relation)
  • , if bijective function exists
    • equivalence relation
  • if (n is a natural number defined using a set)
  • countable, if

Example

  • The number of elements
  • with a bijective function Interval
  • with

Theorem 3.17 Countability

NOTE

A set is countable () if and only if it is finite or if

Proof: The important step is to show if is infinite then :

If , then according to the definitions, a injective function exists. Let be the image of (also infinite), meaning is bijective. According to the well-ordering principle of , every subset of has a least element. So we define a function with

definitions of

is the least element in is the least element in with

And this process can be continued, and shows is bijective. Using Function > Transitivity of injectivity and surjectivity we know is a bijection , which proves

A shorter proof (Overkill)

using Axiom of Choice (well-ordering principle), which assumes has a least element. Therefore, we can skip the construction of an show directly

Important Examples

Example 1

Alphabet

NOTE

set of all finite binary strings length of

Link to original

Proof: Define with

Example 2

Example 3

countable countable Encode the finite sequence with an unique bit string and let it be showing …

Example 4

(the set of semi-infinite binary sequences) is uncountable or denoted as (see Function > Notation of the set of all functions) The set of all functions from to is uncountable

Bemerkung 1

The set of all programs , jedes Program

Es existiert Funktionen, die von keinem Programm berechnet werden.

Bemerkung 2

Continuum hypothesis

NOTE

There is no set whose cardinality is strictly between that of the integers and the real numbers.

Cannot be proven under ZFC.