TheoremBase

Sketch: take the least nonnegative value of m - qn by the well-order of the natural numbers with zero; uniqueness by discreteness of the integers.

Proof

Routine facts about nonempty classes and the class of remainders are used without comment (Toolkit for AL1).

Consider the set

S={r∈N0:m=qn+r for some q∈Z}.S=\{r\in\mathbb{N}_{0}: m=qn+r\text{ for some }q\in\mathbb{Z}\}.

It is nonempty. If 0≀m0\le m, then m∈Sm\in S, with q=0q=0. If m<0m<0, take q=mq=m: then m=mn+m(1βˆ’n)m=mn+m(1-n), and m(1βˆ’n)β‰₯0m(1-n)\ge0 because m<0m<0 and 1βˆ’n≀01-n\le0, so m(1βˆ’n)∈Sm(1-n)\in S. (Arithmetic and order of Z\mathbb{Z} are routine under Routine Facts, Continued: Typed Arithmetic, Maps and Predicativity.)

The order of N0\mathbb{N}_{0} is a well-order by The Order on Omega Is a Well-Order with Membership as Its Strict Order, and Nothing Lies between n and Its Successor (i), so the nonempty set SS has a least element rr (Well-Orders on a Set (i)). Fix q∈Zq\in\mathbb{Z} with m=qn+rm=qn+r.

We claim r<nr<n, which proves existence. Suppose instead that n≀rn\le r. Then rβˆ’n∈N0r-n\in\mathbb{N}_{0} and

m=(q+1)n+(rβˆ’n),m=(q+1)n+(r-n),

so rβˆ’n∈Sr-n\in S; but rβˆ’n<rr-n<r because 1≀n1\le n, contradicting the minimality of rr.

For uniqueness, let m=qn+r=qβ€²n+rβ€²m=qn+r=q'n+r' with q,qβ€²βˆˆZq,q'\in\mathbb{Z}, r,rβ€²βˆˆN0r,r'\in\mathbb{N}_{0} and r,rβ€²<nr,r'<n. Suppose q<qβ€²q<q'. Then qβ€²βˆ’qβ‰₯1q'-q\ge1 by Discreteness of the Integers (i), so

rβˆ’rβ€²=(qβ€²βˆ’q)nβ‰₯n,r-r'=(q'-q)n\ge n,

whereas rβˆ’r′≀r<nr-r'\le r<n, a contradiction. Exchanging the roles of the two pairs rules out qβ€²<qq'<q in the same way, so q=qβ€²q=q', and then r=mβˆ’qn=rβ€²r=m-qn=r'.

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…