Proof of Theorem expnegap0
Step | Hyp | Ref
| Expression |
1 | | elnn0 9116 |
. . 3
⊢ (𝑁 ∈ ℕ0
↔ (𝑁 ∈ ℕ
∨ 𝑁 =
0)) |
2 | | nnne0 8885 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ → 𝑁 ≠ 0) |
3 | 2 | adantl 275 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → 𝑁 ≠ 0) |
4 | | nncn 8865 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℕ → 𝑁 ∈
ℂ) |
5 | 4 | adantl 275 |
. . . . . . . . . . 11
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → 𝑁 ∈
ℂ) |
6 | 5 | negeq0d 8201 |
. . . . . . . . . 10
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → (𝑁 = 0 ↔ -𝑁 = 0)) |
7 | 6 | necon3abid 2375 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → (𝑁 ≠ 0 ↔ ¬ -𝑁 = 0)) |
8 | 3, 7 | mpbid 146 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → ¬
-𝑁 = 0) |
9 | 8 | iffalsed 3530 |
. . . . . . 7
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) →
if(-𝑁 = 0, 1, if(0 <
-𝑁, (seq1( · ,
(ℕ × {𝐴}))‘-𝑁), (1 / (seq1( · , (ℕ ×
{𝐴}))‘--𝑁)))) = if(0 < -𝑁, (seq1( · , (ℕ
× {𝐴}))‘-𝑁), (1 / (seq1( · ,
(ℕ × {𝐴}))‘--𝑁)))) |
10 | | nnnn0 9121 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ → 𝑁 ∈
ℕ0) |
11 | 10 | adantl 275 |
. . . . . . . . . 10
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → 𝑁 ∈
ℕ0) |
12 | | nn0nlt0 9140 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ ¬ 𝑁 <
0) |
13 | 11, 12 | syl 14 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → ¬
𝑁 < 0) |
14 | 11 | nn0red 9168 |
. . . . . . . . . 10
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → 𝑁 ∈
ℝ) |
15 | 14 | lt0neg1d 8413 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → (𝑁 < 0 ↔ 0 < -𝑁)) |
16 | 13, 15 | mtbid 662 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → ¬ 0
< -𝑁) |
17 | 16 | iffalsed 3530 |
. . . . . . 7
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → if(0
< -𝑁, (seq1( · ,
(ℕ × {𝐴}))‘-𝑁), (1 / (seq1( · , (ℕ ×
{𝐴}))‘--𝑁))) = (1 / (seq1( · ,
(ℕ × {𝐴}))‘--𝑁))) |
18 | 5 | negnegd 8200 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → --𝑁 = 𝑁) |
19 | 18 | fveq2d 5490 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → (seq1(
· , (ℕ × {𝐴}))‘--𝑁) = (seq1( · , (ℕ ×
{𝐴}))‘𝑁)) |
20 | 19 | oveq2d 5858 |
. . . . . . 7
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → (1 /
(seq1( · , (ℕ × {𝐴}))‘--𝑁)) = (1 / (seq1( · , (ℕ ×
{𝐴}))‘𝑁))) |
21 | 9, 17, 20 | 3eqtrd 2202 |
. . . . . 6
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) →
if(-𝑁 = 0, 1, if(0 <
-𝑁, (seq1( · ,
(ℕ × {𝐴}))‘-𝑁), (1 / (seq1( · , (ℕ ×
{𝐴}))‘--𝑁)))) = (1 / (seq1( · ,
(ℕ × {𝐴}))‘𝑁))) |
22 | 21 | adantlr 469 |
. . . . 5
⊢ (((𝐴 ∈ ℂ ∧ 𝐴 # 0) ∧ 𝑁 ∈ ℕ) → if(-𝑁 = 0, 1, if(0 < -𝑁, (seq1( · , (ℕ
× {𝐴}))‘-𝑁), (1 / (seq1( · ,
(ℕ × {𝐴}))‘--𝑁)))) = (1 / (seq1( · , (ℕ
× {𝐴}))‘𝑁))) |
23 | | simp1 987 |
. . . . . . 7
⊢ ((𝐴 ∈ ℂ ∧ 𝐴 # 0 ∧ 𝑁 ∈ ℕ) → 𝐴 ∈ ℂ) |
24 | | simp3 989 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℂ ∧ 𝐴 # 0 ∧ 𝑁 ∈ ℕ) → 𝑁 ∈ ℕ) |
25 | 24 | nnzd 9312 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℂ ∧ 𝐴 # 0 ∧ 𝑁 ∈ ℕ) → 𝑁 ∈ ℤ) |
26 | 25 | znegcld 9315 |
. . . . . . 7
⊢ ((𝐴 ∈ ℂ ∧ 𝐴 # 0 ∧ 𝑁 ∈ ℕ) → -𝑁 ∈ ℤ) |
27 | | simp2 988 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℂ ∧ 𝐴 # 0 ∧ 𝑁 ∈ ℕ) → 𝐴 # 0) |
28 | 27 | orcd 723 |
. . . . . . 7
⊢ ((𝐴 ∈ ℂ ∧ 𝐴 # 0 ∧ 𝑁 ∈ ℕ) → (𝐴 # 0 ∨ 0 ≤ -𝑁)) |
29 | | exp3val 10457 |
. . . . . . 7
⊢ ((𝐴 ∈ ℂ ∧ -𝑁 ∈ ℤ ∧ (𝐴 # 0 ∨ 0 ≤ -𝑁)) → (𝐴↑-𝑁) = if(-𝑁 = 0, 1, if(0 < -𝑁, (seq1( · , (ℕ × {𝐴}))‘-𝑁), (1 / (seq1( · , (ℕ ×
{𝐴}))‘--𝑁))))) |
30 | 23, 26, 28, 29 | syl3anc 1228 |
. . . . . 6
⊢ ((𝐴 ∈ ℂ ∧ 𝐴 # 0 ∧ 𝑁 ∈ ℕ) → (𝐴↑-𝑁) = if(-𝑁 = 0, 1, if(0 < -𝑁, (seq1( · , (ℕ × {𝐴}))‘-𝑁), (1 / (seq1( · , (ℕ ×
{𝐴}))‘--𝑁))))) |
31 | 30 | 3expa 1193 |
. . . . 5
⊢ (((𝐴 ∈ ℂ ∧ 𝐴 # 0) ∧ 𝑁 ∈ ℕ) → (𝐴↑-𝑁) = if(-𝑁 = 0, 1, if(0 < -𝑁, (seq1( · , (ℕ × {𝐴}))‘-𝑁), (1 / (seq1( · , (ℕ ×
{𝐴}))‘--𝑁))))) |
32 | | expnnval 10458 |
. . . . . . 7
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → (𝐴↑𝑁) = (seq1( · , (ℕ ×
{𝐴}))‘𝑁)) |
33 | 32 | oveq2d 5858 |
. . . . . 6
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 ∈ ℕ) → (1 /
(𝐴↑𝑁)) = (1 / (seq1( · , (ℕ ×
{𝐴}))‘𝑁))) |
34 | 33 | adantlr 469 |
. . . . 5
⊢ (((𝐴 ∈ ℂ ∧ 𝐴 # 0) ∧ 𝑁 ∈ ℕ) → (1 / (𝐴↑𝑁)) = (1 / (seq1( · , (ℕ ×
{𝐴}))‘𝑁))) |
35 | 22, 31, 34 | 3eqtr4d 2208 |
. . . 4
⊢ (((𝐴 ∈ ℂ ∧ 𝐴 # 0) ∧ 𝑁 ∈ ℕ) → (𝐴↑-𝑁) = (1 / (𝐴↑𝑁))) |
36 | | 1div1e1 8600 |
. . . . . . 7
⊢ (1 / 1) =
1 |
37 | 36 | eqcomi 2169 |
. . . . . 6
⊢ 1 = (1 /
1) |
38 | | negeq 8091 |
. . . . . . . . 9
⊢ (𝑁 = 0 → -𝑁 = -0) |
39 | | neg0 8144 |
. . . . . . . . 9
⊢ -0 =
0 |
40 | 38, 39 | eqtrdi 2215 |
. . . . . . . 8
⊢ (𝑁 = 0 → -𝑁 = 0) |
41 | 40 | oveq2d 5858 |
. . . . . . 7
⊢ (𝑁 = 0 → (𝐴↑-𝑁) = (𝐴↑0)) |
42 | | exp0 10459 |
. . . . . . 7
⊢ (𝐴 ∈ ℂ → (𝐴↑0) = 1) |
43 | 41, 42 | sylan9eqr 2221 |
. . . . . 6
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 = 0) → (𝐴↑-𝑁) = 1) |
44 | | oveq2 5850 |
. . . . . . . 8
⊢ (𝑁 = 0 → (𝐴↑𝑁) = (𝐴↑0)) |
45 | 44, 42 | sylan9eqr 2221 |
. . . . . . 7
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 = 0) → (𝐴↑𝑁) = 1) |
46 | 45 | oveq2d 5858 |
. . . . . 6
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 = 0) → (1 / (𝐴↑𝑁)) = (1 / 1)) |
47 | 37, 43, 46 | 3eqtr4a 2225 |
. . . . 5
⊢ ((𝐴 ∈ ℂ ∧ 𝑁 = 0) → (𝐴↑-𝑁) = (1 / (𝐴↑𝑁))) |
48 | 47 | adantlr 469 |
. . . 4
⊢ (((𝐴 ∈ ℂ ∧ 𝐴 # 0) ∧ 𝑁 = 0) → (𝐴↑-𝑁) = (1 / (𝐴↑𝑁))) |
49 | 35, 48 | jaodan 787 |
. . 3
⊢ (((𝐴 ∈ ℂ ∧ 𝐴 # 0) ∧ (𝑁 ∈ ℕ ∨ 𝑁 = 0)) → (𝐴↑-𝑁) = (1 / (𝐴↑𝑁))) |
50 | 1, 49 | sylan2b 285 |
. 2
⊢ (((𝐴 ∈ ℂ ∧ 𝐴 # 0) ∧ 𝑁 ∈ ℕ0) → (𝐴↑-𝑁) = (1 / (𝐴↑𝑁))) |
51 | 50 | 3impa 1184 |
1
⊢ ((𝐴 ∈ ℂ ∧ 𝐴 # 0 ∧ 𝑁 ∈ ℕ0) → (𝐴↑-𝑁) = (1 / (𝐴↑𝑁))) |