This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: Define the Euler phi function (also called "Euler totient function"), which counts the number of integers less than n and coprime to it, see definition in ApostolNT p. 25. (Contributed by Mario Carneiro, 23-Feb-2014)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | df-phi |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 0 | cphi | ||
| 1 | vn | ||
| 2 | cn | ||
| 3 | chash | ||
| 4 | vx | ||
| 5 | c1 | ||
| 6 | cfz | ||
| 7 | 1 | cv | |
| 8 | 5 7 6 | co | |
| 9 | 4 | cv | |
| 10 | cgcd | ||
| 11 | 9 7 10 | co | |
| 12 | 11 5 | wceq | |
| 13 | 12 4 8 | crab | |
| 14 | 13 3 | cfv | |
| 15 | 1 2 14 | cmpt | |
| 16 | 0 15 | wceq |