HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem ltadd1t 5607
Description: Addition to both sides of 'less than'.
Assertion
Ref Expression
ltadd1t |- ((A e. RR /\ B e. RR /\ C e. RR) -> (A < B <-> (A + C) < (B + C)))

Proof of Theorem ltadd1t
StepHypRef Expression
1 breq1 2618 . . 3 |- (A = if(A e. RR, A, 0) -> (A < B <-> if(A e. RR, A, 0) < B))
2 opreq1 3963 . . . 4 |- (A = if(A e. RR, A, 0) -> (A + C) = (if(A e. RR, A, 0) + C))
32breq1d 2625 . . 3 |- (A = if(A e. RR, A, 0) -> ((A + C) < (B + C) <-> (if(A e. RR, A, 0) + C) < (B + C)))
41, 3bibi12d 628 . 2 |- (A = if(A e. RR, A, 0) -> ((A < B <-> (A + C) < (B + C)) <-> (if(A e. RR, A, 0) < B <-> (if(A e. RR, A, 0) + C) < (B + C))))
5 breq2 2619 . . 3 |- (B = if(B e. RR, B, 0) -> (if(A e. RR, A, 0) < B <-> if(A e. RR, A, 0) < if(B e. RR, B, 0)))
6 opreq1 3963 . . . 4 |- (B = if(B e. RR, B, 0) -> (B + C) = (if(B e. RR, B, 0) + C))
76breq2d 2626 . . 3 |- (B = if(B e. RR, B, 0) -> ((if(A e. RR, A, 0) + C) < (B + C) <-> (if(A e. RR, A, 0) + C) < (if(B e. RR, B, 0) + C)))
85, 7bibi12d 628 . 2 |- (B = if(B e. RR, B, 0) -> ((if(A e. RR, A, 0) < B <-> (if(A e. RR, A, 0) + C) < (B + C)) <-> (if(A e. RR, A, 0) < if(B e. RR, B, 0) <-> (if(A e. RR, A, 0) + C) < (if(B e. RR, B, 0) + C))))
9 opreq2 3964 . . . 4 |- (C = if(C e. RR, C, 0) -> (if(A e. RR, A, 0) + C) = (if(A e. RR, A, 0) + if(C e. RR, C, 0)))
10 opreq2 3964 . . . 4 |- (C = if(C e. RR, C, 0) -> (if(B e. RR, B, 0) + C) = (if(B e. RR, B, 0) + if(C e. RR, C, 0)))
119, 10breq12d 2627 . . 3 |- (C = if(C e. RR, C, 0) -> ((if(A e. RR, A, 0) + C) < (if(B e. RR, B, 0) + C) <-> (if(A e. RR, A, 0) + if(C e. RR, C, 0)) < (if(B e. RR, B, 0) + if(C e. RR, C, 0))))
1211bibi2d 617 . 2 |- (C = if(C e. RR, C, 0) -> ((if(A e. RR, A, 0) < if(B e. RR, B, 0) <-> (if(A e. RR, A, 0) + C) < (if(B e. RR, B, 0) + C)) <-> (if(A e. RR, A, 0) < if(B e. RR, B, 0) <-> (if(A e. RR, A, 0) + if(C e. RR, C, 0)) < (if(B e. RR, B, 0) + if(C e. RR, C, 0)))))
13 0re 5423 . . . 4 |- 0 e. RR
1413elimel 2391 . . 3 |- if(A e. RR, A, 0) e. RR
1513elimel 2391 . . 3 |- if(B e. RR, B, 0) e. RR
1613elimel 2391 . . 3 |- if(C e. RR, C, 0) e. RR
1714, 15, 16ltadd1 5575 . 2 |- (if(A e. RR, A, 0) < if(B e. RR, B, 0) <-> (if(A e. RR, A, 0) + if(C e. RR, C, 0)) < (if(B e. RR, B, 0) + if(C e. RR, C, 0)))
184, 8, 12, 17dedth3h 2385 1 |- ((A e. RR /\ B e. RR /\ C e. RR) -> (A < B <-> (A + C) < (B + C)))
Colors of variables: wff set class
Syntax hints:   -> wi 3   <-> wb 146   /\ w3a 774   = wceq 955   e. wcel 957  ifcif 2358   class class class wbr 2615  (class class class)co 3958  RRcr 5216  0cc0 5217   + caddc 5220   < clt 5469
This theorem is referenced by:  ltadd2t 5608  ltleaddt 5629  ltsub1t 5645  nnleltp1t 5911  nnltp1let 5912  avglet 6001  fladdzt 6199  seq1lem2 6260  icoshft 6354  caubnd 6878  climmullem3 7075  bcthlem24 7984  stadd 10129  stadd3 10131
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 961  ax-gen 962  ax-8 963  ax-9 964  ax-10 965  ax-11 966  ax-12 967  ax-13 968  ax-14 969  ax-17 970  ax-4 972  ax-5o 974  ax-6o 977  ax-9o 1122  ax-10o 1139  ax-16 1209  ax-11o 1217  ax-ext 1458  ax-rep 2689  ax-sep 2699  ax-nul 2706  ax-pow 2738  ax-pr 2775  ax-un 2862  ax-inf2 4608
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-3or 775  df-3an 776  df-ex 980  df-sb 1171  df-eu 1381  df-mo 1382  df-clab 1463  df-cleq 1468  df-clel 1471  df-ne 1585  df-nel 1586  df-ral 1647  df-rex 1648  df-reu 1649  df-rab 1650  df-v 1809  df-sbc 1939  df-csb 1999  df-dif 2046  df-un 2047  df-in 2048  df-ss 2050  df-pss 2052  df-nul 2278  df-if 2359  df-pw 2399  df-sn 2409  df-pr 2410  df-tp 2412  df-op 2413  df-uni 2500  df-int 2530  df-iun 2564  df-br 2616  df-opab 2663  df-tr 2677  df-eprel 2828  df-id 2831  df-po 2836  df-so 2846  df-fr 2913  df-we 2930  df-ord 2947  df-on 2948  df-lim 2949  df-suc 2950  df-om 3128  df-xp 3180  df-rel 3181  df-cnv 3182  df-co 3183  df-dm 3184  df-rn 3185  df-res 3186  df-ima 3187  df-fun 3188  df-fn 3189  df-f 3190  df-f1 3191  df-fo 3192  df-f1o 3193  df-fv 3194  df-rdg 3927  df-opr 3960  df-oprab 3961  df-1st 4072  df-2nd 4073  df-1o 4126  df-oadd 4128  df-omul 4129  df-er 4254  df-ec 4256  df-qs 4259  df-en 4360  df-dom 4361  df-sdom 4362  df-ni 4983  df-pli 4984  df-mi 4985  df-lti 4986  df-plpq 5018  df-mpq 5019  df-enq 5020  df-nq 5021  df-plq 5022  df-mq 5023  df-rq 5024  df-ltq 5025  df-1q 5026  df-np 5069  df-1p 5070  df-plp 5071  df-mp 5072  df-ltp 5073  df-plpr 5147  df-mpr 5148  df-enr 5149  df-nr 5150  df-plr 5151  df-mr 5152  df-ltr 5153  df-0r 5154  df-1r 5155  df-m1r 5156  df-c 5223  df-0 5224  df-1 5225  df-i 5226  df-r 5227  df-plus 5228  df-mul 5229  df-lt 5230  df-pnf 5470  df-mnf 5471  df-xr 5472  df-ltxr 5473  df-le 5474
Copyright terms: Public domain