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

Theorem posdif 11839
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 11652 . . . 4 ((𝐵 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (𝐵 − 𝐴) ∈ ℝ)
21ancoms 464 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐵 − 𝐴) ∈ ℝ)
3 simpl 488 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → 𝐴 ∈ ℝ)
4 ltaddpos 11836 . . 3 (((𝐵 − 𝐴) ∈ ℝ ∧ 𝐴 ∈ ℝ) → (0 < (𝐵 − 𝐴) ↔ 𝐴 < (𝐴 + (𝐵 − 𝐴))))
52, 3, 4syl2anc 596 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (0 < (𝐵 − 𝐴) ↔ 𝐴 < (𝐴 + (𝐵 − 𝐴))))
6 recn 11320 . . . 4 (𝐴 ∈ ℝ → 𝐴 ∈ ℂ)
7 recn 11320 . . . 4 (𝐵 ∈ ℝ → 𝐵 ∈ ℂ)
8 pncan3 11595 . . . 4 ((𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ) → (𝐴 + (𝐵 − 𝐴)) = 𝐵)
96, 7, 8syl2an 608 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 + (𝐵 − 𝐴)) = 𝐵)
109breq2d 5118 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 < (𝐴 + (𝐵 − 𝐴)) ↔ 𝐴 < 𝐵))
115, 10bitr2d 283 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴 < 𝐵 ↔ 0 < (𝐵 − 𝐴)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147   class class class wbr 5106  (class class class)co 7446  ℂcc 11228  ℝcr 11229  0cc0 11230   + caddc 11233   < clt 11373   − cmin 11571
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-un 7778  ax-resscn 11287  ax-1cn 11288  ax-icn 11289  ax-addcl 11290  ax-addrcl 11291  ax-mulcl 11292  ax-mulrcl 11293  ax-mulcom 11294  ax-addass 11295  ax-mulass 11296  ax-distr 11297  ax-i2m1 11298  ax-1ne0 11299  ax-1rid 11300  ax-rnegex 11301  ax-rrecex 11302  ax-cnre 11303  ax-pre-lttri 11304  ax-pre-lttrn 11305  ax-pre-ltadd 11306
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-po 5564  df-so 5565  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-riota 7403  df-ov 7449  df-oprab 7450  df-mpo 7451  df-er 8748  df-en 9005  df-dom 9006  df-sdom 9007  df-pnf 11375  df-mnf 11376  df-ltxr 11378  df-sub 11573  df-neg 11574
This theorem is used by:  posdifi  11896  posdifd  11933  nnsub  12412  nn0sub  12686  znnsub  12772  rpnnen1lem5  13139  difrp  13190  qbtwnre  13359  eluzgtdifelfzo  13892  subfzo0  13958  expnbnd  14406  expmulnbnd  14409  pfxccatin12lem3  14912  eflt  16317  cos01gt0  16391  ndvdsadd  16612  nn0seqcvgd  16777  prmgaplem7  17267  cshwshashlem2  17306  dvcvx  26373  abelthlem7  26798  sinq12gt0  26869  cosq14gt0  26872  cosne0  26890  tanregt0  26900  logdivlti  26981  logcnlem4  27006  scvxcvx  27346  perfectlem2  27590  rplogsumlem2  27845  dchrisum0flblem1  27868  crctcshwlkn0lem3  30434  crctcshwlkn0lem7  30438  mblfinlem3  38782  mblfinlem4  38783  dvasin  38827  geomcau  38896  bfp  38961  submodlt  48641  perfectALTVlem2  49035
  Copyright terms: Public domain W3C validator