Proof of Theorem add20
Step | Hyp | Ref
| Expression |
1 | | simpllr 524 |
. . . . . . . . 9
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → 0 ≤ 𝐴) |
2 | | simplrl 525 |
. . . . . . . . . 10
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → 𝐵 ∈ ℝ) |
3 | | simplll 523 |
. . . . . . . . . 10
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → 𝐴 ∈ ℝ) |
4 | | addge02 8371 |
. . . . . . . . . 10
⊢ ((𝐵 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (0 ≤
𝐴 ↔ 𝐵 ≤ (𝐴 + 𝐵))) |
5 | 2, 3, 4 | syl2anc 409 |
. . . . . . . . 9
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → (0 ≤ 𝐴 ↔ 𝐵 ≤ (𝐴 + 𝐵))) |
6 | 1, 5 | mpbid 146 |
. . . . . . . 8
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → 𝐵 ≤ (𝐴 + 𝐵)) |
7 | | simpr 109 |
. . . . . . . 8
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → (𝐴 + 𝐵) = 0) |
8 | 6, 7 | breqtrd 4008 |
. . . . . . 7
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → 𝐵 ≤ 0) |
9 | | simplrr 526 |
. . . . . . 7
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → 0 ≤ 𝐵) |
10 | | 0red 7900 |
. . . . . . . 8
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → 0 ∈
ℝ) |
11 | 2, 10 | letri3d 8014 |
. . . . . . 7
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → (𝐵 = 0 ↔ (𝐵 ≤ 0 ∧ 0 ≤ 𝐵))) |
12 | 8, 9, 11 | mpbir2and 934 |
. . . . . 6
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → 𝐵 = 0) |
13 | 12 | oveq2d 5858 |
. . . . 5
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → (𝐴 + 𝐵) = (𝐴 + 0)) |
14 | 3 | recnd 7927 |
. . . . . 6
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → 𝐴 ∈ ℂ) |
15 | 14 | addid1d 8047 |
. . . . 5
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → (𝐴 + 0) = 𝐴) |
16 | 13, 7, 15 | 3eqtr3rd 2207 |
. . . 4
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → 𝐴 = 0) |
17 | 16, 12 | jca 304 |
. . 3
⊢ ((((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) ∧ (𝐴 + 𝐵) = 0) → (𝐴 = 0 ∧ 𝐵 = 0)) |
18 | 17 | ex 114 |
. 2
⊢ (((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) → ((𝐴 + 𝐵) = 0 → (𝐴 = 0 ∧ 𝐵 = 0))) |
19 | | oveq12 5851 |
. . 3
⊢ ((𝐴 = 0 ∧ 𝐵 = 0) → (𝐴 + 𝐵) = (0 + 0)) |
20 | | 00id 8039 |
. . 3
⊢ (0 + 0) =
0 |
21 | 19, 20 | eqtrdi 2215 |
. 2
⊢ ((𝐴 = 0 ∧ 𝐵 = 0) → (𝐴 + 𝐵) = 0) |
22 | 18, 21 | impbid1 141 |
1
⊢ (((𝐴 ∈ ℝ ∧ 0 ≤
𝐴) ∧ (𝐵 ∈ ℝ ∧ 0 ≤ 𝐵)) → ((𝐴 + 𝐵) = 0 ↔ (𝐴 = 0 ∧ 𝐵 = 0))) |