Exercise · Volume 1 · 1.2.4-20
Exercise 1.2.4-20
proved in Lean solution written
| Rating | M15 |
|---|---|
| Markers | M (mathematical) |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.4 of Volume 1. Companion chapter: Integer functions and elementary number theory |
The task
Prove Law B from the law of inverses and Law A.
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
Take with and multiply a congruence by it.
Solution
Show the solution
Let and with . Law A applied to and gives . Together with this gives (a congruence is an equality of remainders, so it is transitive).
By the law of inverses there is an integer with . Multiply the congruence by (Law A): . Since , Law A gives and . So .
Check
Modulo with (here since ): and , so , which holds. If fails, cancelling can fail (Exercise 1.2.4-22).
Remarks
The proof of Fermat's theorem in the section uses Law B to cancel a product. Law B also shows that the inverse of Exercise 1.2.4-19 is unique modulo : if , then Law B with gives .
This solution is checked, and a person has not reviewed it yet. The source.
In Lean
proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.
- Problem:
TAOCP.S1_2_4.Ex20.statementaxioms: none - Solution:
TAOCP.S1_2_4.Ex20.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.