Step | Hyp | Ref
| Expression |
1 | | pcmpt.2 |
. . . . . . . . 9
⊢ (𝜑 → ∀𝑛 ∈ ℙ 𝐴 ∈
ℕ0) |
2 | | nfv 1917 |
. . . . . . . . . 10
⊢
Ⅎ𝑚 𝐴 ∈
ℕ0 |
3 | | nfcsb1v 3857 |
. . . . . . . . . . 11
⊢
Ⅎ𝑛⦋𝑚 / 𝑛⦌𝐴 |
4 | 3 | nfel1 2923 |
. . . . . . . . . 10
⊢
Ⅎ𝑛⦋𝑚 / 𝑛⦌𝐴 ∈ ℕ0 |
5 | | csbeq1a 3846 |
. . . . . . . . . . 11
⊢ (𝑛 = 𝑚 → 𝐴 = ⦋𝑚 / 𝑛⦌𝐴) |
6 | 5 | eleq1d 2823 |
. . . . . . . . . 10
⊢ (𝑛 = 𝑚 → (𝐴 ∈ ℕ0 ↔
⦋𝑚 / 𝑛⦌𝐴 ∈
ℕ0)) |
7 | 2, 4, 6 | cbvralw 3373 |
. . . . . . . . 9
⊢
(∀𝑛 ∈
ℙ 𝐴 ∈
ℕ0 ↔ ∀𝑚 ∈ ℙ ⦋𝑚 / 𝑛⦌𝐴 ∈
ℕ0) |
8 | 1, 7 | sylib 217 |
. . . . . . . 8
⊢ (𝜑 → ∀𝑚 ∈ ℙ ⦋𝑚 / 𝑛⦌𝐴 ∈
ℕ0) |
9 | | csbeq1 3835 |
. . . . . . . . . 10
⊢ (𝑚 = 𝑝 → ⦋𝑚 / 𝑛⦌𝐴 = ⦋𝑝 / 𝑛⦌𝐴) |
10 | 9 | eleq1d 2823 |
. . . . . . . . 9
⊢ (𝑚 = 𝑝 → (⦋𝑚 / 𝑛⦌𝐴 ∈ ℕ0 ↔
⦋𝑝 / 𝑛⦌𝐴 ∈
ℕ0)) |
11 | 10 | rspcv 3557 |
. . . . . . . 8
⊢ (𝑝 ∈ ℙ →
(∀𝑚 ∈ ℙ
⦋𝑚 / 𝑛⦌𝐴 ∈ ℕ0 →
⦋𝑝 / 𝑛⦌𝐴 ∈
ℕ0)) |
12 | 8, 11 | mpan9 507 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑝 ∈ ℙ) → ⦋𝑝 / 𝑛⦌𝐴 ∈
ℕ0) |
13 | 12 | nn0ge0d 12296 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑝 ∈ ℙ) → 0 ≤
⦋𝑝 / 𝑛⦌𝐴) |
14 | | 0le0 12074 |
. . . . . 6
⊢ 0 ≤
0 |
15 | | breq2 5078 |
. . . . . . 7
⊢
(⦋𝑝 /
𝑛⦌𝐴 = if((𝑝 ≤ 𝑀 ∧ ¬ 𝑝 ≤ 𝑁), ⦋𝑝 / 𝑛⦌𝐴, 0) → (0 ≤ ⦋𝑝 / 𝑛⦌𝐴 ↔ 0 ≤ if((𝑝 ≤ 𝑀 ∧ ¬ 𝑝 ≤ 𝑁), ⦋𝑝 / 𝑛⦌𝐴, 0))) |
16 | | breq2 5078 |
. . . . . . 7
⊢ (0 =
if((𝑝 ≤ 𝑀 ∧ ¬ 𝑝 ≤ 𝑁), ⦋𝑝 / 𝑛⦌𝐴, 0) → (0 ≤ 0 ↔ 0 ≤
if((𝑝 ≤ 𝑀 ∧ ¬ 𝑝 ≤ 𝑁), ⦋𝑝 / 𝑛⦌𝐴, 0))) |
17 | 15, 16 | ifboth 4498 |
. . . . . 6
⊢ ((0 ≤
⦋𝑝 / 𝑛⦌𝐴 ∧ 0 ≤ 0) → 0 ≤ if((𝑝 ≤ 𝑀 ∧ ¬ 𝑝 ≤ 𝑁), ⦋𝑝 / 𝑛⦌𝐴, 0)) |
18 | 13, 14, 17 | sylancl 586 |
. . . . 5
⊢ ((𝜑 ∧ 𝑝 ∈ ℙ) → 0 ≤ if((𝑝 ≤ 𝑀 ∧ ¬ 𝑝 ≤ 𝑁), ⦋𝑝 / 𝑛⦌𝐴, 0)) |
19 | | pcmpt.1 |
. . . . . . 7
⊢ 𝐹 = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, (𝑛↑𝐴), 1)) |
20 | | nfcv 2907 |
. . . . . . . 8
⊢
Ⅎ𝑚if(𝑛 ∈ ℙ, (𝑛↑𝐴), 1) |
21 | | nfv 1917 |
. . . . . . . . 9
⊢
Ⅎ𝑛 𝑚 ∈ ℙ |
22 | | nfcv 2907 |
. . . . . . . . . 10
⊢
Ⅎ𝑛𝑚 |
23 | | nfcv 2907 |
. . . . . . . . . 10
⊢
Ⅎ𝑛↑ |
24 | 22, 23, 3 | nfov 7305 |
. . . . . . . . 9
⊢
Ⅎ𝑛(𝑚↑⦋𝑚 / 𝑛⦌𝐴) |
25 | | nfcv 2907 |
. . . . . . . . 9
⊢
Ⅎ𝑛1 |
26 | 21, 24, 25 | nfif 4489 |
. . . . . . . 8
⊢
Ⅎ𝑛if(𝑚 ∈ ℙ, (𝑚↑⦋𝑚 / 𝑛⦌𝐴), 1) |
27 | | eleq1w 2821 |
. . . . . . . . 9
⊢ (𝑛 = 𝑚 → (𝑛 ∈ ℙ ↔ 𝑚 ∈ ℙ)) |
28 | | id 22 |
. . . . . . . . . 10
⊢ (𝑛 = 𝑚 → 𝑛 = 𝑚) |
29 | 28, 5 | oveq12d 7293 |
. . . . . . . . 9
⊢ (𝑛 = 𝑚 → (𝑛↑𝐴) = (𝑚↑⦋𝑚 / 𝑛⦌𝐴)) |
30 | 27, 29 | ifbieq1d 4483 |
. . . . . . . 8
⊢ (𝑛 = 𝑚 → if(𝑛 ∈ ℙ, (𝑛↑𝐴), 1) = if(𝑚 ∈ ℙ, (𝑚↑⦋𝑚 / 𝑛⦌𝐴), 1)) |
31 | 20, 26, 30 | cbvmpt 5185 |
. . . . . . 7
⊢ (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, (𝑛↑𝐴), 1)) = (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, (𝑚↑⦋𝑚 / 𝑛⦌𝐴), 1)) |
32 | 19, 31 | eqtri 2766 |
. . . . . 6
⊢ 𝐹 = (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, (𝑚↑⦋𝑚 / 𝑛⦌𝐴), 1)) |
33 | 8 | adantr 481 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑝 ∈ ℙ) → ∀𝑚 ∈ ℙ
⦋𝑚 / 𝑛⦌𝐴 ∈
ℕ0) |
34 | | pcmpt.3 |
. . . . . . 7
⊢ (𝜑 → 𝑁 ∈ ℕ) |
35 | 34 | adantr 481 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑝 ∈ ℙ) → 𝑁 ∈ ℕ) |
36 | | simpr 485 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑝 ∈ ℙ) → 𝑝 ∈ ℙ) |
37 | | pcmptdvds.3 |
. . . . . . 7
⊢ (𝜑 → 𝑀 ∈ (ℤ≥‘𝑁)) |
38 | 37 | adantr 481 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑝 ∈ ℙ) → 𝑀 ∈ (ℤ≥‘𝑁)) |
39 | 32, 33, 35, 36, 9, 38 | pcmpt2 16594 |
. . . . 5
⊢ ((𝜑 ∧ 𝑝 ∈ ℙ) → (𝑝 pCnt ((seq1( · , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁))) = if((𝑝 ≤ 𝑀 ∧ ¬ 𝑝 ≤ 𝑁), ⦋𝑝 / 𝑛⦌𝐴, 0)) |
40 | 18, 39 | breqtrrd 5102 |
. . . 4
⊢ ((𝜑 ∧ 𝑝 ∈ ℙ) → 0 ≤ (𝑝 pCnt ((seq1( · , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁)))) |
41 | 40 | ralrimiva 3103 |
. . 3
⊢ (𝜑 → ∀𝑝 ∈ ℙ 0 ≤ (𝑝 pCnt ((seq1( · , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁)))) |
42 | 19, 1 | pcmptcl 16592 |
. . . . . . . 8
⊢ (𝜑 → (𝐹:ℕ⟶ℕ ∧ seq1( ·
, 𝐹):ℕ⟶ℕ)) |
43 | 42 | simprd 496 |
. . . . . . 7
⊢ (𝜑 → seq1( · , 𝐹):ℕ⟶ℕ) |
44 | | eluznn 12658 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ ∧ 𝑀 ∈
(ℤ≥‘𝑁)) → 𝑀 ∈ ℕ) |
45 | 34, 37, 44 | syl2anc 584 |
. . . . . . 7
⊢ (𝜑 → 𝑀 ∈ ℕ) |
46 | 43, 45 | ffvelrnd 6962 |
. . . . . 6
⊢ (𝜑 → (seq1( · , 𝐹)‘𝑀) ∈ ℕ) |
47 | 46 | nnzd 12425 |
. . . . 5
⊢ (𝜑 → (seq1( · , 𝐹)‘𝑀) ∈ ℤ) |
48 | 43, 34 | ffvelrnd 6962 |
. . . . 5
⊢ (𝜑 → (seq1( · , 𝐹)‘𝑁) ∈ ℕ) |
49 | | znq 12692 |
. . . . 5
⊢ (((seq1(
· , 𝐹)‘𝑀) ∈ ℤ ∧ (seq1(
· , 𝐹)‘𝑁) ∈ ℕ) → ((seq1(
· , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁)) ∈ ℚ) |
50 | 47, 48, 49 | syl2anc 584 |
. . . 4
⊢ (𝜑 → ((seq1( · , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁)) ∈ ℚ) |
51 | | pcz 16582 |
. . . 4
⊢ (((seq1(
· , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁)) ∈ ℚ → (((seq1( · ,
𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁)) ∈ ℤ ↔ ∀𝑝 ∈ ℙ 0 ≤ (𝑝 pCnt ((seq1( · , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁))))) |
52 | 50, 51 | syl 17 |
. . 3
⊢ (𝜑 → (((seq1( · , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁)) ∈ ℤ ↔ ∀𝑝 ∈ ℙ 0 ≤ (𝑝 pCnt ((seq1( · , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁))))) |
53 | 41, 52 | mpbird 256 |
. 2
⊢ (𝜑 → ((seq1( · , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁)) ∈ ℤ) |
54 | 48 | nnzd 12425 |
. . 3
⊢ (𝜑 → (seq1( · , 𝐹)‘𝑁) ∈ ℤ) |
55 | 48 | nnne0d 12023 |
. . 3
⊢ (𝜑 → (seq1( · , 𝐹)‘𝑁) ≠ 0) |
56 | | dvdsval2 15966 |
. . 3
⊢ (((seq1(
· , 𝐹)‘𝑁) ∈ ℤ ∧ (seq1(
· , 𝐹)‘𝑁) ≠ 0 ∧ (seq1( · ,
𝐹)‘𝑀) ∈ ℤ) → ((seq1( · ,
𝐹)‘𝑁) ∥ (seq1( · , 𝐹)‘𝑀) ↔ ((seq1( · , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁)) ∈ ℤ)) |
57 | 54, 55, 47, 56 | syl3anc 1370 |
. 2
⊢ (𝜑 → ((seq1( · , 𝐹)‘𝑁) ∥ (seq1( · , 𝐹)‘𝑀) ↔ ((seq1( · , 𝐹)‘𝑀) / (seq1( · , 𝐹)‘𝑁)) ∈ ℤ)) |
58 | 53, 57 | mpbird 256 |
1
⊢ (𝜑 → (seq1( · , 𝐹)‘𝑁) ∥ (seq1( · , 𝐹)‘𝑀)) |