Step | Hyp | Ref
| Expression |
1 | | iftrue 4462 |
. . . . . . . . 9
⊢ (𝐴 < 0 → if(𝐴 < 0, -1, 1) =
-1) |
2 | 1 | adantl 481 |
. . . . . . . 8
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → if(𝐴 < 0, -1, 1) = -1) |
3 | 2 | oveq1d 7270 |
. . . . . . 7
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → (if(𝐴 < 0, -1, 1) · if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) = (-1 · if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1))) |
4 | | oveq2 7263 |
. . . . . . . . . 10
⊢ (if(𝑁 < 0, -1, 1) = -1 → (-1
· if(𝑁 < 0, -1,
1)) = (-1 · -1)) |
5 | | neg1mulneg1e1 12116 |
. . . . . . . . . 10
⊢ (-1
· -1) = 1 |
6 | 4, 5 | eqtrdi 2795 |
. . . . . . . . 9
⊢ (if(𝑁 < 0, -1, 1) = -1 → (-1
· if(𝑁 < 0, -1,
1)) = 1) |
7 | | oveq2 7263 |
. . . . . . . . . 10
⊢ (if(𝑁 < 0, -1, 1) = 1 → (-1
· if(𝑁 < 0, -1,
1)) = (-1 · 1)) |
8 | | ax-1cn 10860 |
. . . . . . . . . . 11
⊢ 1 ∈
ℂ |
9 | 8 | mulm1i 11350 |
. . . . . . . . . 10
⊢ (-1
· 1) = -1 |
10 | 7, 9 | eqtrdi 2795 |
. . . . . . . . 9
⊢ (if(𝑁 < 0, -1, 1) = 1 → (-1
· if(𝑁 < 0, -1,
1)) = -1) |
11 | 6, 10 | ifsb 4469 |
. . . . . . . 8
⊢ (-1
· if(𝑁 < 0, -1,
1)) = if(𝑁 < 0, 1,
-1) |
12 | | simpr 484 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → 𝐴 < 0) |
13 | 12 | biantrud 531 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → (𝑁 < 0 ↔ (𝑁 < 0 ∧ 𝐴 < 0))) |
14 | 13 | ifbid 4479 |
. . . . . . . . 9
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → if(𝑁 < 0, -1, 1) = if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) |
15 | 14 | oveq2d 7271 |
. . . . . . . 8
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → (-1 · if(𝑁 < 0, -1, 1)) = (-1 ·
if((𝑁 < 0 ∧ 𝐴 < 0), -1,
1))) |
16 | | simpl3 1191 |
. . . . . . . . . . . . 13
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → 𝑁 ≠ 0) |
17 | 16 | necomd 2998 |
. . . . . . . . . . . 12
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → 0 ≠ 𝑁) |
18 | | simpl2 1190 |
. . . . . . . . . . . . . 14
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → 𝑁 ∈ ℤ) |
19 | 18 | zred 12355 |
. . . . . . . . . . . . 13
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → 𝑁 ∈ ℝ) |
20 | | 0re 10908 |
. . . . . . . . . . . . 13
⊢ 0 ∈
ℝ |
21 | | ltlen 11006 |
. . . . . . . . . . . . 13
⊢ ((𝑁 ∈ ℝ ∧ 0 ∈
ℝ) → (𝑁 < 0
↔ (𝑁 ≤ 0 ∧ 0
≠ 𝑁))) |
22 | 19, 20, 21 | sylancl 585 |
. . . . . . . . . . . 12
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → (𝑁 < 0 ↔ (𝑁 ≤ 0 ∧ 0 ≠ 𝑁))) |
23 | 17, 22 | mpbiran2d 704 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → (𝑁 < 0 ↔ 𝑁 ≤ 0)) |
24 | 19 | le0neg1d 11476 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → (𝑁 ≤ 0 ↔ 0 ≤ -𝑁)) |
25 | 19 | renegcld 11332 |
. . . . . . . . . . . 12
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → -𝑁 ∈ ℝ) |
26 | | lenlt 10984 |
. . . . . . . . . . . 12
⊢ ((0
∈ ℝ ∧ -𝑁
∈ ℝ) → (0 ≤ -𝑁 ↔ ¬ -𝑁 < 0)) |
27 | 20, 25, 26 | sylancr 586 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → (0 ≤ -𝑁 ↔ ¬ -𝑁 < 0)) |
28 | 23, 24, 27 | 3bitrd 304 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → (𝑁 < 0 ↔ ¬ -𝑁 < 0)) |
29 | 28 | ifbid 4479 |
. . . . . . . . 9
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → if(𝑁 < 0, 1, -1) = if(¬ -𝑁 < 0, 1,
-1)) |
30 | | ifnot 4508 |
. . . . . . . . 9
⊢ if(¬
-𝑁 < 0, 1, -1) =
if(-𝑁 < 0, -1,
1) |
31 | 29, 30 | eqtrdi 2795 |
. . . . . . . 8
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → if(𝑁 < 0, 1, -1) = if(-𝑁 < 0, -1, 1)) |
32 | 11, 15, 31 | 3eqtr3a 2803 |
. . . . . . 7
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → (-1 · if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) = if(-𝑁 < 0, -1, 1)) |
33 | 12 | biantrud 531 |
. . . . . . . 8
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → (-𝑁 < 0 ↔ (-𝑁 < 0 ∧ 𝐴 < 0))) |
34 | 33 | ifbid 4479 |
. . . . . . 7
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → if(-𝑁 < 0, -1, 1) = if((-𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) |
35 | 3, 32, 34 | 3eqtrd 2782 |
. . . . . 6
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝐴 < 0) → (if(𝐴 < 0, -1, 1) · if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) = if((-𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) |
36 | | 1t1e1 12065 |
. . . . . . 7
⊢ (1
· 1) = 1 |
37 | | iffalse 4465 |
. . . . . . . . 9
⊢ (¬
𝐴 < 0 → if(𝐴 < 0, -1, 1) =
1) |
38 | 37 | adantl 481 |
. . . . . . . 8
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ ¬ 𝐴 < 0) → if(𝐴 < 0, -1, 1) =
1) |
39 | | simpr 484 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ ¬ 𝐴 < 0) → ¬ 𝐴 < 0) |
40 | 39 | intnand 488 |
. . . . . . . . 9
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ ¬ 𝐴 < 0) → ¬ (𝑁 < 0 ∧ 𝐴 < 0)) |
41 | 40 | iffalsed 4467 |
. . . . . . . 8
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ ¬ 𝐴 < 0) → if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1) = 1) |
42 | 38, 41 | oveq12d 7273 |
. . . . . . 7
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ ¬ 𝐴 < 0) → (if(𝐴 < 0, -1, 1) ·
if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) = (1 ·
1)) |
43 | 39 | intnand 488 |
. . . . . . . 8
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ ¬ 𝐴 < 0) → ¬ (-𝑁 < 0 ∧ 𝐴 < 0)) |
44 | 43 | iffalsed 4467 |
. . . . . . 7
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ ¬ 𝐴 < 0) → if((-𝑁 < 0 ∧ 𝐴 < 0), -1, 1) = 1) |
45 | 36, 42, 44 | 3eqtr4a 2805 |
. . . . . 6
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ ¬ 𝐴 < 0) → (if(𝐴 < 0, -1, 1) ·
if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) = if((-𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) |
46 | 35, 45 | pm2.61dan 809 |
. . . . 5
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (if(𝐴 < 0, -1, 1) ·
if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) = if((-𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) |
47 | 46 | eqcomd 2744 |
. . . 4
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → if((-𝑁 < 0 ∧ 𝐴 < 0), -1, 1) = (if(𝐴 < 0, -1, 1) · if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1))) |
48 | | simpr 484 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝑛 ∈ ℙ) → 𝑛 ∈
ℙ) |
49 | | simpl2 1190 |
. . . . . . . . . . 11
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝑛 ∈ ℙ) → 𝑁 ∈
ℤ) |
50 | | zq 12623 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℤ → 𝑁 ∈
ℚ) |
51 | 49, 50 | syl 17 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝑛 ∈ ℙ) → 𝑁 ∈
ℚ) |
52 | | pcneg 16503 |
. . . . . . . . . 10
⊢ ((𝑛 ∈ ℙ ∧ 𝑁 ∈ ℚ) → (𝑛 pCnt -𝑁) = (𝑛 pCnt 𝑁)) |
53 | 48, 51, 52 | syl2anc 583 |
. . . . . . . . 9
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝑛 ∈ ℙ) → (𝑛 pCnt -𝑁) = (𝑛 pCnt 𝑁)) |
54 | 53 | oveq2d 7271 |
. . . . . . . 8
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝑛 ∈ ℙ) → ((𝐴 /L 𝑛)↑(𝑛 pCnt -𝑁)) = ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁))) |
55 | 54 | ifeq1da 4487 |
. . . . . . 7
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt -𝑁)), 1) = if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1)) |
56 | 55 | mpteq2dv 5172 |
. . . . . 6
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt -𝑁)), 1)) = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1))) |
57 | 56 | seqeq3d 13657 |
. . . . 5
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → seq1( · ,
(𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt -𝑁)), 1))) = seq1( · , (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1)))) |
58 | | zcn 12254 |
. . . . . . 7
⊢ (𝑁 ∈ ℤ → 𝑁 ∈
ℂ) |
59 | 58 | 3ad2ant2 1132 |
. . . . . 6
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → 𝑁 ∈
ℂ) |
60 | 59 | absnegd 15089 |
. . . . 5
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) →
(abs‘-𝑁) =
(abs‘𝑁)) |
61 | 57, 60 | fveq12d 6763 |
. . . 4
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (seq1( ·
, (𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt -𝑁)), 1)))‘(abs‘-𝑁)) = (seq1( · , (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1)))‘(abs‘𝑁))) |
62 | 47, 61 | oveq12d 7273 |
. . 3
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (if((-𝑁 < 0 ∧ 𝐴 < 0), -1, 1) · (seq1( · ,
(𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt -𝑁)), 1)))‘(abs‘-𝑁))) = ((if(𝐴 < 0, -1, 1) · if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) · (seq1( · ,
(𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt 𝑁)), 1)))‘(abs‘𝑁)))) |
63 | | neg1cn 12017 |
. . . . . 6
⊢ -1 ∈
ℂ |
64 | 63, 8 | ifcli 4503 |
. . . . 5
⊢ if(𝐴 < 0, -1, 1) ∈
ℂ |
65 | 64 | a1i 11 |
. . . 4
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → if(𝐴 < 0, -1, 1) ∈
ℂ) |
66 | 63, 8 | ifcli 4503 |
. . . . 5
⊢ if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1) ∈
ℂ |
67 | 66 | a1i 11 |
. . . 4
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1) ∈
ℂ) |
68 | | nnabscl 14965 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (abs‘𝑁) ∈
ℕ) |
69 | 68 | 3adant1 1128 |
. . . . . . 7
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (abs‘𝑁) ∈
ℕ) |
70 | | nnuz 12550 |
. . . . . . 7
⊢ ℕ =
(ℤ≥‘1) |
71 | 69, 70 | eleqtrdi 2849 |
. . . . . 6
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (abs‘𝑁) ∈
(ℤ≥‘1)) |
72 | | eqid 2738 |
. . . . . . . 8
⊢ (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1)) = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1)) |
73 | 72 | lgsfcl3 26371 |
. . . . . . 7
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)),
1)):ℕ⟶ℤ) |
74 | | elfznn 13214 |
. . . . . . 7
⊢ (𝑥 ∈ (1...(abs‘𝑁)) → 𝑥 ∈ ℕ) |
75 | | ffvelrn 6941 |
. . . . . . 7
⊢ (((𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1)):ℕ⟶ℤ ∧ 𝑥 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1))‘𝑥) ∈ ℤ) |
76 | 73, 74, 75 | syl2an 595 |
. . . . . 6
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ 𝑥 ∈ (1...(abs‘𝑁))) → ((𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt 𝑁)), 1))‘𝑥) ∈ ℤ) |
77 | | zmulcl 12299 |
. . . . . . 7
⊢ ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) → (𝑥 · 𝑦) ∈ ℤ) |
78 | 77 | adantl 481 |
. . . . . 6
⊢ (((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑥 · 𝑦) ∈ ℤ) |
79 | 71, 76, 78 | seqcl 13671 |
. . . . 5
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (seq1( ·
, (𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt 𝑁)), 1)))‘(abs‘𝑁)) ∈ ℤ) |
80 | 79 | zcnd 12356 |
. . . 4
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (seq1( ·
, (𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt 𝑁)), 1)))‘(abs‘𝑁)) ∈ ℂ) |
81 | 65, 67, 80 | mulassd 10929 |
. . 3
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → ((if(𝐴 < 0, -1, 1) ·
if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1)) ·
(seq1( · , (𝑛 ∈
ℕ ↦ if(𝑛 ∈
ℙ, ((𝐴
/L 𝑛)↑(𝑛 pCnt 𝑁)), 1)))‘(abs‘𝑁))) = (if(𝐴 < 0, -1, 1) · (if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1) · (seq1( · ,
(𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt 𝑁)), 1)))‘(abs‘𝑁))))) |
82 | 62, 81 | eqtrd 2778 |
. 2
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (if((-𝑁 < 0 ∧ 𝐴 < 0), -1, 1) · (seq1( · ,
(𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt -𝑁)), 1)))‘(abs‘-𝑁))) = (if(𝐴 < 0, -1, 1) · (if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1) · (seq1( · ,
(𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt 𝑁)), 1)))‘(abs‘𝑁))))) |
83 | | simp1 1134 |
. . 3
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → 𝐴 ∈
ℤ) |
84 | | znegcl 12285 |
. . . 4
⊢ (𝑁 ∈ ℤ → -𝑁 ∈
ℤ) |
85 | 84 | 3ad2ant2 1132 |
. . 3
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → -𝑁 ∈
ℤ) |
86 | | simp3 1136 |
. . . 4
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → 𝑁 ≠ 0) |
87 | 59, 86 | negne0d 11260 |
. . 3
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → -𝑁 ≠ 0) |
88 | | eqid 2738 |
. . . 4
⊢ (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt -𝑁)), 1)) = (𝑛 ∈ ℕ ↦ if(𝑛 ∈ ℙ, ((𝐴 /L 𝑛)↑(𝑛 pCnt -𝑁)), 1)) |
89 | 88 | lgsval4 26370 |
. . 3
⊢ ((𝐴 ∈ ℤ ∧ -𝑁 ∈ ℤ ∧ -𝑁 ≠ 0) → (𝐴 /L -𝑁) = (if((-𝑁 < 0 ∧ 𝐴 < 0), -1, 1) · (seq1( · ,
(𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt -𝑁)), 1)))‘(abs‘-𝑁)))) |
90 | 83, 85, 87, 89 | syl3anc 1369 |
. 2
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (𝐴 /L -𝑁) = (if((-𝑁 < 0 ∧ 𝐴 < 0), -1, 1) · (seq1( · ,
(𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt -𝑁)), 1)))‘(abs‘-𝑁)))) |
91 | 72 | lgsval4 26370 |
. . 3
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (𝐴 /L 𝑁) = (if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1) · (seq1( · ,
(𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt 𝑁)), 1)))‘(abs‘𝑁)))) |
92 | 91 | oveq2d 7271 |
. 2
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (if(𝐴 < 0, -1, 1) · (𝐴 /L 𝑁)) = (if(𝐴 < 0, -1, 1) · (if((𝑁 < 0 ∧ 𝐴 < 0), -1, 1) · (seq1( · ,
(𝑛 ∈ ℕ ↦
if(𝑛 ∈ ℙ,
((𝐴 /L
𝑛)↑(𝑛 pCnt 𝑁)), 1)))‘(abs‘𝑁))))) |
93 | 82, 90, 92 | 3eqtr4d 2788 |
1
⊢ ((𝐴 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑁 ≠ 0) → (𝐴 /L -𝑁) = (if(𝐴 < 0, -1, 1) · (𝐴 /L 𝑁))) |