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 50018
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 2763 . . 3 ((𝐺 − 𝐹) / (𝐶 − 𝐵)) = ((𝐺 − 𝐹) / (𝐶 − 𝐵))
91, 2, 3, 4, 5, 6, 7, 8affinecomb1 50017 . 2 (𝜑 → (∃𝑡 ∈ ℝ (𝐴 = (((1 − 𝑡) · 𝐵) + (𝑡 · 𝐶)) ∧ 𝐸 = (((1 − 𝑡) · 𝐹) + (𝑡 · 𝐺))) ↔ 𝐸 = ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)))
105recnd 11361 . . 3 (𝜑 → 𝐸 ∈ ℂ)
117recnd 11361 . . . . . . 7 (𝜑 → 𝐺 ∈ ℂ)
126recnd 11361 . . . . . . 7 (𝜑 → 𝐹 ∈ ℂ)
1311, 12subcld 11693 . . . . . 6 (𝜑 → (𝐺 − 𝐹) ∈ ℂ)
143recnd 11361 . . . . . . 7 (𝜑 → 𝐶 ∈ ℂ)
152recnd 11361 . . . . . . 7 (𝜑 → 𝐵 ∈ ℂ)
1614, 15subcld 11693 . . . . . 6 (𝜑 → (𝐶 − 𝐵) ∈ ℂ)
174necomd 3014 . . . . . . 7 (𝜑 → 𝐶 ≠ 𝐵)
1814, 15, 17subne0d 11703 . . . . . 6 (𝜑 → (𝐶 − 𝐵) ≠ 0)
1913, 16, 18divcld 12117 . . . . 5 (𝜑 → ((𝐺 − 𝐹) / (𝐶 − 𝐵)) ∈ ℂ)
201recnd 11361 . . . . . 6 (𝜑 → 𝐴 ∈ ℂ)
2120, 15subcld 11693 . . . . 5 (𝜑 → (𝐴 − 𝐵) ∈ ℂ)
2219, 21mulcld 11353 . . . 4 (𝜑 → (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) ∈ ℂ)
2322, 12addcld 11352 . . 3 (𝜑 → ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹) ∈ ℂ)
2410, 23, 16, 18mulcand 11973 . 2 (𝜑 → (((𝐶 − 𝐵) · 𝐸) = ((𝐶 − 𝐵) · ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)) ↔ 𝐸 = ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)))
2516, 22, 12adddid 11357 . . . 4 (𝜑 → ((𝐶 − 𝐵) · ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)) = (((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) + ((𝐶 − 𝐵) · 𝐹)))
2613, 16, 18divcan2d 12119 . . . . . . . 8 (𝜑 → ((𝐶 − 𝐵) · ((𝐺 − 𝐹) / (𝐶 − 𝐵))) = (𝐺 − 𝐹))
2726oveq1d 7455 . . . . . . 7 (𝜑 → (((𝐶 − 𝐵) · ((𝐺 − 𝐹) / (𝐶 − 𝐵))) · (𝐴 − 𝐵)) = ((𝐺 − 𝐹) · (𝐴 − 𝐵)))
2816, 19, 21mulassd 11356 . . . . . . 7 (𝜑 → (((𝐶 − 𝐵) · ((𝐺 − 𝐹) / (𝐶 − 𝐵))) · (𝐴 − 𝐵)) = ((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))))
2913, 20, 15subdid 11796 . . . . . . 7 (𝜑 → ((𝐺 − 𝐹) · (𝐴 − 𝐵)) = (((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)))
3027, 28, 293eqtr3d 2806 . . . . . 6 (𝜑 → ((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) = (((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)))
3114, 15, 12subdird 11797 . . . . . 6 (𝜑 → ((𝐶 − 𝐵) · 𝐹) = ((𝐶 · 𝐹) − (𝐵 · 𝐹)))
3230, 31oveq12d 7458 . . . . 5 (𝜑 → (((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) + ((𝐶 − 𝐵) · 𝐹)) = ((((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)) + ((𝐶 · 𝐹) − (𝐵 · 𝐹))))
3313, 20mulcld 11353 . . . . . 6 (𝜑 → ((𝐺 − 𝐹) · 𝐴) ∈ ℂ)
3413, 15mulcld 11353 . . . . . 6 (𝜑 → ((𝐺 − 𝐹) · 𝐵) ∈ ℂ)
3514, 12mulcld 11353 . . . . . . 7 (𝜑 → (𝐶 · 𝐹) ∈ ℂ)
3615, 12mulcld 11353 . . . . . . 7 (𝜑 → (𝐵 · 𝐹) ∈ ℂ)
3735, 36subcld 11693 . . . . . 6 (𝜑 → ((𝐶 · 𝐹) − (𝐵 · 𝐹)) ∈ ℂ)
3833, 34, 37subadd23d 11715 . . . . 5 (𝜑 → ((((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)) + ((𝐶 · 𝐹) − (𝐵 · 𝐹))) = (((𝐺 − 𝐹) · 𝐴) + (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵))))
3932, 38eqtrd 2798 . . . 4 (𝜑 → (((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) + ((𝐶 − 𝐵) · 𝐹)) = (((𝐺 − 𝐹) · 𝐴) + (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵))))
4014, 12mulcomd 11354 . . . . . . . 8 (𝜑 → (𝐶 · 𝐹) = (𝐹 · 𝐶))
4115, 12mulcomd 11354 . . . . . . . 8 (𝜑 → (𝐵 · 𝐹) = (𝐹 · 𝐵))
4240, 41oveq12d 7458 . . . . . . 7 (𝜑 → ((𝐶 · 𝐹) − (𝐵 · 𝐹)) = ((𝐹 · 𝐶) − (𝐹 · 𝐵)))
4311, 12, 15subdird 11797 . . . . . . 7 (𝜑 → ((𝐺 − 𝐹) · 𝐵) = ((𝐺 · 𝐵) − (𝐹 · 𝐵)))
4442, 43oveq12d 7458 . . . . . 6 (𝜑 → (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵)) = (((𝐹 · 𝐶) − (𝐹 · 𝐵)) − ((𝐺 · 𝐵) − (𝐹 · 𝐵))))
4512, 14mulcld 11353 . . . . . . 7 (𝜑 → (𝐹 · 𝐶) ∈ ℂ)
4611, 15mulcld 11353 . . . . . . 7 (𝜑 → (𝐺 · 𝐵) ∈ ℂ)
4712, 15mulcld 11353 . . . . . . 7 (𝜑 → (𝐹 · 𝐵) ∈ ℂ)
4845, 46, 47nnncan2d 11728 . . . . . 6 (𝜑 → (((𝐹 · 𝐶) − (𝐹 · 𝐵)) − ((𝐺 · 𝐵) − (𝐹 · 𝐵))) = ((𝐹 · 𝐶) − (𝐺 · 𝐵)))
4911, 15mulcomd 11354 . . . . . . 7 (𝜑 → (𝐺 · 𝐵) = (𝐵 · 𝐺))
5049oveq2d 7456 . . . . . 6 (𝜑 → ((𝐹 · 𝐶) − (𝐺 · 𝐵)) = ((𝐹 · 𝐶) − (𝐵 · 𝐺)))
5144, 48, 503eqtrd 2802 . . . . 5 (𝜑 → (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵)) = ((𝐹 · 𝐶) − (𝐵 · 𝐺)))
5251oveq2d 7456 . . . 4 (𝜑 → (((𝐺 − 𝐹) · 𝐴) + (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵))) = (((𝐺 − 𝐹) · 𝐴) + ((𝐹 · 𝐶) − (𝐵 · 𝐺))))
5325, 39, 523eqtrd 2802 . . 3 (𝜑 → ((𝐶 − 𝐵) · ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)) = (((𝐺 − 𝐹) · 𝐴) + ((𝐹 · 𝐶) − (𝐵 · 𝐺))))
5453eqeq2d 2774 . 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 1570   ∈ wcel 2147   ≠ wne 2959  ∃wrex 3090  (class class class)co 7440  ℝcr 11223  1c1 11225   + caddc 11227   · cmul 11229   − cmin 11565   / cdiv 11997
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772  ax-resscn 11281  ax-1cn 11282  ax-icn 11283  ax-addcl 11284  ax-addrcl 11285  ax-mulcl 11286  ax-mulrcl 11287  ax-mulcom 11288  ax-addass 11289  ax-mulass 11290  ax-distr 11291  ax-i2m1 11292  ax-1ne0 11293  ax-1rid 11294  ax-rnegex 11295  ax-rrecex 11296  ax-cnre 11297  ax-pre-lttri 11298  ax-pre-lttrn 11299  ax-pre-ltadd 11300  ax-pre-mulgt0 11301
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-po 5563  df-so 5564  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-riota 7397  df-ov 7443  df-oprab 7444  df-mpo 7445  df-er 8742  df-en 8999  df-dom 9000  df-sdom 9001  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373  df-sub 11567  df-neg 11568  df-div 11998
This theorem is used by:  rrx2linest  50057
  Copyright terms: Public domain W3C validator