MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  posdif Structured version   Visualization version   GIF version

Theorem posdif 11122
Description: Comparison of two numbers whose difference is positive. (Contributed by NM, 17-Nov-2004.)
Assertion
Ref Expression
posdif ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 < 𝐵 ↔ 0 < (𝐵𝐴)))

Proof of Theorem posdif
StepHypRef Expression
1 resubcl 10939 . . . 4 ((𝐵 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (𝐵𝐴) ∈ ℝ)
21ancoms 462 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐵𝐴) ∈ ℝ)
3 simpl 486 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → 𝐴 ∈ ℝ)
4 ltaddpos 11119 . . 3 (((𝐵𝐴) ∈ ℝ ∧ 𝐴 ∈ ℝ) → (0 < (𝐵𝐴) ↔ 𝐴 < (𝐴 + (𝐵𝐴))))
52, 3, 4syl2anc 587 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (0 < (𝐵𝐴) ↔ 𝐴 < (𝐴 + (𝐵𝐴))))
6 recn 10616 . . . 4 (𝐴 ∈ ℝ → 𝐴 ∈ ℂ)
7 recn 10616 . . . 4 (𝐵 ∈ ℝ → 𝐵 ∈ ℂ)
8 pncan3 10883 . . . 4 ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐴 + (𝐵𝐴)) = 𝐵)
96, 7, 8syl2an 598 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 + (𝐵𝐴)) = 𝐵)
109breq2d 5042 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 < (𝐴 + (𝐵𝐴)) ↔ 𝐴 < 𝐵))
115, 10bitr2d 283 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 < 𝐵 ↔ 0 < (𝐵𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111   class class class wbr 5030  (class class class)co 7135  cc 10524  cr 10525  0cc0 10526   + caddc 10529   < clt 10664  cmin 10859
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-po 5438  df-so 5439  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-pnf 10666  df-mnf 10667  df-ltxr 10669  df-sub 10861  df-neg 10862
This theorem is referenced by:  posdifi  11179  posdifd  11216  nnsub  11669  nn0sub  11935  znnsub  12016  rpnnen1lem5  12368  difrp  12415  qbtwnre  12580  eluzgtdifelfzo  13094  subfzo0  13154  expnbnd  13589  expmulnbnd  13592  pfxccatin12lem3  14085  eflt  15462  cos01gt0  15536  ndvdsadd  15751  nn0seqcvgd  15904  prmgaplem7  16383  cshwshashlem2  16422  dvcvx  24623  abelthlem7  25033  sinq12gt0  25100  cosq14gt0  25103  cosne0  25121  tanregt0  25131  logdivlti  25211  logcnlem4  25236  scvxcvx  25571  perfectlem2  25814  rplogsumlem2  26069  dchrisum0flblem1  26092  crctcshwlkn0lem3  27598  crctcshwlkn0lem7  27602  mblfinlem3  35096  mblfinlem4  35097  dvasin  35141  geomcau  35197  bfp  35262  perfectALTVlem2  44240
  Copyright terms: Public domain W3C validator