MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  lincmb01cmp Structured version   Unicode version

Theorem lincmb01cmp 11043
Description: A linear combination of two reals which lies in the interval between them. (Contributed by Jeff Madsen, 2-Sep-2009.) (Proof shortened by Mario Carneiro, 8-Sep-2015.)
Assertion
Ref Expression
lincmb01cmp  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( ( 1  -  T )  x.  A )  +  ( T  x.  B
) )  e.  ( A [,] B ) )

Proof of Theorem lincmb01cmp
StepHypRef Expression
1 simpr 449 . . . . 5  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  T  e.  ( 0 [,] 1 ) )
2 0re 9096 . . . . . . 7  |-  0  e.  RR
32a1i 11 . . . . . 6  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  0  e.  RR )
4 1re 9095 . . . . . . 7  |-  1  e.  RR
54a1i 11 . . . . . 6  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  1  e.  RR )
62, 4elicc2i 10981 . . . . . . . 8  |-  ( T  e.  ( 0 [,] 1 )  <->  ( T  e.  RR  /\  0  <_  T  /\  T  <_  1
) )
76simp1bi 973 . . . . . . 7  |-  ( T  e.  ( 0 [,] 1 )  ->  T  e.  RR )
87adantl 454 . . . . . 6  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  T  e.  RR )
9 difrp 10650 . . . . . . . 8  |-  ( ( A  e.  RR  /\  B  e.  RR )  ->  ( A  <  B  <->  ( B  -  A )  e.  RR+ ) )
109biimp3a 1284 . . . . . . 7  |-  ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  ->  ( B  -  A )  e.  RR+ )
1110adantr 453 . . . . . 6  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( B  -  A )  e.  RR+ )
12 eqid 2438 . . . . . . 7  |-  ( 0  x.  ( B  -  A ) )  =  ( 0  x.  ( B  -  A )
)
13 eqid 2438 . . . . . . 7  |-  ( 1  x.  ( B  -  A ) )  =  ( 1  x.  ( B  -  A )
)
1412, 13iccdil 11039 . . . . . 6  |-  ( ( ( 0  e.  RR  /\  1  e.  RR )  /\  ( T  e.  RR  /\  ( B  -  A )  e.  RR+ ) )  ->  ( T  e.  ( 0 [,] 1 )  <->  ( T  x.  ( B  -  A
) )  e.  ( ( 0  x.  ( B  -  A )
) [,] ( 1  x.  ( B  -  A ) ) ) ) )
153, 5, 8, 11, 14syl22anc 1186 . . . . 5  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( T  e.  ( 0 [,] 1
)  <->  ( T  x.  ( B  -  A
) )  e.  ( ( 0  x.  ( B  -  A )
) [,] ( 1  x.  ( B  -  A ) ) ) ) )
161, 15mpbid 203 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( T  x.  ( B  -  A
) )  e.  ( ( 0  x.  ( B  -  A )
) [,] ( 1  x.  ( B  -  A ) ) ) )
17 simpl2 962 . . . . . . . 8  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  B  e.  RR )
18 simpl1 961 . . . . . . . 8  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  A  e.  RR )
1917, 18resubcld 9470 . . . . . . 7  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( B  -  A )  e.  RR )
2019recnd 9119 . . . . . 6  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( B  -  A )  e.  CC )
2120mul02d 9269 . . . . 5  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( 0  x.  ( B  -  A
) )  =  0 )
2220mulid2d 9111 . . . . 5  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( 1  x.  ( B  -  A
) )  =  ( B  -  A ) )
2321, 22oveq12d 6102 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( 0  x.  ( B  -  A ) ) [,] ( 1  x.  ( B  -  A )
) )  =  ( 0 [,] ( B  -  A ) ) )
2416, 23eleqtrd 2514 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( T  x.  ( B  -  A
) )  e.  ( 0 [,] ( B  -  A ) ) )
258, 19remulcld 9121 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( T  x.  ( B  -  A
) )  e.  RR )
26 eqid 2438 . . . . 5  |-  ( 0  +  A )  =  ( 0  +  A
)
27 eqid 2438 . . . . 5  |-  ( ( B  -  A )  +  A )  =  ( ( B  -  A )  +  A
)
2826, 27iccshftr 11035 . . . 4  |-  ( ( ( 0  e.  RR  /\  ( B  -  A
)  e.  RR )  /\  ( ( T  x.  ( B  -  A ) )  e.  RR  /\  A  e.  RR ) )  -> 
( ( T  x.  ( B  -  A
) )  e.  ( 0 [,] ( B  -  A ) )  <-> 
( ( T  x.  ( B  -  A
) )  +  A
)  e.  ( ( 0  +  A ) [,] ( ( B  -  A )  +  A ) ) ) )
293, 19, 25, 18, 28syl22anc 1186 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( T  x.  ( B  -  A ) )  e.  ( 0 [,] ( B  -  A )
)  <->  ( ( T  x.  ( B  -  A ) )  +  A )  e.  ( ( 0  +  A
) [,] ( ( B  -  A )  +  A ) ) ) )
3024, 29mpbid 203 . 2  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( T  x.  ( B  -  A ) )  +  A )  e.  ( ( 0  +  A
) [,] ( ( B  -  A )  +  A ) ) )
318recnd 9119 . . . . 5  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  T  e.  CC )
3217recnd 9119 . . . . 5  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  B  e.  CC )
3331, 32mulcld 9113 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( T  x.  B )  e.  CC )
3418recnd 9119 . . . . 5  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  A  e.  CC )
3531, 34mulcld 9113 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( T  x.  A )  e.  CC )
3633, 35, 34subadd23d 9438 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( ( T  x.  B )  -  ( T  x.  A ) )  +  A )  =  ( ( T  x.  B
)  +  ( A  -  ( T  x.  A ) ) ) )
3731, 32, 34subdid 9494 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( T  x.  ( B  -  A
) )  =  ( ( T  x.  B
)  -  ( T  x.  A ) ) )
3837oveq1d 6099 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( T  x.  ( B  -  A ) )  +  A )  =  ( ( ( T  x.  B )  -  ( T  x.  A )
)  +  A ) )
39 resubcl 9370 . . . . . . . 8  |-  ( ( 1  e.  RR  /\  T  e.  RR )  ->  ( 1  -  T
)  e.  RR )
404, 8, 39sylancr 646 . . . . . . 7  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( 1  -  T )  e.  RR )
4140, 18remulcld 9121 . . . . . 6  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( 1  -  T )  x.  A )  e.  RR )
4241recnd 9119 . . . . 5  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( 1  -  T )  x.  A )  e.  CC )
4342, 33addcomd 9273 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( ( 1  -  T )  x.  A )  +  ( T  x.  B
) )  =  ( ( T  x.  B
)  +  ( ( 1  -  T )  x.  A ) ) )
44 ax-1cn 9053 . . . . . . . 8  |-  1  e.  CC
4544a1i 11 . . . . . . 7  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  1  e.  CC )
4645, 31, 34subdird 9495 . . . . . 6  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( 1  -  T )  x.  A )  =  ( ( 1  x.  A
)  -  ( T  x.  A ) ) )
4734mulid2d 9111 . . . . . . 7  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( 1  x.  A )  =  A )
4847oveq1d 6099 . . . . . 6  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( 1  x.  A )  -  ( T  x.  A
) )  =  ( A  -  ( T  x.  A ) ) )
4946, 48eqtrd 2470 . . . . 5  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( 1  -  T )  x.  A )  =  ( A  -  ( T  x.  A ) ) )
5049oveq2d 6100 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( T  x.  B )  +  ( ( 1  -  T )  x.  A
) )  =  ( ( T  x.  B
)  +  ( A  -  ( T  x.  A ) ) ) )
5143, 50eqtrd 2470 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( ( 1  -  T )  x.  A )  +  ( T  x.  B
) )  =  ( ( T  x.  B
)  +  ( A  -  ( T  x.  A ) ) ) )
5236, 38, 513eqtr4d 2480 . 2  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( T  x.  ( B  -  A ) )  +  A )  =  ( ( ( 1  -  T )  x.  A
)  +  ( T  x.  B ) ) )
5334addid2d 9272 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( 0  +  A )  =  A )
5432, 34npcand 9420 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( B  -  A )  +  A )  =  B )
5553, 54oveq12d 6102 . 2  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( 0  +  A ) [,] ( ( B  -  A )  +  A
) )  =  ( A [,] B ) )
5630, 52, 553eltr3d 2518 1  |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <  B )  /\  T  e.  ( 0 [,] 1 ) )  ->  ( ( ( 1  -  T )  x.  A )  +  ( T  x.  B
) )  e.  ( A [,] B ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 178    /\ wa 360    /\ w3a 937    e. wcel 1726   class class class wbr 4215  (class class class)co 6084   CCcc 8993   RRcr 8994   0cc0 8995   1c1 8996    + caddc 8998    x. cmul 9000    < clt 9125    <_ cle 9126    - cmin 9296   RR+crp 10617   [,]cicc 10924
This theorem is referenced by:  iccf1o  11044  icccvx  18980  efcvx  20370  logccv  20559  cvxcl  20828
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-sep 4333  ax-nul 4341  ax-pow 4380  ax-pr 4406  ax-un 4704  ax-cnex 9051  ax-resscn 9052  ax-1cn 9053  ax-icn 9054  ax-addcl 9055  ax-addrcl 9056  ax-mulcl 9057  ax-mulrcl 9058  ax-mulcom 9059  ax-addass 9060  ax-mulass 9061  ax-distr 9062  ax-i2m1 9063  ax-1ne0 9064  ax-1rid 9065  ax-rnegex 9066  ax-rrecex 9067  ax-cnre 9068  ax-pre-lttri 9069  ax-pre-lttrn 9070  ax-pre-ltadd 9071  ax-pre-mulgt0 9072
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 938  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-nel 2604  df-ral 2712  df-rex 2713  df-reu 2714  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-nul 3631  df-if 3742  df-pw 3803  df-sn 3822  df-pr 3823  df-op 3825  df-uni 4018  df-br 4216  df-opab 4270  df-mpt 4271  df-id 4501  df-po 4506  df-so 4507  df-xp 4887  df-rel 4888  df-cnv 4889  df-co 4890  df-dm 4891  df-rn 4892  df-res 4893  df-ima 4894  df-iota 5421  df-fun 5459  df-fn 5460  df-f 5461  df-f1 5462  df-fo 5463  df-f1o 5464  df-fv 5465  df-ov 6087  df-oprab 6088  df-mpt2 6089  df-riota 6552  df-er 6908  df-en 7113  df-dom 7114  df-sdom 7115  df-pnf 9127  df-mnf 9128  df-xr 9129  df-ltxr 9130  df-le 9131  df-sub 9298  df-neg 9299  df-rp 10618  df-icc 10928
  Copyright terms: Public domain W3C validator