Proof of Theorem addsubeq4
Step | Hyp | Ref
| Expression |
1 | | eqcom 2745 |
. . 3
⊢ ((𝐶 − 𝐴) = (𝐵 − 𝐷) ↔ (𝐵 − 𝐷) = (𝐶 − 𝐴)) |
2 | | subcl 11150 |
. . . . . 6
⊢ ((𝐶 ∈ ℂ ∧ 𝐴 ∈ ℂ) → (𝐶 − 𝐴) ∈ ℂ) |
3 | 2 | ancoms 458 |
. . . . 5
⊢ ((𝐴 ∈ ℂ ∧ 𝐶 ∈ ℂ) → (𝐶 − 𝐴) ∈ ℂ) |
4 | | subadd 11154 |
. . . . . . 7
⊢ ((𝐵 ∈ ℂ ∧ 𝐷 ∈ ℂ ∧ (𝐶 − 𝐴) ∈ ℂ) → ((𝐵 − 𝐷) = (𝐶 − 𝐴) ↔ (𝐷 + (𝐶 − 𝐴)) = 𝐵)) |
5 | 4 | 3expa 1116 |
. . . . . 6
⊢ (((𝐵 ∈ ℂ ∧ 𝐷 ∈ ℂ) ∧ (𝐶 − 𝐴) ∈ ℂ) → ((𝐵 − 𝐷) = (𝐶 − 𝐴) ↔ (𝐷 + (𝐶 − 𝐴)) = 𝐵)) |
6 | 5 | ancoms 458 |
. . . . 5
⊢ (((𝐶 − 𝐴) ∈ ℂ ∧ (𝐵 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐵 − 𝐷) = (𝐶 − 𝐴) ↔ (𝐷 + (𝐶 − 𝐴)) = 𝐵)) |
7 | 3, 6 | sylan 579 |
. . . 4
⊢ (((𝐴 ∈ ℂ ∧ 𝐶 ∈ ℂ) ∧ (𝐵 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐵 − 𝐷) = (𝐶 − 𝐴) ↔ (𝐷 + (𝐶 − 𝐴)) = 𝐵)) |
8 | 7 | an4s 656 |
. . 3
⊢ (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐵 − 𝐷) = (𝐶 − 𝐴) ↔ (𝐷 + (𝐶 − 𝐴)) = 𝐵)) |
9 | 1, 8 | syl5bb 282 |
. 2
⊢ (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐶 − 𝐴) = (𝐵 − 𝐷) ↔ (𝐷 + (𝐶 − 𝐴)) = 𝐵)) |
10 | | addcom 11091 |
. . . . . . 7
⊢ ((𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ) → (𝐶 + 𝐷) = (𝐷 + 𝐶)) |
11 | 10 | adantl 481 |
. . . . . 6
⊢ ((𝐴 ∈ ℂ ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → (𝐶 + 𝐷) = (𝐷 + 𝐶)) |
12 | 11 | oveq1d 7270 |
. . . . 5
⊢ ((𝐴 ∈ ℂ ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐶 + 𝐷) − 𝐴) = ((𝐷 + 𝐶) − 𝐴)) |
13 | | addsubass 11161 |
. . . . . . . 8
⊢ ((𝐷 ∈ ℂ ∧ 𝐶 ∈ ℂ ∧ 𝐴 ∈ ℂ) → ((𝐷 + 𝐶) − 𝐴) = (𝐷 + (𝐶 − 𝐴))) |
14 | 13 | 3com12 1121 |
. . . . . . 7
⊢ ((𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ ∧ 𝐴 ∈ ℂ) → ((𝐷 + 𝐶) − 𝐴) = (𝐷 + (𝐶 − 𝐴))) |
15 | 14 | 3expa 1116 |
. . . . . 6
⊢ (((𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ) ∧ 𝐴 ∈ ℂ) → ((𝐷 + 𝐶) − 𝐴) = (𝐷 + (𝐶 − 𝐴))) |
16 | 15 | ancoms 458 |
. . . . 5
⊢ ((𝐴 ∈ ℂ ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐷 + 𝐶) − 𝐴) = (𝐷 + (𝐶 − 𝐴))) |
17 | 12, 16 | eqtrd 2778 |
. . . 4
⊢ ((𝐴 ∈ ℂ ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐶 + 𝐷) − 𝐴) = (𝐷 + (𝐶 − 𝐴))) |
18 | 17 | adantlr 711 |
. . 3
⊢ (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐶 + 𝐷) − 𝐴) = (𝐷 + (𝐶 − 𝐴))) |
19 | 18 | eqeq1d 2740 |
. 2
⊢ (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) →
(((𝐶 + 𝐷) − 𝐴) = 𝐵 ↔ (𝐷 + (𝐶 − 𝐴)) = 𝐵)) |
20 | | addcl 10884 |
. . 3
⊢ ((𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ) → (𝐶 + 𝐷) ∈ ℂ) |
21 | | subadd 11154 |
. . . . 5
⊢ (((𝐶 + 𝐷) ∈ ℂ ∧ 𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (((𝐶 + 𝐷) − 𝐴) = 𝐵 ↔ (𝐴 + 𝐵) = (𝐶 + 𝐷))) |
22 | 21 | 3expb 1118 |
. . . 4
⊢ (((𝐶 + 𝐷) ∈ ℂ ∧ (𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ)) → (((𝐶 + 𝐷) − 𝐴) = 𝐵 ↔ (𝐴 + 𝐵) = (𝐶 + 𝐷))) |
23 | 22 | ancoms 458 |
. . 3
⊢ (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 + 𝐷) ∈ ℂ) → (((𝐶 + 𝐷) − 𝐴) = 𝐵 ↔ (𝐴 + 𝐵) = (𝐶 + 𝐷))) |
24 | 20, 23 | sylan2 592 |
. 2
⊢ (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) →
(((𝐶 + 𝐷) − 𝐴) = 𝐵 ↔ (𝐴 + 𝐵) = (𝐶 + 𝐷))) |
25 | 9, 19, 24 | 3bitr2rd 307 |
1
⊢ (((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) ∧ (𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ)) → ((𝐴 + 𝐵) = (𝐶 + 𝐷) ↔ (𝐶 − 𝐴) = (𝐵 − 𝐷))) |