Integer Addition is Closed

From ProofWiki
Jump to navigation Jump to search


The set of integers is closed under addition:

$\forall a, b \in \Z: a + b \in \Z$


Let us define $\eqclass {\tuple {a, b} } \boxminus$ as in the formal definition of integers.

That is, $\eqclass {\tuple {a, b} } \boxminus$ is an equivalence class of ordered pairs of natural numbers under the congruence relation $\boxminus$.

$\boxminus$ is the congruence relation defined on $\N \times \N$ by:

$\tuple {x_1, y_1} \boxminus \tuple {x_2, y_2} \iff x_1 + y_2 = x_2 + y_1$

In order to streamline the notation, we will use $\eqclass {a, b} {}$ to mean $\eqclass {\tuple {a, b} } \boxminus$, as suggested.

Integer addition is defined as:

$\forall a, b, c, d \in \N: \eqclass {a, b} {} + \eqclass {c, d} {} = \eqclass {a + c, b + d} {}$

We have that:

$\forall a, b, c, d \in \N: \eqclass {a, b} {} \in \Z, \eqclass {c, d} {} \in \Z$


$\forall a, b, c, d \in \N: \eqclass {a, b} {} + \eqclass {c, d} {} = \eqclass {a + c, b + d} {}$


$a + c \in \N, b + d \in \N$


$\forall a, b, c, d \in \N: \eqclass {a + c, b + d} {} \in \Z$

Therefore integer addition is closed.