Step | Hyp | Ref
| Expression |
1 | | simp2l 1197 |
. . 3
⊢ ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) → 𝐴 ∈
ℚ) |
2 | | elq 12619 |
. . 3
⊢ (𝐴 ∈ ℚ ↔
∃𝑥 ∈ ℤ
∃𝑦 ∈ ℕ
𝐴 = (𝑥 / 𝑦)) |
3 | 1, 2 | sylib 217 |
. 2
⊢ ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) → ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℕ 𝐴 = (𝑥 / 𝑦)) |
4 | | simp3l 1199 |
. . 3
⊢ ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) → 𝐵 ∈
ℚ) |
5 | | elq 12619 |
. . 3
⊢ (𝐵 ∈ ℚ ↔
∃𝑧 ∈ ℤ
∃𝑤 ∈ ℕ
𝐵 = (𝑧 / 𝑤)) |
6 | 4, 5 | sylib 217 |
. 2
⊢ ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) → ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℕ 𝐵 = (𝑧 / 𝑤)) |
7 | | reeanv 3292 |
. . 3
⊢
(∃𝑥 ∈
ℤ ∃𝑧 ∈
ℤ (∃𝑦 ∈
ℕ 𝐴 = (𝑥 / 𝑦) ∧ ∃𝑤 ∈ ℕ 𝐵 = (𝑧 / 𝑤)) ↔ (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℕ 𝐴 = (𝑥 / 𝑦) ∧ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℕ 𝐵 = (𝑧 / 𝑤))) |
8 | | reeanv 3292 |
. . . . 5
⊢
(∃𝑦 ∈
ℕ ∃𝑤 ∈
ℕ (𝐴 = (𝑥 / 𝑦) ∧ 𝐵 = (𝑧 / 𝑤)) ↔ (∃𝑦 ∈ ℕ 𝐴 = (𝑥 / 𝑦) ∧ ∃𝑤 ∈ ℕ 𝐵 = (𝑧 / 𝑤))) |
9 | | simp2r 1198 |
. . . . . . . . 9
⊢ ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) → 𝐴 ≠ 0) |
10 | | simp3r 1200 |
. . . . . . . . 9
⊢ ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) → 𝐵 ≠ 0) |
11 | 9, 10 | jca 511 |
. . . . . . . 8
⊢ ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) → (𝐴 ≠ 0 ∧ 𝐵 ≠ 0)) |
12 | 11 | ad2antrr 722 |
. . . . . . 7
⊢ ((((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → (𝐴 ≠ 0 ∧ 𝐵 ≠ 0)) |
13 | | simp1 1134 |
. . . . . . . 8
⊢ ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) → 𝑃 ∈
ℙ) |
14 | | simprl 767 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → 𝑦 ∈
ℕ) |
15 | 14 | nncnd 11919 |
. . . . . . . . . . . . 13
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → 𝑦 ∈
ℂ) |
16 | 14 | nnne0d 11953 |
. . . . . . . . . . . . 13
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → 𝑦 ≠ 0) |
17 | 15, 16 | div0d 11680 |
. . . . . . . . . . . 12
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → (0 /
𝑦) = 0) |
18 | | oveq1 7262 |
. . . . . . . . . . . . 13
⊢ (𝑥 = 0 → (𝑥 / 𝑦) = (0 / 𝑦)) |
19 | 18 | eqeq1d 2740 |
. . . . . . . . . . . 12
⊢ (𝑥 = 0 → ((𝑥 / 𝑦) = 0 ↔ (0 / 𝑦) = 0)) |
20 | 17, 19 | syl5ibrcom 246 |
. . . . . . . . . . 11
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → (𝑥 = 0 → (𝑥 / 𝑦) = 0)) |
21 | 20 | necon3d 2963 |
. . . . . . . . . 10
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → ((𝑥 / 𝑦) ≠ 0 → 𝑥 ≠ 0)) |
22 | | simprr 769 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → 𝑤 ∈
ℕ) |
23 | 22 | nncnd 11919 |
. . . . . . . . . . . . 13
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → 𝑤 ∈
ℂ) |
24 | 22 | nnne0d 11953 |
. . . . . . . . . . . . 13
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → 𝑤 ≠ 0) |
25 | 23, 24 | div0d 11680 |
. . . . . . . . . . . 12
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → (0 /
𝑤) = 0) |
26 | | oveq1 7262 |
. . . . . . . . . . . . 13
⊢ (𝑧 = 0 → (𝑧 / 𝑤) = (0 / 𝑤)) |
27 | 26 | eqeq1d 2740 |
. . . . . . . . . . . 12
⊢ (𝑧 = 0 → ((𝑧 / 𝑤) = 0 ↔ (0 / 𝑤) = 0)) |
28 | 25, 27 | syl5ibrcom 246 |
. . . . . . . . . . 11
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → (𝑧 = 0 → (𝑧 / 𝑤) = 0)) |
29 | 28 | necon3d 2963 |
. . . . . . . . . 10
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → ((𝑧 / 𝑤) ≠ 0 → 𝑧 ≠ 0)) |
30 | | simpll 763 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑃 ∈ ℙ) |
31 | | simplrl 773 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑥 ∈ ℤ) |
32 | | simplrr 774 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑧 ∈ ℤ) |
33 | 31, 32 | zmulcld 12361 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑥 · 𝑧) ∈ ℤ) |
34 | 31 | zcnd 12356 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑥 ∈ ℂ) |
35 | 32 | zcnd 12356 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑧 ∈ ℂ) |
36 | | simprrl 777 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑥 ≠ 0) |
37 | | simprrr 778 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑧 ≠ 0) |
38 | 34, 35, 36, 37 | mulne0d 11557 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑥 · 𝑧) ≠ 0) |
39 | 14 | adantrr 713 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑦 ∈ ℕ) |
40 | 22 | adantrr 713 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑤 ∈ ℕ) |
41 | 39, 40 | nnmulcld 11956 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑦 · 𝑤) ∈ ℕ) |
42 | | pcdiv 16481 |
. . . . . . . . . . . . . 14
⊢ ((𝑃 ∈ ℙ ∧ ((𝑥 · 𝑧) ∈ ℤ ∧ (𝑥 · 𝑧) ≠ 0) ∧ (𝑦 · 𝑤) ∈ ℕ) → (𝑃 pCnt ((𝑥 · 𝑧) / (𝑦 · 𝑤))) = ((𝑃 pCnt (𝑥 · 𝑧)) − (𝑃 pCnt (𝑦 · 𝑤)))) |
43 | 30, 33, 38, 41, 42 | syl121anc 1373 |
. . . . . . . . . . . . 13
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt ((𝑥 · 𝑧) / (𝑦 · 𝑤))) = ((𝑃 pCnt (𝑥 · 𝑧)) − (𝑃 pCnt (𝑦 · 𝑤)))) |
44 | | pcmul 16480 |
. . . . . . . . . . . . . . 15
⊢ ((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0) ∧ (𝑧 ∈ ℤ ∧ 𝑧 ≠ 0)) → (𝑃 pCnt (𝑥 · 𝑧)) = ((𝑃 pCnt 𝑥) + (𝑃 pCnt 𝑧))) |
45 | 30, 31, 36, 32, 37, 44 | syl122anc 1377 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt (𝑥 · 𝑧)) = ((𝑃 pCnt 𝑥) + (𝑃 pCnt 𝑧))) |
46 | 39 | nnzd 12354 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑦 ∈ ℤ) |
47 | 16 | adantrr 713 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑦 ≠ 0) |
48 | 40 | nnzd 12354 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑤 ∈ ℤ) |
49 | 24 | adantrr 713 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑤 ≠ 0) |
50 | | pcmul 16480 |
. . . . . . . . . . . . . . 15
⊢ ((𝑃 ∈ ℙ ∧ (𝑦 ∈ ℤ ∧ 𝑦 ≠ 0) ∧ (𝑤 ∈ ℤ ∧ 𝑤 ≠ 0)) → (𝑃 pCnt (𝑦 · 𝑤)) = ((𝑃 pCnt 𝑦) + (𝑃 pCnt 𝑤))) |
51 | 30, 46, 47, 48, 49, 50 | syl122anc 1377 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt (𝑦 · 𝑤)) = ((𝑃 pCnt 𝑦) + (𝑃 pCnt 𝑤))) |
52 | 45, 51 | oveq12d 7273 |
. . . . . . . . . . . . 13
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → ((𝑃 pCnt (𝑥 · 𝑧)) − (𝑃 pCnt (𝑦 · 𝑤))) = (((𝑃 pCnt 𝑥) + (𝑃 pCnt 𝑧)) − ((𝑃 pCnt 𝑦) + (𝑃 pCnt 𝑤)))) |
53 | | pczcl 16477 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0)) → (𝑃 pCnt 𝑥) ∈
ℕ0) |
54 | 30, 31, 36, 53 | syl12anc 833 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt 𝑥) ∈
ℕ0) |
55 | 54 | nn0cnd 12225 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt 𝑥) ∈ ℂ) |
56 | | pczcl 16477 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑃 ∈ ℙ ∧ (𝑧 ∈ ℤ ∧ 𝑧 ≠ 0)) → (𝑃 pCnt 𝑧) ∈
ℕ0) |
57 | 30, 32, 37, 56 | syl12anc 833 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt 𝑧) ∈
ℕ0) |
58 | 57 | nn0cnd 12225 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt 𝑧) ∈ ℂ) |
59 | 30, 39 | pccld 16479 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt 𝑦) ∈
ℕ0) |
60 | 59 | nn0cnd 12225 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt 𝑦) ∈ ℂ) |
61 | 30, 40 | pccld 16479 |
. . . . . . . . . . . . . . 15
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt 𝑤) ∈
ℕ0) |
62 | 61 | nn0cnd 12225 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt 𝑤) ∈ ℂ) |
63 | 55, 58, 60, 62 | addsub4d 11309 |
. . . . . . . . . . . . 13
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (((𝑃 pCnt 𝑥) + (𝑃 pCnt 𝑧)) − ((𝑃 pCnt 𝑦) + (𝑃 pCnt 𝑤))) = (((𝑃 pCnt 𝑥) − (𝑃 pCnt 𝑦)) + ((𝑃 pCnt 𝑧) − (𝑃 pCnt 𝑤)))) |
64 | 43, 52, 63 | 3eqtrd 2782 |
. . . . . . . . . . . 12
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt ((𝑥 · 𝑧) / (𝑦 · 𝑤))) = (((𝑃 pCnt 𝑥) − (𝑃 pCnt 𝑦)) + ((𝑃 pCnt 𝑧) − (𝑃 pCnt 𝑤)))) |
65 | 15 | adantrr 713 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑦 ∈ ℂ) |
66 | 23 | adantrr 713 |
. . . . . . . . . . . . . 14
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → 𝑤 ∈ ℂ) |
67 | 34, 65, 35, 66, 47, 49 | divmuldivd 11722 |
. . . . . . . . . . . . 13
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → ((𝑥 / 𝑦) · (𝑧 / 𝑤)) = ((𝑥 · 𝑧) / (𝑦 · 𝑤))) |
68 | 67 | oveq2d 7271 |
. . . . . . . . . . . 12
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt ((𝑥 / 𝑦) · (𝑧 / 𝑤))) = (𝑃 pCnt ((𝑥 · 𝑧) / (𝑦 · 𝑤)))) |
69 | | pcdiv 16481 |
. . . . . . . . . . . . . 14
⊢ ((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑥 ≠ 0) ∧ 𝑦 ∈ ℕ) → (𝑃 pCnt (𝑥 / 𝑦)) = ((𝑃 pCnt 𝑥) − (𝑃 pCnt 𝑦))) |
70 | 30, 31, 36, 39, 69 | syl121anc 1373 |
. . . . . . . . . . . . 13
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt (𝑥 / 𝑦)) = ((𝑃 pCnt 𝑥) − (𝑃 pCnt 𝑦))) |
71 | | pcdiv 16481 |
. . . . . . . . . . . . . 14
⊢ ((𝑃 ∈ ℙ ∧ (𝑧 ∈ ℤ ∧ 𝑧 ≠ 0) ∧ 𝑤 ∈ ℕ) → (𝑃 pCnt (𝑧 / 𝑤)) = ((𝑃 pCnt 𝑧) − (𝑃 pCnt 𝑤))) |
72 | 30, 32, 37, 40, 71 | syl121anc 1373 |
. . . . . . . . . . . . 13
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt (𝑧 / 𝑤)) = ((𝑃 pCnt 𝑧) − (𝑃 pCnt 𝑤))) |
73 | 70, 72 | oveq12d 7273 |
. . . . . . . . . . . 12
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → ((𝑃 pCnt (𝑥 / 𝑦)) + (𝑃 pCnt (𝑧 / 𝑤))) = (((𝑃 pCnt 𝑥) − (𝑃 pCnt 𝑦)) + ((𝑃 pCnt 𝑧) − (𝑃 pCnt 𝑤)))) |
74 | 64, 68, 73 | 3eqtr4d 2788 |
. . . . . . . . . . 11
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ ((𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ) ∧ (𝑥 ≠ 0 ∧ 𝑧 ≠ 0))) → (𝑃 pCnt ((𝑥 / 𝑦) · (𝑧 / 𝑤))) = ((𝑃 pCnt (𝑥 / 𝑦)) + (𝑃 pCnt (𝑧 / 𝑤)))) |
75 | 74 | expr 456 |
. . . . . . . . . 10
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → ((𝑥 ≠ 0 ∧ 𝑧 ≠ 0) → (𝑃 pCnt ((𝑥 / 𝑦) · (𝑧 / 𝑤))) = ((𝑃 pCnt (𝑥 / 𝑦)) + (𝑃 pCnt (𝑧 / 𝑤))))) |
76 | 21, 29, 75 | syl2and 607 |
. . . . . . . . 9
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) →
(((𝑥 / 𝑦) ≠ 0 ∧ (𝑧 / 𝑤) ≠ 0) → (𝑃 pCnt ((𝑥 / 𝑦) · (𝑧 / 𝑤))) = ((𝑃 pCnt (𝑥 / 𝑦)) + (𝑃 pCnt (𝑧 / 𝑤))))) |
77 | | neeq1 3005 |
. . . . . . . . . . 11
⊢ (𝐴 = (𝑥 / 𝑦) → (𝐴 ≠ 0 ↔ (𝑥 / 𝑦) ≠ 0)) |
78 | | neeq1 3005 |
. . . . . . . . . . 11
⊢ (𝐵 = (𝑧 / 𝑤) → (𝐵 ≠ 0 ↔ (𝑧 / 𝑤) ≠ 0)) |
79 | 77, 78 | bi2anan9 635 |
. . . . . . . . . 10
⊢ ((𝐴 = (𝑥 / 𝑦) ∧ 𝐵 = (𝑧 / 𝑤)) → ((𝐴 ≠ 0 ∧ 𝐵 ≠ 0) ↔ ((𝑥 / 𝑦) ≠ 0 ∧ (𝑧 / 𝑤) ≠ 0))) |
80 | | oveq12 7264 |
. . . . . . . . . . . 12
⊢ ((𝐴 = (𝑥 / 𝑦) ∧ 𝐵 = (𝑧 / 𝑤)) → (𝐴 · 𝐵) = ((𝑥 / 𝑦) · (𝑧 / 𝑤))) |
81 | 80 | oveq2d 7271 |
. . . . . . . . . . 11
⊢ ((𝐴 = (𝑥 / 𝑦) ∧ 𝐵 = (𝑧 / 𝑤)) → (𝑃 pCnt (𝐴 · 𝐵)) = (𝑃 pCnt ((𝑥 / 𝑦) · (𝑧 / 𝑤)))) |
82 | | oveq2 7263 |
. . . . . . . . . . . 12
⊢ (𝐴 = (𝑥 / 𝑦) → (𝑃 pCnt 𝐴) = (𝑃 pCnt (𝑥 / 𝑦))) |
83 | | oveq2 7263 |
. . . . . . . . . . . 12
⊢ (𝐵 = (𝑧 / 𝑤) → (𝑃 pCnt 𝐵) = (𝑃 pCnt (𝑧 / 𝑤))) |
84 | 82, 83 | oveqan12d 7274 |
. . . . . . . . . . 11
⊢ ((𝐴 = (𝑥 / 𝑦) ∧ 𝐵 = (𝑧 / 𝑤)) → ((𝑃 pCnt 𝐴) + (𝑃 pCnt 𝐵)) = ((𝑃 pCnt (𝑥 / 𝑦)) + (𝑃 pCnt (𝑧 / 𝑤)))) |
85 | 81, 84 | eqeq12d 2754 |
. . . . . . . . . 10
⊢ ((𝐴 = (𝑥 / 𝑦) ∧ 𝐵 = (𝑧 / 𝑤)) → ((𝑃 pCnt (𝐴 · 𝐵)) = ((𝑃 pCnt 𝐴) + (𝑃 pCnt 𝐵)) ↔ (𝑃 pCnt ((𝑥 / 𝑦) · (𝑧 / 𝑤))) = ((𝑃 pCnt (𝑥 / 𝑦)) + (𝑃 pCnt (𝑧 / 𝑤))))) |
86 | 79, 85 | imbi12d 344 |
. . . . . . . . 9
⊢ ((𝐴 = (𝑥 / 𝑦) ∧ 𝐵 = (𝑧 / 𝑤)) → (((𝐴 ≠ 0 ∧ 𝐵 ≠ 0) → (𝑃 pCnt (𝐴 · 𝐵)) = ((𝑃 pCnt 𝐴) + (𝑃 pCnt 𝐵))) ↔ (((𝑥 / 𝑦) ≠ 0 ∧ (𝑧 / 𝑤) ≠ 0) → (𝑃 pCnt ((𝑥 / 𝑦) · (𝑧 / 𝑤))) = ((𝑃 pCnt (𝑥 / 𝑦)) + (𝑃 pCnt (𝑧 / 𝑤)))))) |
87 | 76, 86 | syl5ibrcom 246 |
. . . . . . . 8
⊢ (((𝑃 ∈ ℙ ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → ((𝐴 = (𝑥 / 𝑦) ∧ 𝐵 = (𝑧 / 𝑤)) → ((𝐴 ≠ 0 ∧ 𝐵 ≠ 0) → (𝑃 pCnt (𝐴 · 𝐵)) = ((𝑃 pCnt 𝐴) + (𝑃 pCnt 𝐵))))) |
88 | 13, 87 | sylanl1 676 |
. . . . . . 7
⊢ ((((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → ((𝐴 = (𝑥 / 𝑦) ∧ 𝐵 = (𝑧 / 𝑤)) → ((𝐴 ≠ 0 ∧ 𝐵 ≠ 0) → (𝑃 pCnt (𝐴 · 𝐵)) = ((𝑃 pCnt 𝐴) + (𝑃 pCnt 𝐵))))) |
89 | 12, 88 | mpid 44 |
. . . . . 6
⊢ ((((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) ∧ (𝑦 ∈ ℕ ∧ 𝑤 ∈ ℕ)) → ((𝐴 = (𝑥 / 𝑦) ∧ 𝐵 = (𝑧 / 𝑤)) → (𝑃 pCnt (𝐴 · 𝐵)) = ((𝑃 pCnt 𝐴) + (𝑃 pCnt 𝐵)))) |
90 | 89 | rexlimdvva 3222 |
. . . . 5
⊢ (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) →
(∃𝑦 ∈ ℕ
∃𝑤 ∈ ℕ
(𝐴 = (𝑥 / 𝑦) ∧ 𝐵 = (𝑧 / 𝑤)) → (𝑃 pCnt (𝐴 · 𝐵)) = ((𝑃 pCnt 𝐴) + (𝑃 pCnt 𝐵)))) |
91 | 8, 90 | syl5bir 242 |
. . . 4
⊢ (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) ∧ (𝑥 ∈ ℤ ∧ 𝑧 ∈ ℤ)) →
((∃𝑦 ∈ ℕ
𝐴 = (𝑥 / 𝑦) ∧ ∃𝑤 ∈ ℕ 𝐵 = (𝑧 / 𝑤)) → (𝑃 pCnt (𝐴 · 𝐵)) = ((𝑃 pCnt 𝐴) + (𝑃 pCnt 𝐵)))) |
92 | 91 | rexlimdvva 3222 |
. . 3
⊢ ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) → (∃𝑥 ∈ ℤ ∃𝑧 ∈ ℤ (∃𝑦 ∈ ℕ 𝐴 = (𝑥 / 𝑦) ∧ ∃𝑤 ∈ ℕ 𝐵 = (𝑧 / 𝑤)) → (𝑃 pCnt (𝐴 · 𝐵)) = ((𝑃 pCnt 𝐴) + (𝑃 pCnt 𝐵)))) |
93 | 7, 92 | syl5bir 242 |
. 2
⊢ ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) → ((∃𝑥 ∈ ℤ ∃𝑦 ∈ ℕ 𝐴 = (𝑥 / 𝑦) ∧ ∃𝑧 ∈ ℤ ∃𝑤 ∈ ℕ 𝐵 = (𝑧 / 𝑤)) → (𝑃 pCnt (𝐴 · 𝐵)) = ((𝑃 pCnt 𝐴) + (𝑃 pCnt 𝐵)))) |
94 | 3, 6, 93 | mp2and 695 |
1
⊢ ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ (𝐵 ∈ ℚ ∧ 𝐵 ≠ 0)) → (𝑃 pCnt (𝐴 · 𝐵)) = ((𝑃 pCnt 𝐴) + (𝑃 pCnt 𝐵))) |