--
You received this message because you are subscribed to the Google Groups "pdxfunc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdxfunc+u...@googlegroups.com.
To post to this group, send email to pdx...@googlegroups.com.
Visit this group at https://groups.google.com/group/pdxfunc.
For more options, visit https://groups.google.com/d/optout.
I’ve attached my solutions to the exercises.Also, I have an even better justification for the definition of . It's not an exceptional case at all. You just have to rethink what "greatest" means. Rather than thinking "greatest" in terms of the usual ordering on integers, think of it in terms of the divisibility relation. Zero is the greatest number in that relation, because every integer divides it.Another way to look at it is that for the greatest common divisor, we require two things: 1) that divides both and , and 2) that any integer that divides both and divides . In lattice theory, this is called the infimum or meet. What are the divisors of zero? All integers. But only one of those integers is a multiple of all the others: zero.I also found a couple of mistakes in the exercises:Exercise 6: Write 11160 as product of primes.Should be: Write 11160 as the product of primes.Exercise 19: Suppose that a | n and a | nShould be: Suppose that a | n and a | mAlso on Exercise 19, it seems they should require that and cannot both be zero. Which also turns out to prevent and from being zero.
On Fri, Dec 28, 2018 at 4:50 PM Lyle Kopnicky wrote:
Oh, I see. Because every integer is a divisor of , there is no greatest. So you either have to say it's undefined, or pick something useful.For any nonzero , we have . So if we define to be , then that holds for as well.Which makes it handy, as Wikipedia points out, in defining a lattice of the natural numbers with "divides" as the relation: since gcd is the meet operation, that gives the lattice a bottom.
On Fri, Dec 28, 2018 at 4:34 PM Lyle Kopnicky wrote:
Hmm, regarding the first error: Looks like it's intentional. Above that in the book it says that they define . I'm not sure why they would need to define that special case, or define it that way. It already follows from the standard definition that divides , thus . I don't understand why they would want to special-case that.
On Fri, Dec 28, 2018 at 3:16 PM Lyle Kopnicky wrote:
I read Chapter 19, and found three errors in it.The first is in Section 19.2, in the proof of They define and . Then they say that if , that . That's not correct. It should say . This is because, . The proof still follows from that. Note that the integer can never be the greatest common divisor of two integers, because divides every integer, and it's greater than .The second is in Section 19.4, where they claim "there are only four possibilities for . It can be congruent to , , or ." They missed the possibility that both and are congruent to modulo . Then the sum would be congruent to modulo . That still isn't , so the proof is safe, but the step should be corrected.The third is also in Section 19.4, in the proof that has a multiplicative inverse modulo only if and are coprime. They define , but it should say . That took me a while to figure out. What didn't make sense to me was how they justified .I also noticed a missing period, and a place where they began a sentence with a variable, which isn't good editorial practice.There's also a place that may not have an error, but I couldn't follow a step: In the proof of the Fundamental Theorem of Arithmetic, in section 19.3. Specifically, where it says "Since is prime, we must have for some ." I'm not sure how that follows. Perhaps we can discuss in the meeting.- Lyle
On Fri, Dec 28, 2018 at 11:30 AM Lyle Kopnicky wrote:
We'll discuss Chapter 19, "Elementary Number Theory", of Logic and Proof (https://leanprover.github.io/logic_and_proof). Please try to work the exercises beforehand. At the meeting anyone will be able to present and contribute to the discussion.January 9th, 2018, 6:30-8:30pmLocation:Collective Agency3050 SE Division, Suite 245 · Portland, ORWe'll be in the second floor conference room, not in the Collective Agency suite. It's just off the lobby area in the middle of the second floor. Elevator access is available.