Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  affinecomb2 Structured version   Visualization version   GIF version

Theorem affinecomb2 49815
Description: Combination of two real affine combinations, presented without fraction. (Contributed by AV, 22-Jan-2023.)
Hypotheses
Ref Expression
affinecomb1.a (𝜑 → 𝐴 ∈ ℝ)
affinecomb1.b (𝜑 → 𝐵 ∈ ℝ)
affinecomb1.c (𝜑 → 𝐶 ∈ ℝ)
affinecomb1.d (𝜑 → 𝐵 ≠ 𝐶)
affinecomb1.e (𝜑 → 𝐸 ∈ ℝ)
affinecomb1.f (𝜑 → 𝐹 ∈ ℝ)
affinecomb1.g (𝜑 → 𝐺 ∈ ℝ)
Assertion
Ref Expression
affinecomb2 (𝜑 → (∃𝑡 ∈ ℝ (𝐴 = (((1 − 𝑡) · 𝐵) + (𝑡 · 𝐶)) ∧ 𝐸 = (((1 − 𝑡) · 𝐹) + (𝑡 · 𝐺))) ↔ ((𝐶 − 𝐵) · 𝐸) = (((𝐺 − 𝐹) · 𝐴) + ((𝐹 · 𝐶) − (𝐵 · 𝐺)))))
Distinct variable groups:   𝑡,𝐴   𝑡,𝐵   𝑡,𝐶   𝑡,𝐸   𝑡,𝐹   𝜑,𝑡   𝑡,𝐺

Proof of Theorem affinecomb2
StepHypRef Expression
1 affinecomb1.a . . 3 (𝜑 → 𝐴 ∈ ℝ)
2 affinecomb1.b . . 3 (𝜑 → 𝐵 ∈ ℝ)
3 affinecomb1.c . . 3 (𝜑 → 𝐶 ∈ ℝ)
4 affinecomb1.d . . 3 (𝜑 → 𝐵 ≠ 𝐶)
5 affinecomb1.e . . 3 (𝜑 → 𝐸 ∈ ℝ)
6 affinecomb1.f . . 3 (𝜑 → 𝐹 ∈ ℝ)
7 affinecomb1.g . . 3 (𝜑 → 𝐺 ∈ ℝ)
8 eqid 2760 . . 3 ((𝐺 − 𝐹) / (𝐶 − 𝐵)) = ((𝐺 − 𝐹) / (𝐶 − 𝐵))
91, 2, 3, 4, 5, 6, 7, 8affinecomb1 49814 . 2 (𝜑 → (∃𝑡 ∈ ℝ (𝐴 = (((1 − 𝑡) · 𝐵) + (𝑡 · 𝐶)) ∧ 𝐸 = (((1 − 𝑡) · 𝐹) + (𝑡 · 𝐺))) ↔ 𝐸 = ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)))
105recnd 11337 . . 3 (𝜑 → 𝐸 ∈ ℂ)
117recnd 11337 . . . . . . 7 (𝜑 → 𝐺 ∈ ℂ)
126recnd 11337 . . . . . . 7 (𝜑 → 𝐹 ∈ ℂ)
1311, 12subcld 11669 . . . . . 6 (𝜑 → (𝐺 − 𝐹) ∈ ℂ)
143recnd 11337 . . . . . . 7 (𝜑 → 𝐶 ∈ ℂ)
152recnd 11337 . . . . . . 7 (𝜑 → 𝐵 ∈ ℂ)
1614, 15subcld 11669 . . . . . 6 (𝜑 → (𝐶 − 𝐵) ∈ ℂ)
174necomd 3010 . . . . . . 7 (𝜑 → 𝐶 ≠ 𝐵)
1814, 15, 17subne0d 11679 . . . . . 6 (𝜑 → (𝐶 − 𝐵) ≠ 0)
1913, 16, 18divcld 12093 . . . . 5 (𝜑 → ((𝐺 − 𝐹) / (𝐶 − 𝐵)) ∈ ℂ)
201recnd 11337 . . . . . 6 (𝜑 → 𝐴 ∈ ℂ)
2120, 15subcld 11669 . . . . 5 (𝜑 → (𝐴 − 𝐵) ∈ ℂ)
2219, 21mulcld 11329 . . . 4 (𝜑 → (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) ∈ ℂ)
2322, 12addcld 11328 . . 3 (𝜑 → ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹) ∈ ℂ)
2410, 23, 16, 18mulcand 11949 . 2 (𝜑 → (((𝐶 − 𝐵) · 𝐸) = ((𝐶 − 𝐵) · ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)) ↔ 𝐸 = ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)))
2516, 22, 12adddid 11333 . . . 4 (𝜑 → ((𝐶 − 𝐵) · ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)) = (((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) + ((𝐶 − 𝐵) · 𝐹)))
2613, 16, 18divcan2d 12095 . . . . . . . 8 (𝜑 → ((𝐶 − 𝐵) · ((𝐺 − 𝐹) / (𝐶 − 𝐵))) = (𝐺 − 𝐹))
2726oveq1d 7435 . . . . . . 7 (𝜑 → (((𝐶 − 𝐵) · ((𝐺 − 𝐹) / (𝐶 − 𝐵))) · (𝐴 − 𝐵)) = ((𝐺 − 𝐹) · (𝐴 − 𝐵)))
2816, 19, 21mulassd 11332 . . . . . . 7 (𝜑 → (((𝐶 − 𝐵) · ((𝐺 − 𝐹) / (𝐶 − 𝐵))) · (𝐴 − 𝐵)) = ((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))))
2913, 20, 15subdid 11772 . . . . . . 7 (𝜑 → ((𝐺 − 𝐹) · (𝐴 − 𝐵)) = (((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)))
3027, 28, 293eqtr3d 2803 . . . . . 6 (𝜑 → ((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) = (((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)))
3114, 15, 12subdird 11773 . . . . . 6 (𝜑 → ((𝐶 − 𝐵) · 𝐹) = ((𝐶 · 𝐹) − (𝐵 · 𝐹)))
3230, 31oveq12d 7438 . . . . 5 (𝜑 → (((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) + ((𝐶 − 𝐵) · 𝐹)) = ((((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)) + ((𝐶 · 𝐹) − (𝐵 · 𝐹))))
3313, 20mulcld 11329 . . . . . 6 (𝜑 → ((𝐺 − 𝐹) · 𝐴) ∈ ℂ)
3413, 15mulcld 11329 . . . . . 6 (𝜑 → ((𝐺 − 𝐹) · 𝐵) ∈ ℂ)
3514, 12mulcld 11329 . . . . . . 7 (𝜑 → (𝐶 · 𝐹) ∈ ℂ)
3615, 12mulcld 11329 . . . . . . 7 (𝜑 → (𝐵 · 𝐹) ∈ ℂ)
3735, 36subcld 11669 . . . . . 6 (𝜑 → ((𝐶 · 𝐹) − (𝐵 · 𝐹)) ∈ ℂ)
3833, 34, 37subadd23d 11691 . . . . 5 (𝜑 → ((((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)) + ((𝐶 · 𝐹) − (𝐵 · 𝐹))) = (((𝐺 − 𝐹) · 𝐴) + (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵))))
3932, 38eqtrd 2795 . . . 4 (𝜑 → (((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) + ((𝐶 − 𝐵) · 𝐹)) = (((𝐺 − 𝐹) · 𝐴) + (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵))))
4014, 12mulcomd 11330 . . . . . . . 8 (𝜑 → (𝐶 · 𝐹) = (𝐹 · 𝐶))
4115, 12mulcomd 11330 . . . . . . . 8 (𝜑 → (𝐵 · 𝐹) = (𝐹 · 𝐵))
4240, 41oveq12d 7438 . . . . . . 7 (𝜑 → ((𝐶 · 𝐹) − (𝐵 · 𝐹)) = ((𝐹 · 𝐶) − (𝐹 · 𝐵)))
4311, 12, 15subdird 11773 . . . . . . 7 (𝜑 → ((𝐺 − 𝐹) · 𝐵) = ((𝐺 · 𝐵) − (𝐹 · 𝐵)))
4442, 43oveq12d 7438 . . . . . 6 (𝜑 → (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵)) = (((𝐹 · 𝐶) − (𝐹 · 𝐵)) − ((𝐺 · 𝐵) − (𝐹 · 𝐵))))
4512, 14mulcld 11329 . . . . . . 7 (𝜑 → (𝐹 · 𝐶) ∈ ℂ)
4611, 15mulcld 11329 . . . . . . 7 (𝜑 → (𝐺 · 𝐵) ∈ ℂ)
4712, 15mulcld 11329 . . . . . . 7 (𝜑 → (𝐹 · 𝐵) ∈ ℂ)
4845, 46, 47nnncan2d 11704 . . . . . 6 (𝜑 → (((𝐹 · 𝐶) − (𝐹 · 𝐵)) − ((𝐺 · 𝐵) − (𝐹 · 𝐵))) = ((𝐹 · 𝐶) − (𝐺 · 𝐵)))
4911, 15mulcomd 11330 . . . . . . 7 (𝜑 → (𝐺 · 𝐵) = (𝐵 · 𝐺))
5049oveq2d 7436 . . . . . 6 (𝜑 → ((𝐹 · 𝐶) − (𝐺 · 𝐵)) = ((𝐹 · 𝐶) − (𝐵 · 𝐺)))
5144, 48, 503eqtrd 2799 . . . . 5 (𝜑 → (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵)) = ((𝐹 · 𝐶) − (𝐵 · 𝐺)))
5251oveq2d 7436 . . . 4 (𝜑 → (((𝐺 − 𝐹) · 𝐴) + (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵))) = (((𝐺 − 𝐹) · 𝐴) + ((𝐹 · 𝐶) − (𝐵 · 𝐺))))
5325, 39, 523eqtrd 2799 . . 3 (𝜑 → ((𝐶 − 𝐵) · ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)) = (((𝐺 − 𝐹) · 𝐴) + ((𝐹 · 𝐶) − (𝐵 · 𝐺))))
5453eqeq2d 2771 . 2 (𝜑 → (((𝐶 − 𝐵) · 𝐸) = ((𝐶 − 𝐵) · ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)) ↔ ((𝐶 − 𝐵) · 𝐸) = (((𝐺 − 𝐹) · 𝐴) + ((𝐹 · 𝐶) − (𝐵 · 𝐺)))))
559, 24, 543bitr2d 310 1 (𝜑 → (∃𝑡 ∈ ℝ (𝐴 = (((1 − 𝑡) · 𝐵) + (𝑡 · 𝐶)) ∧ 𝐸 = (((1 − 𝑡) · 𝐹) + (𝑡 · 𝐺))) ↔ ((𝐶 − 𝐵) · 𝐸) = (((𝐺 − 𝐹) · 𝐴) + ((𝐹 · 𝐶) − (𝐵 · 𝐺)))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∃wrex 3086  (class class class)co 7420  ℝcr 11199  1c1 11201   + caddc 11203   · cmul 11205   − cmin 11541   / cdiv 11973
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-po 5558  df-so 5559  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-er 8717  df-en 8974  df-dom 8975  df-sdom 8976  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-div 11974
This theorem is used by:  rrx2linest  49854
  Copyright terms: Public domain W3C validator