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

Theorem le2add 9922
Description: Adding both sides of two 'less than or equal to' relations. (Contributed by NM, 17-Apr-2005.) (Proof shortened by Mario Carneiro, 27-May-2016.)
Assertion
Ref Expression
le2add  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  -> 
( ( A  <_  C  /\  B  <_  D
)  ->  ( A  +  B )  <_  ( C  +  D )
) )

Proof of Theorem le2add
StepHypRef Expression
1 simpll 753 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  ->  A  e.  RR )
2 simprl 755 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  ->  C  e.  RR )
3 simplr 754 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  ->  B  e.  RR )
4 leadd1 9908 . . . 4  |-  ( ( A  e.  RR  /\  C  e.  RR  /\  B  e.  RR )  ->  ( A  <_  C  <->  ( A  +  B )  <_  ( C  +  B )
) )
51, 2, 3, 4syl3anc 1219 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  -> 
( A  <_  C  <->  ( A  +  B )  <_  ( C  +  B ) ) )
6 simprr 756 . . . 4  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  ->  D  e.  RR )
7 leadd2 9909 . . . 4  |-  ( ( B  e.  RR  /\  D  e.  RR  /\  C  e.  RR )  ->  ( B  <_  D  <->  ( C  +  B )  <_  ( C  +  D )
) )
83, 6, 2, 7syl3anc 1219 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  -> 
( B  <_  D  <->  ( C  +  B )  <_  ( C  +  D ) ) )
95, 8anbi12d 710 . 2  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  -> 
( ( A  <_  C  /\  B  <_  D
)  <->  ( ( A  +  B )  <_ 
( C  +  B
)  /\  ( C  +  B )  <_  ( C  +  D )
) ) )
101, 3readdcld 9514 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  -> 
( A  +  B
)  e.  RR )
112, 3readdcld 9514 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  -> 
( C  +  B
)  e.  RR )
122, 6readdcld 9514 . . 3  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  -> 
( C  +  D
)  e.  RR )
13 letr 9569 . . 3  |-  ( ( ( A  +  B
)  e.  RR  /\  ( C  +  B
)  e.  RR  /\  ( C  +  D
)  e.  RR )  ->  ( ( ( A  +  B )  <_  ( C  +  B )  /\  ( C  +  B )  <_  ( C  +  D
) )  ->  ( A  +  B )  <_  ( C  +  D
) ) )
1410, 11, 12, 13syl3anc 1219 . 2  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  -> 
( ( ( A  +  B )  <_ 
( C  +  B
)  /\  ( C  +  B )  <_  ( C  +  D )
)  ->  ( A  +  B )  <_  ( C  +  D )
) )
159, 14sylbid 215 1  |-  ( ( ( A  e.  RR  /\  B  e.  RR )  /\  ( C  e.  RR  /\  D  e.  RR ) )  -> 
( ( A  <_  C  /\  B  <_  D
)  ->  ( A  +  B )  <_  ( C  +  D )
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    e. wcel 1758   class class class wbr 4390  (class class class)co 6190   RRcr 9382    + caddc 9386    <_ cle 9520
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-8 1760  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1952  ax-ext 2430  ax-sep 4511  ax-nul 4519  ax-pow 4568  ax-pr 4629  ax-un 6472  ax-resscn 9440  ax-1cn 9441  ax-icn 9442  ax-addcl 9443  ax-addrcl 9444  ax-mulcl 9445  ax-mulrcl 9446  ax-mulcom 9447  ax-addass 9448  ax-mulass 9449  ax-distr 9450  ax-i2m1 9451  ax-1ne0 9452  ax-1rid 9453  ax-rnegex 9454  ax-rrecex 9455  ax-cnre 9456  ax-pre-lttri 9457  ax-pre-lttrn 9458  ax-pre-ltadd 9459
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 966  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2264  df-mo 2265  df-clab 2437  df-cleq 2443  df-clel 2446  df-nfc 2601  df-ne 2646  df-nel 2647  df-ral 2800  df-rex 2801  df-rab 2804  df-v 3070  df-sbc 3285  df-csb 3387  df-dif 3429  df-un 3431  df-in 3433  df-ss 3440  df-nul 3736  df-if 3890  df-pw 3960  df-sn 3976  df-pr 3978  df-op 3982  df-uni 4190  df-br 4391  df-opab 4449  df-mpt 4450  df-id 4734  df-po 4739  df-so 4740  df-xp 4944  df-rel 4945  df-cnv 4946  df-co 4947  df-dm 4948  df-rn 4949  df-res 4950  df-ima 4951  df-iota 5479  df-fun 5518  df-fn 5519  df-f 5520  df-f1 5521  df-fo 5522  df-f1o 5523  df-fv 5524  df-ov 6193  df-er 7201  df-en 7411  df-dom 7412  df-sdom 7413  df-pnf 9521  df-mnf 9522  df-xr 9523  df-ltxr 9524  df-le 9525
This theorem is referenced by:  addge0  9929  le2addi  10004  le2addd  10058  swrdccatin2  12480  sqrlem7  12840  lo1add  13206  climcndslem1  13414  climcndslem2  13415  mdegmullem  21665  mumullem2  22634  pntrsumbnd2  22932  pntlemf  22970  ubthlem2  24407  nmoptrii  25633  cdj3i  25980  itg2addnc  28584  fzadd2  28775  jm2.26lem3  29488  erclwwlktr0  30617
  Copyright terms: Public domain W3C validator