Proof of Theorem normpyth
Step | Hyp | Ref
| Expression |
1 | | oveq1 7220 |
. . . 4
⊢ (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0ℎ) → (𝐴
·ih 𝐵) = (if(𝐴 ∈ ℋ, 𝐴, 0ℎ)
·ih 𝐵)) |
2 | 1 | eqeq1d 2739 |
. . 3
⊢ (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0ℎ) → ((𝐴
·ih 𝐵) = 0 ↔ (if(𝐴 ∈ ℋ, 𝐴, 0ℎ)
·ih 𝐵) = 0)) |
3 | | fvoveq1 7236 |
. . . . 5
⊢ (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0ℎ) →
(normℎ‘(𝐴 +ℎ 𝐵)) =
(normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
𝐵))) |
4 | 3 | oveq1d 7228 |
. . . 4
⊢ (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0ℎ) →
((normℎ‘(𝐴 +ℎ 𝐵))↑2) =
((normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
𝐵))↑2)) |
5 | | fveq2 6717 |
. . . . . 6
⊢ (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0ℎ) →
(normℎ‘𝐴) = (normℎ‘if(𝐴 ∈ ℋ, 𝐴,
0ℎ))) |
6 | 5 | oveq1d 7228 |
. . . . 5
⊢ (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0ℎ) →
((normℎ‘𝐴)↑2) =
((normℎ‘if(𝐴 ∈ ℋ, 𝐴,
0ℎ))↑2)) |
7 | 6 | oveq1d 7228 |
. . . 4
⊢ (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0ℎ) →
(((normℎ‘𝐴)↑2) +
((normℎ‘𝐵)↑2)) =
(((normℎ‘if(𝐴 ∈ ℋ, 𝐴, 0ℎ))↑2) +
((normℎ‘𝐵)↑2))) |
8 | 4, 7 | eqeq12d 2753 |
. . 3
⊢ (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0ℎ) →
(((normℎ‘(𝐴 +ℎ 𝐵))↑2) =
(((normℎ‘𝐴)↑2) +
((normℎ‘𝐵)↑2)) ↔
((normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
𝐵))↑2) =
(((normℎ‘if(𝐴 ∈ ℋ, 𝐴, 0ℎ))↑2) +
((normℎ‘𝐵)↑2)))) |
9 | 2, 8 | imbi12d 348 |
. 2
⊢ (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0ℎ) → (((𝐴
·ih 𝐵) = 0 →
((normℎ‘(𝐴 +ℎ 𝐵))↑2) =
(((normℎ‘𝐴)↑2) +
((normℎ‘𝐵)↑2))) ↔ ((if(𝐴 ∈ ℋ, 𝐴, 0ℎ)
·ih 𝐵) = 0 →
((normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
𝐵))↑2) =
(((normℎ‘if(𝐴 ∈ ℋ, 𝐴, 0ℎ))↑2) +
((normℎ‘𝐵)↑2))))) |
10 | | oveq2 7221 |
. . . 4
⊢ (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0ℎ) → (if(𝐴 ∈ ℋ, 𝐴, 0ℎ)
·ih 𝐵) = (if(𝐴 ∈ ℋ, 𝐴, 0ℎ)
·ih if(𝐵 ∈ ℋ, 𝐵, 0ℎ))) |
11 | 10 | eqeq1d 2739 |
. . 3
⊢ (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0ℎ) → ((if(𝐴 ∈ ℋ, 𝐴, 0ℎ)
·ih 𝐵) = 0 ↔ (if(𝐴 ∈ ℋ, 𝐴, 0ℎ)
·ih if(𝐵 ∈ ℋ, 𝐵, 0ℎ)) =
0)) |
12 | | oveq2 7221 |
. . . . . 6
⊢ (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0ℎ) → (if(𝐴 ∈ ℋ, 𝐴, 0ℎ)
+ℎ 𝐵) =
(if(𝐴 ∈ ℋ, 𝐴, 0ℎ)
+ℎ if(𝐵
∈ ℋ, 𝐵,
0ℎ))) |
13 | 12 | fveq2d 6721 |
. . . . 5
⊢ (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0ℎ) →
(normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
𝐵)) =
(normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
if(𝐵 ∈ ℋ, 𝐵,
0ℎ)))) |
14 | 13 | oveq1d 7228 |
. . . 4
⊢ (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0ℎ) →
((normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
𝐵))↑2) =
((normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
if(𝐵 ∈ ℋ, 𝐵,
0ℎ)))↑2)) |
15 | | fveq2 6717 |
. . . . . 6
⊢ (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0ℎ) →
(normℎ‘𝐵) = (normℎ‘if(𝐵 ∈ ℋ, 𝐵,
0ℎ))) |
16 | 15 | oveq1d 7228 |
. . . . 5
⊢ (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0ℎ) →
((normℎ‘𝐵)↑2) =
((normℎ‘if(𝐵 ∈ ℋ, 𝐵,
0ℎ))↑2)) |
17 | 16 | oveq2d 7229 |
. . . 4
⊢ (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0ℎ) →
(((normℎ‘if(𝐴 ∈ ℋ, 𝐴, 0ℎ))↑2) +
((normℎ‘𝐵)↑2)) =
(((normℎ‘if(𝐴 ∈ ℋ, 𝐴, 0ℎ))↑2) +
((normℎ‘if(𝐵 ∈ ℋ, 𝐵,
0ℎ))↑2))) |
18 | 14, 17 | eqeq12d 2753 |
. . 3
⊢ (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0ℎ) →
(((normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
𝐵))↑2) =
(((normℎ‘if(𝐴 ∈ ℋ, 𝐴, 0ℎ))↑2) +
((normℎ‘𝐵)↑2)) ↔
((normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
if(𝐵 ∈ ℋ, 𝐵,
0ℎ)))↑2) = (((normℎ‘if(𝐴 ∈ ℋ, 𝐴, 0ℎ))↑2)
+ ((normℎ‘if(𝐵 ∈ ℋ, 𝐵,
0ℎ))↑2)))) |
19 | 11, 18 | imbi12d 348 |
. 2
⊢ (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0ℎ) → (((if(𝐴 ∈ ℋ, 𝐴, 0ℎ)
·ih 𝐵) = 0 →
((normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
𝐵))↑2) =
(((normℎ‘if(𝐴 ∈ ℋ, 𝐴, 0ℎ))↑2) +
((normℎ‘𝐵)↑2))) ↔ ((if(𝐴 ∈ ℋ, 𝐴, 0ℎ)
·ih if(𝐵 ∈ ℋ, 𝐵, 0ℎ)) = 0 →
((normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
if(𝐵 ∈ ℋ, 𝐵,
0ℎ)))↑2) = (((normℎ‘if(𝐴 ∈ ℋ, 𝐴, 0ℎ))↑2)
+ ((normℎ‘if(𝐵 ∈ ℋ, 𝐵,
0ℎ))↑2))))) |
20 | | ifhvhv0 29103 |
. . 3
⊢ if(𝐴 ∈ ℋ, 𝐴, 0ℎ) ∈
ℋ |
21 | | ifhvhv0 29103 |
. . 3
⊢ if(𝐵 ∈ ℋ, 𝐵, 0ℎ) ∈
ℋ |
22 | 20, 21 | normpythi 29223 |
. 2
⊢
((if(𝐴 ∈
ℋ, 𝐴,
0ℎ) ·ih if(𝐵 ∈ ℋ, 𝐵, 0ℎ)) = 0 →
((normℎ‘(if(𝐴 ∈ ℋ, 𝐴, 0ℎ) +ℎ
if(𝐵 ∈ ℋ, 𝐵,
0ℎ)))↑2) = (((normℎ‘if(𝐴 ∈ ℋ, 𝐴, 0ℎ))↑2)
+ ((normℎ‘if(𝐵 ∈ ℋ, 𝐵,
0ℎ))↑2))) |
23 | 9, 19, 22 | dedth2h 4498 |
1
⊢ ((𝐴 ∈ ℋ ∧ 𝐵 ∈ ℋ) → ((𝐴
·ih 𝐵) = 0 →
((normℎ‘(𝐴 +ℎ 𝐵))↑2) =
(((normℎ‘𝐴)↑2) +
((normℎ‘𝐵)↑2)))) |