Number Systems: From to , Chapter 2 built
out of pairs of
natural numbers and proved it an ordered ring, but it
said nothing about which integers divide which. Sets
and Functions, Section 3.2 did, for the school
integers: it proved division with remainder, showed that
every integer from on has a prime factor,
and set the uniqueness of prime factorization aside as a
fact it neither proved nor used. This chapter proves
that arithmetic again for the constructed , and goes further,
using the ordered-ring axioms and two properties of the
order of : there
is no integer strictly between and (Number Systems: From to , Theorem 2.4.2
(c)), and a non-empty set of integers with a lower bound
has a least element (Number Systems: From to , Proposition 2.4.4).
Number Systems: From to , Section 2.5
drew division with remainder from the second property
(Number Systems: From to , Theorem 2.5.2),
and this chapter starts there; the field enters for lowest
terms and in a few examples and exercises. Then one move
does most of the work. In a set of integers closed under
sums and under multiplication by any integer, the
least positive element divides every
element, and dividing by it with remainder is how one
sees this. Applied to the combinations , it makes the
greatest common divisor a combination of and (Bézout’s theorem), and
the Euclidean algorithm computes it. Multiplying that
combination by a third integer gives Euclid’s lemma,
that a prime dividing a product divides one of the
factors, and with it the uniqueness of prime
factorization and the lowest terms of a rational
number.
The second half returns to the clock of Sets and
Functions, Section 5.2. There, and again for and in Number
Systems: From
to ,
Chapters 2 and 3, each sum and product of classes was
checked separately to be well defined. Section 2.3 makes
the check once, for the quotient of any commutative ring
by an ideal, and becomes a
commutative ring with elements on which, for
, no order
fits. In it the classes that can be divided by are
exactly the classes of the integers coprime to . So is a field with
elements for
every prime , and
two congruences with coprime moduli have exactly one
class of solutions modulo the product of the moduli, the
Chinese remainder theorem. Number Systems: From
to , Chapter 5
builds in the
same shape, as classes of rational Cauchy sequences
whose difference is null (the null sequences play the
part of the ideal), though it checks its operations
directly; Chapter 7 of this volume runs division with
remainder, gcd and unique factorization again for
polynomials over a field.
Two integers, one theory. Sets
and Functions, Chapters 1, 3 and 5 proved its facts
about divisibility for the school integers, from school
facts such as the closure of under , and (Sets and Functions, Proposition 3.1.2).
This chapter keeps their definitions of divisibility,
prime and congruence (Sets and Functions, Definition 1.1.2,
Sets and Functions, Definition 1.1.3,
Sets and Functions, Definition 5.2.5),
read word for word on the ring of Number Systems:
From to , Chapter 2, and
proves the results again; no proof in it cites a result
of Sets and Functions about integers. Each such
result has a twin here: transitivity of divisibility (Sets and Functions, Proposition 1.1.1)
and even or odd (Sets and Functions, Theorem 1.1.2),
from its Chapter 1, are Number Systems: From to , Proposition 2.5.1
(b) and Number Systems: From to , Corollary 2.5.3
(a); the others are named in the section that proves
them: division with remainder (Sets and Functions, Theorem 3.2.3)
and the antisymmetry of divisibility on (Sets and Functions, Proposition 5.1.1)
in Number Systems: From to , Section 2.5; a
prime factor of every (Sets and Functions, Theorem 3.2.5)
and lowest terms (Sets and Functions, Lemma 3.2.4)
in Section 2.2; and the arithmetic of congruence classes
(Sets and Functions, Proposition 5.2.5)
in Section 2.3. Nothing earlier was circular: the
earlier chapters used these facts about the school
integers as stated facts, and this chapter proves them
for the constructed ones.
What you need. Number Systems:
From to , Chapters 1–3,
chiefly Sections 2.3–2.5, and Sets and
Functions, Chapters 1–5, chiefly Sections 1.1, 3.2
and 5.2. From Number Systems: From to , Chapters 2 and
3: the commutative ring and its algebra (Number Systems: From to , Definition 2.3.1,
Number Systems: From to , Theorem 2.3.1,
Number Systems: From to , Proposition 2.3.2),
its order, the rules for inequalities and discreteness
(Number Systems: From to , Proposition 2.4.3,
Number Systems: From to , Theorem 2.4.2),
the least element of a set of integers bounded below (Number Systems: From to , Proposition 2.4.4),
the copy of
inside (Number Systems: From to , Proposition 2.2.3),
the lemma that a rule on classes is a function when
equivalent inputs give equivalent outputs (Number Systems: From to , Theorem 2.2.1),
the two-element field that cannot be ordered (Number Systems: From to , Example (A field with two elements that cannot be ordered)),
and the field
with inside it
and its order (Number Systems: From to , Definition 3.1.2,
Number Systems: From to , Theorem 3.1.3,
Number Systems: From to , Proposition 3.1.4,
Number Systems: From to , Theorem 3.2.1);
and from Number Systems: From to , Section 2.5,
division with remainder, the rules for divisibility and
parity (Number Systems: From to , Theorem 2.5.2,
Number Systems: From to , Proposition 2.5.1,
Number Systems: From to , Corollary 2.5.3).
From its Chapter 1, the citing rule of its Section 1.4
(Number Systems: From to , Corollary 1.4.3),
by which induction (Logic and Proof, Axiom 4.2.1)
and the recursion theorem (Sets and Functions, Theorem 3.3.1,
Number Systems: From to , Theorem 1.2.1)
apply to ; and
powers and parity on (Number Systems: From to , Proposition 1.3.4),
used in review exercise R2. From Sets and
Functions, Section 1.1, the definitions of
divisibility and prime (Sets and Functions, Definition 1.1.2,
Sets and Functions, Definition 1.1.3);
from its Section 3.3, finite products (Sets and Functions, Definition 3.3.1),
used in Section 2.2 as a pattern for products of lists;
from its Section 5.2, equivalence relations, classes and
quotient sets (Sets and Functions, Definition 5.2.1,
Sets and Functions, Definition 5.2.4,
Sets and Functions, Theorem 5.2.1)
and congruence (Sets and Functions, Definition 5.2.5);
from its Section 5.3, suprema and the divisibility order
(Sets and Functions, Definition 5.3.5,
Sets and Functions, Example (The supremum under divisibility is the least common multiple)),
in a remark of Section 2.1 and in Section 2.2’s B2. From
Sets and Functions, Chapters 1 and 2: products,
equality of functions, bijections and their composites
(Sets and Functions, Definition 1.4.2,
Sets and Functions, Proposition 2.1.1,
Sets and Functions, Definition 2.2.3,
Sets and Functions, Theorem 2.2.1);
and from its Section 4.1, finite sets and equinumerous
sets (Sets and Functions, Definition 4.1.2,
Sets and Functions, Proposition 4.1.1),
to count ,
with more on finite sets (Sets and Functions, Proposition 4.1.6,
Sets and Functions, Corollary 4.1.4,
Sets and Functions, Theorem 4.1.9,
Sets and Functions, Exercise (C2: Counting products and functions))
in Section 2.4’s B3 and C2. From Logic and
Proof, Chapter 8, the catalogue of what a proof may
not do (Logic and Proof, Example (What is not allowed)),
for Section 2.2’s B1 and C2 and Section 2.4’s C2. A few
results are compared with and not used: the twins listed
above; Euclid’s argument in Logic and Proof,
Section 8.1’s C1 (Logic and Proof, Exercise (C1: Euclid without the contradiction))
in Section 2.2’s C3; a rule on classes that is not a
function (Sets and Functions, Example (A rule on classes that is not a function))
in Section 2.3’s C1; lowest terms in Sets and
Functions, Section 3.2’s C2 (Sets and Functions, Exercise (C2: Lowest terms, used later))
in Section 2.2; and, in the review exercises, the
countable product of Sets and Functions,
Section 4.2 (Sets and Functions, Exercise (B2: Putting a proof in order),
Sets and Functions, Theorem 4.2.6)
in R2, the two proofs that is not rational
(Logic and Proof, Theorem 2.2.1,
Number Systems: From to , Theorem 3.3.1)
in R3. From Chapter 1 of this volume, review exercise R1
uses the laws of powers in a commutative ring (Proposition 1.1.1)
and the difference of powers (Lemma 1.1.8).
Time. About 20 hours on the core
track (all of A, one B and one C per section, the exit
checks); about 30 hours for everything.
Roadmap
- The Greatest Common Divisor, Bézout, and the
Euclidean Algorithm. The combinations and the
multiples , the
greatest common divisor with ,
Bézout’s theorem (the least positive combination is the
gcd, and every combination is a multiple of it), coprime
integers, and the Euclidean algorithm as a recursion
that keeps the set of combinations fixed, with
back-substitution for the coefficients.
- Euclid’s Lemma and the Fundamental Theorem
of Arithmetic. Euclid’s lemma from the Bézout
identity, a prime dividing a product of primes equal to
one of them, coprime divisors, the least divisor above
as a prime,
existence and uniqueness of non-decreasing prime
factorizations by comparing the largest primes, a monoid
in which factorization is not unique, and lowest terms
in .
- Ideals, Quotient Rings, and the Integers
Modulo n. Ideals as the subsets that a quotient
needs, the quotient ring of a commutative ring
by an ideal, the failure for , the
ideals of as
the sets , and
as a
commutative ring with elements that no order
fits when .
- Units, Prime Moduli, and the Chinese
Remainder Theorem. Units of a commutative ring,
the units of as the classes
coprime to with
inverses from back-substitution, a field exactly
when is prime,
and the Chinese remainder theorem for two coprime
moduli, with the failures when the moduli share a
factor; the review exercises reach back to Chapter 1 of
this volume, Number Systems: From to , Chapters 1 and
3, Logic and Proof, Chapter 2, and Sets and
Functions, Chapter 4.
Named moves
- Least positive element, then
divide. Take the least positive element of a set of integers
closed under integer combinations; divide any element of
the set by ; the
remainder lies in the set and is smaller than , so it is . This proves Bézout’s
theorem in Section 2.1 and the description of the ideals
of in Section
2.3, and Section 2.2’s B2 and Section 2.3’s C2 use it
for common multiples and for sets closed under
subtraction.
- Multiply the Bézout identity. From
,
multiply by :
, and
read off what divides . It turns a statement
about common divisors into an equation, and it gives
Euclid’s lemma in Section 2.2; in Section 2.4 the same
identity, read modulo , gives inverses, and
read modulo and
modulo at once,
the Chinese remainder theorem.
- Compute on representatives; the ideal
absorbs the change. An operation on classes
is well
defined because a change of representative is an element
of , and
multiplying it by the other argument keeps it in . This is Number
Systems: From
to ,
Chapter 2’s check one argument at a time, now made once
for every commutative ring and every ideal.