Step | Hyp | Ref
| Expression |
1 | | pceu.7 |
. . . . . . . . . . 11
⊢ (𝜑 → (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℕ)) |
2 | 1 | simprd 496 |
. . . . . . . . . 10
⊢ (𝜑 → 𝑦 ∈ ℕ) |
3 | 2 | nncnd 11989 |
. . . . . . . . 9
⊢ (𝜑 → 𝑦 ∈ ℂ) |
4 | | pceu.9 |
. . . . . . . . . . 11
⊢ (𝜑 → (𝑠 ∈ ℤ ∧ 𝑡 ∈ ℕ)) |
5 | 4 | simpld 495 |
. . . . . . . . . 10
⊢ (𝜑 → 𝑠 ∈ ℤ) |
6 | 5 | zcnd 12427 |
. . . . . . . . 9
⊢ (𝜑 → 𝑠 ∈ ℂ) |
7 | 3, 6 | mulcomd 10996 |
. . . . . . . 8
⊢ (𝜑 → (𝑦 · 𝑠) = (𝑠 · 𝑦)) |
8 | | pceu.10 |
. . . . . . . . . 10
⊢ (𝜑 → 𝑁 = (𝑠 / 𝑡)) |
9 | | pceu.8 |
. . . . . . . . . 10
⊢ (𝜑 → 𝑁 = (𝑥 / 𝑦)) |
10 | 8, 9 | eqtr3d 2780 |
. . . . . . . . 9
⊢ (𝜑 → (𝑠 / 𝑡) = (𝑥 / 𝑦)) |
11 | 4 | simprd 496 |
. . . . . . . . . . 11
⊢ (𝜑 → 𝑡 ∈ ℕ) |
12 | 11 | nncnd 11989 |
. . . . . . . . . 10
⊢ (𝜑 → 𝑡 ∈ ℂ) |
13 | 1 | simpld 495 |
. . . . . . . . . . 11
⊢ (𝜑 → 𝑥 ∈ ℤ) |
14 | 13 | zcnd 12427 |
. . . . . . . . . 10
⊢ (𝜑 → 𝑥 ∈ ℂ) |
15 | 11 | nnne0d 12023 |
. . . . . . . . . 10
⊢ (𝜑 → 𝑡 ≠ 0) |
16 | 2 | nnne0d 12023 |
. . . . . . . . . 10
⊢ (𝜑 → 𝑦 ≠ 0) |
17 | 6, 12, 14, 3, 15, 16 | divmuleqd 11797 |
. . . . . . . . 9
⊢ (𝜑 → ((𝑠 / 𝑡) = (𝑥 / 𝑦) ↔ (𝑠 · 𝑦) = (𝑥 · 𝑡))) |
18 | 10, 17 | mpbid 231 |
. . . . . . . 8
⊢ (𝜑 → (𝑠 · 𝑦) = (𝑥 · 𝑡)) |
19 | 7, 18 | eqtrd 2778 |
. . . . . . 7
⊢ (𝜑 → (𝑦 · 𝑠) = (𝑥 · 𝑡)) |
20 | 19 | breq2d 5086 |
. . . . . 6
⊢ (𝜑 → ((𝑃↑𝑧) ∥ (𝑦 · 𝑠) ↔ (𝑃↑𝑧) ∥ (𝑥 · 𝑡))) |
21 | 20 | rabbidv 3414 |
. . . . 5
⊢ (𝜑 → {𝑧 ∈ ℕ0 ∣ (𝑃↑𝑧) ∥ (𝑦 · 𝑠)} = {𝑧 ∈ ℕ0 ∣ (𝑃↑𝑧) ∥ (𝑥 · 𝑡)}) |
22 | | oveq2 7283 |
. . . . . . 7
⊢ (𝑛 = 𝑧 → (𝑃↑𝑛) = (𝑃↑𝑧)) |
23 | 22 | breq1d 5084 |
. . . . . 6
⊢ (𝑛 = 𝑧 → ((𝑃↑𝑛) ∥ (𝑦 · 𝑠) ↔ (𝑃↑𝑧) ∥ (𝑦 · 𝑠))) |
24 | 23 | cbvrabv 3426 |
. . . . 5
⊢ {𝑛 ∈ ℕ0
∣ (𝑃↑𝑛) ∥ (𝑦 · 𝑠)} = {𝑧 ∈ ℕ0 ∣ (𝑃↑𝑧) ∥ (𝑦 · 𝑠)} |
25 | 22 | breq1d 5084 |
. . . . . 6
⊢ (𝑛 = 𝑧 → ((𝑃↑𝑛) ∥ (𝑥 · 𝑡) ↔ (𝑃↑𝑧) ∥ (𝑥 · 𝑡))) |
26 | 25 | cbvrabv 3426 |
. . . . 5
⊢ {𝑛 ∈ ℕ0
∣ (𝑃↑𝑛) ∥ (𝑥 · 𝑡)} = {𝑧 ∈ ℕ0 ∣ (𝑃↑𝑧) ∥ (𝑥 · 𝑡)} |
27 | 21, 24, 26 | 3eqtr4g 2803 |
. . . 4
⊢ (𝜑 → {𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑦 · 𝑠)} = {𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑥 · 𝑡)}) |
28 | 27 | supeq1d 9205 |
. . 3
⊢ (𝜑 → sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑦 · 𝑠)}, ℝ, < ) = sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑥 · 𝑡)}, ℝ, < )) |
29 | | pceu.5 |
. . . 4
⊢ (𝜑 → 𝑃 ∈ ℙ) |
30 | 2 | nnzd 12425 |
. . . 4
⊢ (𝜑 → 𝑦 ∈ ℤ) |
31 | | pceu.6 |
. . . . 5
⊢ (𝜑 → 𝑁 ≠ 0) |
32 | 12, 15 | div0d 11750 |
. . . . . . . 8
⊢ (𝜑 → (0 / 𝑡) = 0) |
33 | | oveq1 7282 |
. . . . . . . . 9
⊢ (𝑠 = 0 → (𝑠 / 𝑡) = (0 / 𝑡)) |
34 | 33 | eqeq1d 2740 |
. . . . . . . 8
⊢ (𝑠 = 0 → ((𝑠 / 𝑡) = 0 ↔ (0 / 𝑡) = 0)) |
35 | 32, 34 | syl5ibrcom 246 |
. . . . . . 7
⊢ (𝜑 → (𝑠 = 0 → (𝑠 / 𝑡) = 0)) |
36 | 8 | eqeq1d 2740 |
. . . . . . 7
⊢ (𝜑 → (𝑁 = 0 ↔ (𝑠 / 𝑡) = 0)) |
37 | 35, 36 | sylibrd 258 |
. . . . . 6
⊢ (𝜑 → (𝑠 = 0 → 𝑁 = 0)) |
38 | 37 | necon3d 2964 |
. . . . 5
⊢ (𝜑 → (𝑁 ≠ 0 → 𝑠 ≠ 0)) |
39 | 31, 38 | mpd 15 |
. . . 4
⊢ (𝜑 → 𝑠 ≠ 0) |
40 | | pcval.2 |
. . . . 5
⊢ 𝑇 = sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ 𝑦}, ℝ, < ) |
41 | | pceu.3 |
. . . . 5
⊢ 𝑈 = sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ 𝑠}, ℝ, < ) |
42 | | eqid 2738 |
. . . . 5
⊢
sup({𝑛 ∈
ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑦 · 𝑠)}, ℝ, < ) = sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑦 · 𝑠)}, ℝ, < ) |
43 | 40, 41, 42 | pcpremul 16544 |
. . . 4
⊢ ((𝑃 ∈ ℙ ∧ (𝑦 ∈ ℤ ∧ 𝑦 ≠ 0) ∧ (𝑠 ∈ ℤ ∧ 𝑠 ≠ 0)) → (𝑇 + 𝑈) = sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑦 · 𝑠)}, ℝ, < )) |
44 | 29, 30, 16, 5, 39, 43 | syl122anc 1378 |
. . 3
⊢ (𝜑 → (𝑇 + 𝑈) = sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑦 · 𝑠)}, ℝ, < )) |
45 | 3, 16 | div0d 11750 |
. . . . . . . 8
⊢ (𝜑 → (0 / 𝑦) = 0) |
46 | | oveq1 7282 |
. . . . . . . . 9
⊢ (𝑥 = 0 → (𝑥 / 𝑦) = (0 / 𝑦)) |
47 | 46 | eqeq1d 2740 |
. . . . . . . 8
⊢ (𝑥 = 0 → ((𝑥 / 𝑦) = 0 ↔ (0 / 𝑦) = 0)) |
48 | 45, 47 | syl5ibrcom 246 |
. . . . . . 7
⊢ (𝜑 → (𝑥 = 0 → (𝑥 / 𝑦) = 0)) |
49 | 9 | eqeq1d 2740 |
. . . . . . 7
⊢ (𝜑 → (𝑁 = 0 ↔ (𝑥 / 𝑦) = 0)) |
50 | 48, 49 | sylibrd 258 |
. . . . . 6
⊢ (𝜑 → (𝑥 = 0 → 𝑁 = 0)) |
51 | 50 | necon3d 2964 |
. . . . 5
⊢ (𝜑 → (𝑁 ≠ 0 → 𝑥 ≠ 0)) |
52 | 31, 51 | mpd 15 |
. . . 4
⊢ (𝜑 → 𝑥 ≠ 0) |
53 | 11 | nnzd 12425 |
. . . 4
⊢ (𝜑 → 𝑡 ∈ ℤ) |
54 | | pcval.1 |
. . . . 5
⊢ 𝑆 = sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ 𝑥}, ℝ, < ) |
55 | | pceu.4 |
. . . . 5
⊢ 𝑉 = sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ 𝑡}, ℝ, < ) |
56 | | eqid 2738 |
. . . . 5
⊢
sup({𝑛 ∈
ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑥 · 𝑡)}, ℝ, < ) = sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑥 · 𝑡)}, ℝ, < ) |
57 | 54, 55, 56 | pcpremul 16544 |
. . . 4
⊢ ((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0) ∧ (𝑡 ∈ ℤ ∧ 𝑡 ≠ 0)) → (𝑆 + 𝑉) = sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑥 · 𝑡)}, ℝ, < )) |
58 | 29, 13, 52, 53, 15, 57 | syl122anc 1378 |
. . 3
⊢ (𝜑 → (𝑆 + 𝑉) = sup({𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ (𝑥 · 𝑡)}, ℝ, < )) |
59 | 28, 44, 58 | 3eqtr4d 2788 |
. 2
⊢ (𝜑 → (𝑇 + 𝑈) = (𝑆 + 𝑉)) |
60 | | prmuz2 16401 |
. . . . . 6
⊢ (𝑃 ∈ ℙ → 𝑃 ∈
(ℤ≥‘2)) |
61 | 29, 60 | syl 17 |
. . . . 5
⊢ (𝜑 → 𝑃 ∈
(ℤ≥‘2)) |
62 | | eqid 2738 |
. . . . . . 7
⊢ {𝑛 ∈ ℕ0
∣ (𝑃↑𝑛) ∥ 𝑦} = {𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ 𝑦} |
63 | 62, 40 | pcprecl 16540 |
. . . . . 6
⊢ ((𝑃 ∈
(ℤ≥‘2) ∧ (𝑦 ∈ ℤ ∧ 𝑦 ≠ 0)) → (𝑇 ∈ ℕ0 ∧ (𝑃↑𝑇) ∥ 𝑦)) |
64 | 63 | simpld 495 |
. . . . 5
⊢ ((𝑃 ∈
(ℤ≥‘2) ∧ (𝑦 ∈ ℤ ∧ 𝑦 ≠ 0)) → 𝑇 ∈
ℕ0) |
65 | 61, 30, 16, 64 | syl12anc 834 |
. . . 4
⊢ (𝜑 → 𝑇 ∈
ℕ0) |
66 | 65 | nn0cnd 12295 |
. . 3
⊢ (𝜑 → 𝑇 ∈ ℂ) |
67 | | eqid 2738 |
. . . . . . 7
⊢ {𝑛 ∈ ℕ0
∣ (𝑃↑𝑛) ∥ 𝑠} = {𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ 𝑠} |
68 | 67, 41 | pcprecl 16540 |
. . . . . 6
⊢ ((𝑃 ∈
(ℤ≥‘2) ∧ (𝑠 ∈ ℤ ∧ 𝑠 ≠ 0)) → (𝑈 ∈ ℕ0 ∧ (𝑃↑𝑈) ∥ 𝑠)) |
69 | 68 | simpld 495 |
. . . . 5
⊢ ((𝑃 ∈
(ℤ≥‘2) ∧ (𝑠 ∈ ℤ ∧ 𝑠 ≠ 0)) → 𝑈 ∈
ℕ0) |
70 | 61, 5, 39, 69 | syl12anc 834 |
. . . 4
⊢ (𝜑 → 𝑈 ∈
ℕ0) |
71 | 70 | nn0cnd 12295 |
. . 3
⊢ (𝜑 → 𝑈 ∈ ℂ) |
72 | | eqid 2738 |
. . . . . . 7
⊢ {𝑛 ∈ ℕ0
∣ (𝑃↑𝑛) ∥ 𝑥} = {𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ 𝑥} |
73 | 72, 54 | pcprecl 16540 |
. . . . . 6
⊢ ((𝑃 ∈
(ℤ≥‘2) ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0)) → (𝑆 ∈ ℕ0 ∧ (𝑃↑𝑆) ∥ 𝑥)) |
74 | 73 | simpld 495 |
. . . . 5
⊢ ((𝑃 ∈
(ℤ≥‘2) ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0)) → 𝑆 ∈
ℕ0) |
75 | 61, 13, 52, 74 | syl12anc 834 |
. . . 4
⊢ (𝜑 → 𝑆 ∈
ℕ0) |
76 | 75 | nn0cnd 12295 |
. . 3
⊢ (𝜑 → 𝑆 ∈ ℂ) |
77 | | eqid 2738 |
. . . . . . 7
⊢ {𝑛 ∈ ℕ0
∣ (𝑃↑𝑛) ∥ 𝑡} = {𝑛 ∈ ℕ0 ∣ (𝑃↑𝑛) ∥ 𝑡} |
78 | 77, 55 | pcprecl 16540 |
. . . . . 6
⊢ ((𝑃 ∈
(ℤ≥‘2) ∧ (𝑡 ∈ ℤ ∧ 𝑡 ≠ 0)) → (𝑉 ∈ ℕ0 ∧ (𝑃↑𝑉) ∥ 𝑡)) |
79 | 78 | simpld 495 |
. . . . 5
⊢ ((𝑃 ∈
(ℤ≥‘2) ∧ (𝑡 ∈ ℤ ∧ 𝑡 ≠ 0)) → 𝑉 ∈
ℕ0) |
80 | 61, 53, 15, 79 | syl12anc 834 |
. . . 4
⊢ (𝜑 → 𝑉 ∈
ℕ0) |
81 | 80 | nn0cnd 12295 |
. . 3
⊢ (𝜑 → 𝑉 ∈ ℂ) |
82 | 66, 71, 76, 81 | addsubeq4d 11383 |
. 2
⊢ (𝜑 → ((𝑇 + 𝑈) = (𝑆 + 𝑉) ↔ (𝑆 − 𝑇) = (𝑈 − 𝑉))) |
83 | 59, 82 | mpbid 231 |
1
⊢ (𝜑 → (𝑆 − 𝑇) = (𝑈 − 𝑉)) |