| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > affineequiv3 | Structured version Visualization version GIF version | ||
| Description: Equivalence between two ways of expressing 𝐴 as an affine combination of 𝐵 and 𝐶. (Contributed by AV, 22-Jan-2023.) |
| Ref | Expression |
|---|---|
| affineequiv.a | ⊢ (𝜑 → 𝐴 ∈ ℂ) |
| affineequiv.b | ⊢ (𝜑 → 𝐵 ∈ ℂ) |
| affineequiv.c | ⊢ (𝜑 → 𝐶 ∈ ℂ) |
| affineequiv.d | ⊢ (𝜑 → 𝐷 ∈ ℂ) |
| Ref | Expression |
|---|---|
| affineequiv3 | ⊢ (𝜑 → (𝐴 = (((1 − 𝐷) · 𝐵) + (𝐷 · 𝐶)) ↔ (𝐴 − 𝐵) = (𝐷 · (𝐶 − 𝐵)))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 1cnd 11175 | . . . . . 6 ⊢ (𝜑 → 1 ∈ ℂ) | |
| 2 | affineequiv.d | . . . . . 6 ⊢ (𝜑 → 𝐷 ∈ ℂ) | |
| 3 | 1, 2 | subcld 11542 | . . . . 5 ⊢ (𝜑 → (1 − 𝐷) ∈ ℂ) |
| 4 | affineequiv.b | . . . . 5 ⊢ (𝜑 → 𝐵 ∈ ℂ) | |
| 5 | 3, 4 | mulcld 11202 | . . . 4 ⊢ (𝜑 → ((1 − 𝐷) · 𝐵) ∈ ℂ) |
| 6 | affineequiv.c | . . . . 5 ⊢ (𝜑 → 𝐶 ∈ ℂ) | |
| 7 | 2, 6 | mulcld 11202 | . . . 4 ⊢ (𝜑 → (𝐷 · 𝐶) ∈ ℂ) |
| 8 | 5, 7 | addcomd 11385 | . . 3 ⊢ (𝜑 → (((1 − 𝐷) · 𝐵) + (𝐷 · 𝐶)) = ((𝐷 · 𝐶) + ((1 − 𝐷) · 𝐵))) |
| 9 | 8 | eqeq2d 2773 | . 2 ⊢ (𝜑 → (𝐴 = (((1 − 𝐷) · 𝐵) + (𝐷 · 𝐶)) ↔ 𝐴 = ((𝐷 · 𝐶) + ((1 − 𝐷) · 𝐵)))) |
| 10 | affineequiv.a | . . 3 ⊢ (𝜑 → 𝐴 ∈ ℂ) | |
| 11 | 6, 10, 4, 2 | affineequiv 26888 | . 2 ⊢ (𝜑 → (𝐴 = ((𝐷 · 𝐶) + ((1 − 𝐷) · 𝐵)) ↔ (𝐵 − 𝐴) = (𝐷 · (𝐵 − 𝐶)))) |
| 12 | 10, 4 | negsubdi2d 11558 | . . . . 5 ⊢ (𝜑 → -(𝐴 − 𝐵) = (𝐵 − 𝐴)) |
| 13 | 12 | eqcomd 2768 | . . . 4 ⊢ (𝜑 → (𝐵 − 𝐴) = -(𝐴 − 𝐵)) |
| 14 | 13 | eqeq1d 2764 | . . 3 ⊢ (𝜑 → ((𝐵 − 𝐴) = (𝐷 · (𝐵 − 𝐶)) ↔ -(𝐴 − 𝐵) = (𝐷 · (𝐵 − 𝐶)))) |
| 15 | 6, 4 | negsubdi2d 11558 | . . . . . . 7 ⊢ (𝜑 → -(𝐶 − 𝐵) = (𝐵 − 𝐶)) |
| 16 | 15 | eqcomd 2768 | . . . . . 6 ⊢ (𝜑 → (𝐵 − 𝐶) = -(𝐶 − 𝐵)) |
| 17 | 16 | oveq2d 7412 | . . . . 5 ⊢ (𝜑 → (𝐷 · (𝐵 − 𝐶)) = (𝐷 · -(𝐶 − 𝐵))) |
| 18 | 6, 4 | subcld 11542 | . . . . . 6 ⊢ (𝜑 → (𝐶 − 𝐵) ∈ ℂ) |
| 19 | 2, 18 | mulneg2d 11641 | . . . . 5 ⊢ (𝜑 → (𝐷 · -(𝐶 − 𝐵)) = -(𝐷 · (𝐶 − 𝐵))) |
| 20 | 17, 19 | eqtrd 2797 | . . . 4 ⊢ (𝜑 → (𝐷 · (𝐵 − 𝐶)) = -(𝐷 · (𝐶 − 𝐵))) |
| 21 | 20 | eqeq2d 2773 | . . 3 ⊢ (𝜑 → (-(𝐴 − 𝐵) = (𝐷 · (𝐵 − 𝐶)) ↔ -(𝐴 − 𝐵) = -(𝐷 · (𝐶 − 𝐵)))) |
| 22 | 10, 4 | subcld 11542 | . . . 4 ⊢ (𝜑 → (𝐴 − 𝐵) ∈ ℂ) |
| 23 | 2, 18 | mulcld 11202 | . . . 4 ⊢ (𝜑 → (𝐷 · (𝐶 − 𝐵)) ∈ ℂ) |
| 24 | 22, 23 | neg11ad 11538 | . . 3 ⊢ (𝜑 → (-(𝐴 − 𝐵) = -(𝐷 · (𝐶 − 𝐵)) ↔ (𝐴 − 𝐵) = (𝐷 · (𝐶 − 𝐵)))) |
| 25 | 14, 21, 24 | 3bitrd 307 | . 2 ⊢ (𝜑 → ((𝐵 − 𝐴) = (𝐷 · (𝐵 − 𝐶)) ↔ (𝐴 − 𝐵) = (𝐷 · (𝐶 − 𝐵)))) |
| 26 | 9, 11, 25 | 3bitrd 307 | 1 ⊢ (𝜑 → (𝐴 = (((1 − 𝐷) · 𝐵) + (𝐷 · 𝐶)) ↔ (𝐴 − 𝐵) = (𝐷 · (𝐶 − 𝐵)))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 208 = wceq 1560 ∈ wcel 2142 (class class class)co 7396 ℂcc 11071 1c1 11074 + caddc 11076 · cmul 11078 − cmin 11414 -cneg 11415 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1815 ax-4 1829 ax-5 1930 ax-6 1987 ax-7 2028 ax-8 2144 ax-9 2152 ax-10 2175 ax-11 2191 ax-12 2212 ax-ext 2734 ax-sep 5246 ax-nul 5256 ax-pow 5322 ax-pr 5390 ax-un 7718 ax-resscn 11130 ax-1cn 11131 ax-icn 11132 ax-addcl 11133 ax-addrcl 11134 ax-mulcl 11135 ax-mulrcl 11136 ax-mulcom 11137 ax-addass 11138 ax-mulass 11139 ax-distr 11140 ax-i2m1 11141 ax-1ne0 11142 ax-1rid 11143 ax-rnegex 11144 ax-rrecex 11145 ax-cnre 11146 ax-pre-lttri 11147 ax-pre-lttrn 11148 ax-pre-ltadd 11149 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3or 1099 df-3an 1100 df-tru 1563 df-fal 1573 df-ex 1800 df-nf 1804 df-sb 2091 df-mo 2566 df-eu 2596 df-clab 2741 df-cleq 2754 df-clel 2837 df-nfc 2911 df-ne 2958 df-nel 3062 df-ral 3077 df-rex 3087 df-reu 3368 df-rab 3415 df-v 3456 df-sbc 3745 df-csb 3853 df-dif 3907 df-un 3909 df-in 3911 df-ss 3921 df-nul 4286 df-if 4481 df-pw 4557 df-sn 4583 df-pr 4585 df-op 4589 df-uni 4866 df-br 5101 df-opab 5163 df-mpt 5182 df-id 5542 df-po 5555 df-so 5556 df-xp 5653 df-rel 5654 df-cnv 5655 df-co 5656 df-dm 5657 df-rn 5658 df-res 5659 df-ima 5660 df-iota 6477 df-fun 6523 df-fn 6524 df-f 6525 df-f1 6526 df-fo 6527 df-f1o 6528 df-fv 6529 df-riota 7353 df-ov 7399 df-oprab 7400 df-mpo 7401 df-er 8678 df-en 8928 df-dom 8929 df-sdom 8930 df-pnf 11218 df-mnf 11219 df-ltxr 11221 df-sub 11416 df-neg 11417 |
| This theorem is referenced by: affineequiv4 26891 affineequivne 26892 |
| Copyright terms: Public domain | W3C validator |