lpetrich
Contributor
We can start with the natural numbers, the numbers that we get from counting: 0, 1, 2, 3, ...
These are the possible cardinalities (numbers of elements) of finite sets, with 0 being that of the empty set.
But one can get them axiomatically, with Peano axioms. It starts with axioms of equality. For a set S and a function = with arguments and return value
S = S gives a truth value (true or false)
It need not be an exact match. Consider that we accept 1/2 = 2/4 without 1/2 exactly matching 2/4.
we have:
Now for Peano's axioms of arithmetic. I'll start with 0, since it is easier to define addition and multiplication that way, and because it includes the empty set's cardinality. One needs a successor function S that operates on elements of the set of natural numbers N.
S(0) = 1, S(1) = 2, S(2) = 3, ...
Addition can be defined axiomatically with Peano's axioms:
For x and y in N, x <= y is defined as there being some z in N such that x + z = y
One can define <, >=, and > in terms of that, just as one can define inequality, !=, in terms of =.
One can get all these operations' familiar properties from Peano's axioms. Properties like addition and multiplication being commutative and associative, and multiplication being distributive over addition.
These are the possible cardinalities (numbers of elements) of finite sets, with 0 being that of the empty set.
But one can get them axiomatically, with Peano axioms. It starts with axioms of equality. For a set S and a function = with arguments and return value
S = S gives a truth value (true or false)
It need not be an exact match. Consider that we accept 1/2 = 2/4 without 1/2 exactly matching 2/4.
we have:
- Reflexivity: for all a in S, a = a
- Symmetry: for all a,b in S: (a = b) -> (b = a)
- Transitivity: for all a,b,c in S: (a = b and b = c) -> (a = c)
- Closure: for all a in S, if a = b, then b is in S
Now for Peano's axioms of arithmetic. I'll start with 0, since it is easier to define addition and multiplication that way, and because it includes the empty set's cardinality. One needs a successor function S that operates on elements of the set of natural numbers N.
S(0) = 1, S(1) = 2, S(2) = 3, ...
- First-element presence: 0 is in N
- Closure: for all x in N, S(x) is also in N
- Successor equality: for all x and y in N, (x = y) <-> (S(x) = S)
- No first-element predecessors: for all x in N, S(x) = 0 is false
- Mathematical induction: for a predicate (function that returns true/false) f, (f(0) and for all x in N, f(x) -> f(S(x))) -> for all x in N, f(x)
Addition can be defined axiomatically with Peano's axioms:
- For all x in N, x + 0 = x
- For all x, y in N, x + S = S(x+y)
- For all x in N, x*0 = 0
- For all x,y in N, x*S = x + (x*y)
For x and y in N, x <= y is defined as there being some z in N such that x + z = y
One can define <, >=, and > in terms of that, just as one can define inequality, !=, in terms of =.
One can get all these operations' familiar properties from Peano's axioms. Properties like addition and multiplication being commutative and associative, and multiplication being distributive over addition.