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 50236
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 2766 . . 3 ((𝐺 − 𝐹) / (𝐶 − 𝐵)) = ((𝐺 − 𝐹) / (𝐶 − 𝐵))
91, 2, 3, 4, 5, 6, 7, 8affinecomb1 50235 . 2 (𝜑 → (∃𝑡 ∈ ℝ (𝐴 = (((1 − 𝑡) · 𝐵) + (𝑡 · 𝐶)) ∧ 𝐸 = (((1 − 𝑡) · 𝐹) + (𝑡 · 𝐺))) ↔ 𝐸 = ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)))
105recnd 11375 . . 3 (𝜑 → 𝐸 ∈ ℂ)
117recnd 11375 . . . . . . 7 (𝜑 → 𝐺 ∈ ℂ)
126recnd 11375 . . . . . . 7 (𝜑 → 𝐹 ∈ ℂ)
1311, 12subcld 11707 . . . . . 6 (𝜑 → (𝐺 − 𝐹) ∈ ℂ)
143recnd 11375 . . . . . . 7 (𝜑 → 𝐶 ∈ ℂ)
152recnd 11375 . . . . . . 7 (𝜑 → 𝐵 ∈ ℂ)
1614, 15subcld 11707 . . . . . 6 (𝜑 → (𝐶 − 𝐵) ∈ ℂ)
174necomd 3017 . . . . . . 7 (𝜑 → 𝐶 ≠ 𝐵)
1814, 15, 17subne0d 11717 . . . . . 6 (𝜑 → (𝐶 − 𝐵) ≠ 0)
1913, 16, 18divcld 12132 . . . . 5 (𝜑 → ((𝐺 − 𝐹) / (𝐶 − 𝐵)) ∈ ℂ)
201recnd 11375 . . . . . 6 (𝜑 → 𝐴 ∈ ℂ)
2120, 15subcld 11707 . . . . 5 (𝜑 → (𝐴 − 𝐵) ∈ ℂ)
2219, 21mulcld 11367 . . . 4 (𝜑 → (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) ∈ ℂ)
2322, 12addcld 11366 . . 3 (𝜑 → ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹) ∈ ℂ)
2410, 23, 16, 18mulcand 11988 . 2 (𝜑 → (((𝐶 − 𝐵) · 𝐸) = ((𝐶 − 𝐵) · ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)) ↔ 𝐸 = ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)))
2516, 22, 12adddid 11371 . . . 4 (𝜑 → ((𝐶 − 𝐵) · ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)) = (((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) + ((𝐶 − 𝐵) · 𝐹)))
2613, 16, 18divcan2d 12134 . . . . . . . 8 (𝜑 → ((𝐶 − 𝐵) · ((𝐺 − 𝐹) / (𝐶 − 𝐵))) = (𝐺 − 𝐹))
2726oveq1d 7465 . . . . . . 7 (𝜑 → (((𝐶 − 𝐵) · ((𝐺 − 𝐹) / (𝐶 − 𝐵))) · (𝐴 − 𝐵)) = ((𝐺 − 𝐹) · (𝐴 − 𝐵)))
2816, 19, 21mulassd 11370 . . . . . . 7 (𝜑 → (((𝐶 − 𝐵) · ((𝐺 − 𝐹) / (𝐶 − 𝐵))) · (𝐴 − 𝐵)) = ((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))))
2913, 20, 15subdid 11810 . . . . . . 7 (𝜑 → ((𝐺 − 𝐹) · (𝐴 − 𝐵)) = (((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)))
3027, 28, 293eqtr3d 2809 . . . . . 6 (𝜑 → ((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) = (((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)))
3114, 15, 12subdird 11811 . . . . . 6 (𝜑 → ((𝐶 − 𝐵) · 𝐹) = ((𝐶 · 𝐹) − (𝐵 · 𝐹)))
3230, 31oveq12d 7468 . . . . 5 (𝜑 → (((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) + ((𝐶 − 𝐵) · 𝐹)) = ((((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)) + ((𝐶 · 𝐹) − (𝐵 · 𝐹))))
3313, 20mulcld 11367 . . . . . 6 (𝜑 → ((𝐺 − 𝐹) · 𝐴) ∈ ℂ)
3413, 15mulcld 11367 . . . . . 6 (𝜑 → ((𝐺 − 𝐹) · 𝐵) ∈ ℂ)
3514, 12mulcld 11367 . . . . . . 7 (𝜑 → (𝐶 · 𝐹) ∈ ℂ)
3615, 12mulcld 11367 . . . . . . 7 (𝜑 → (𝐵 · 𝐹) ∈ ℂ)
3735, 36subcld 11707 . . . . . 6 (𝜑 → ((𝐶 · 𝐹) − (𝐵 · 𝐹)) ∈ ℂ)
3833, 34, 37subadd23d 11729 . . . . 5 (𝜑 → ((((𝐺 − 𝐹) · 𝐴) − ((𝐺 − 𝐹) · 𝐵)) + ((𝐶 · 𝐹) − (𝐵 · 𝐹))) = (((𝐺 − 𝐹) · 𝐴) + (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵))))
3932, 38eqtrd 2801 . . . 4 (𝜑 → (((𝐶 − 𝐵) · (((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵))) + ((𝐶 − 𝐵) · 𝐹)) = (((𝐺 − 𝐹) · 𝐴) + (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵))))
4014, 12mulcomd 11368 . . . . . . . 8 (𝜑 → (𝐶 · 𝐹) = (𝐹 · 𝐶))
4115, 12mulcomd 11368 . . . . . . . 8 (𝜑 → (𝐵 · 𝐹) = (𝐹 · 𝐵))
4240, 41oveq12d 7468 . . . . . . 7 (𝜑 → ((𝐶 · 𝐹) − (𝐵 · 𝐹)) = ((𝐹 · 𝐶) − (𝐹 · 𝐵)))
4311, 12, 15subdird 11811 . . . . . . 7 (𝜑 → ((𝐺 − 𝐹) · 𝐵) = ((𝐺 · 𝐵) − (𝐹 · 𝐵)))
4442, 43oveq12d 7468 . . . . . 6 (𝜑 → (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵)) = (((𝐹 · 𝐶) − (𝐹 · 𝐵)) − ((𝐺 · 𝐵) − (𝐹 · 𝐵))))
4512, 14mulcld 11367 . . . . . . 7 (𝜑 → (𝐹 · 𝐶) ∈ ℂ)
4611, 15mulcld 11367 . . . . . . 7 (𝜑 → (𝐺 · 𝐵) ∈ ℂ)
4712, 15mulcld 11367 . . . . . . 7 (𝜑 → (𝐹 · 𝐵) ∈ ℂ)
4845, 46, 47nnncan2d 11742 . . . . . 6 (𝜑 → (((𝐹 · 𝐶) − (𝐹 · 𝐵)) − ((𝐺 · 𝐵) − (𝐹 · 𝐵))) = ((𝐹 · 𝐶) − (𝐺 · 𝐵)))
4911, 15mulcomd 11368 . . . . . . 7 (𝜑 → (𝐺 · 𝐵) = (𝐵 · 𝐺))
5049oveq2d 7466 . . . . . 6 (𝜑 → ((𝐹 · 𝐶) − (𝐺 · 𝐵)) = ((𝐹 · 𝐶) − (𝐵 · 𝐺)))
5144, 48, 503eqtrd 2805 . . . . 5 (𝜑 → (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵)) = ((𝐹 · 𝐶) − (𝐵 · 𝐺)))
5251oveq2d 7466 . . . 4 (𝜑 → (((𝐺 − 𝐹) · 𝐴) + (((𝐶 · 𝐹) − (𝐵 · 𝐹)) − ((𝐺 − 𝐹) · 𝐵))) = (((𝐺 − 𝐹) · 𝐴) + ((𝐹 · 𝐶) − (𝐵 · 𝐺))))
5325, 39, 523eqtrd 2805 . . 3 (𝜑 → ((𝐶 − 𝐵) · ((((𝐺 − 𝐹) / (𝐶 − 𝐵)) · (𝐴 − 𝐵)) + 𝐹)) = (((𝐺 − 𝐹) · 𝐴) + ((𝐹 · 𝐶) − (𝐵 · 𝐺))))
5453eqeq2d 2777 . 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 1572   ∈ wcel 2150   ≠ wne 2962  ∃wrex 3093  (class class class)co 7450  ℝcr 11237  1c1 11239   + caddc 11241   · cmul 11243   − cmin 11579   / cdiv 12012
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-resscn 11295  ax-1cn 11296  ax-icn 11297  ax-addcl 11298  ax-addrcl 11299  ax-mulcl 11300  ax-mulrcl 11301  ax-mulcom 11302  ax-addass 11303  ax-mulass 11304  ax-distr 11305  ax-i2m1 11306  ax-1ne0 11307  ax-1rid 11308  ax-rnegex 11309  ax-rrecex 11310  ax-cnre 11311  ax-pre-lttri 11312  ax-pre-lttrn 11313  ax-pre-ltadd 11314  ax-pre-mulgt0 11315
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-po 5565  df-so 5566  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-riota 7407  df-ov 7453  df-oprab 7454  df-mpo 7455  df-er 8754  df-en 9011  df-dom 9012  df-sdom 9013  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-sub 11581  df-neg 11582  df-div 12013
This theorem is used by:  rrx2linest  50275
  Copyright terms: Public domain W3C validator