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

Theorem rpneg 13154
Description: Either a nonzero real or its negation is a positive real, but not both. Axiom 8 of [Apostol] p. 20. (Contributed by NM, 7-Nov-2008.)
Assertion
Ref Expression
rpneg ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → (𝐴 ∈ ℝ+ ↔ ¬ -𝐴 ∈ ℝ+))

Proof of Theorem rpneg
StepHypRef Expression
1 0re 11310 . . . . . . . 8 0 ∈ ℝ
2 ltle 11398 . . . . . . . 8 ((0 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (0 < 𝐴 → 0 ≤ 𝐴))
31, 2mpan 703 . . . . . . 7 (𝐴 ∈ ℝ → (0 < 𝐴 → 0 ≤ 𝐴))
43imp 412 . . . . . 6 ((𝐴 ∈ ℝ ∧ 0 < 𝐴) → 0 ≤ 𝐴)
54olcd 888 . . . . 5 ((𝐴 ∈ ℝ ∧ 0 < 𝐴) → (¬ -𝐴 ∈ ℝ ∨ 0 ≤ 𝐴))
6 renegcl 11621 . . . . . . . . 9 (𝐴 ∈ ℝ → -𝐴 ∈ ℝ)
76pm2.24d 152 . . . . . . . 8 (𝐴 ∈ ℝ → (¬ -𝐴 ∈ ℝ → 0 < 𝐴))
87adantr 486 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → (¬ -𝐴 ∈ ℝ → 0 < 𝐴))
9 ltlen 11411 . . . . . . . . . . 11 ((0 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (0 < 𝐴 ↔ (0 ≤ 𝐴 ∧ 𝐴 ≠ 0)))
101, 9mpan 703 . . . . . . . . . 10 (𝐴 ∈ ℝ → (0 < 𝐴 ↔ (0 ≤ 𝐴 ∧ 𝐴 ≠ 0)))
1110biimprd 251 . . . . . . . . 9 (𝐴 ∈ ℝ → ((0 ≤ 𝐴 ∧ 𝐴 ≠ 0) → 0 < 𝐴))
1211expcomd 422 . . . . . . . 8 (𝐴 ∈ ℝ → (𝐴 ≠ 0 → (0 ≤ 𝐴 → 0 < 𝐴)))
1312imp 412 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → (0 ≤ 𝐴 → 0 < 𝐴))
148, 13jaod 873 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → ((¬ -𝐴 ∈ ℝ ∨ 0 ≤ 𝐴) → 0 < 𝐴))
15 simpl 488 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → 𝐴 ∈ ℝ)
1614, 15jctild 535 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → ((¬ -𝐴 ∈ ℝ ∨ 0 ≤ 𝐴) → (𝐴 ∈ ℝ ∧ 0 < 𝐴)))
175, 16impbid2 229 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → ((𝐴 ∈ ℝ ∧ 0 < 𝐴) ↔ (¬ -𝐴 ∈ ℝ ∨ 0 ≤ 𝐴)))
18 lenlt 11388 . . . . . . . 8 ((0 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (0 ≤ 𝐴 ↔ ¬ 𝐴 < 0))
191, 18mpan 703 . . . . . . 7 (𝐴 ∈ ℝ → (0 ≤ 𝐴 ↔ ¬ 𝐴 < 0))
20 lt0neg1 11822 . . . . . . . 8 (𝐴 ∈ ℝ → (𝐴 < 0 ↔ 0 < -𝐴))
2120notbid 321 . . . . . . 7 (𝐴 ∈ ℝ → (¬ 𝐴 < 0 ↔ ¬ 0 < -𝐴))
2219, 21bitrd 282 . . . . . 6 (𝐴 ∈ ℝ → (0 ≤ 𝐴 ↔ ¬ 0 < -𝐴))
2322adantr 486 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → (0 ≤ 𝐴 ↔ ¬ 0 < -𝐴))
2423orbi2d 929 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → ((¬ -𝐴 ∈ ℝ ∨ 0 ≤ 𝐴) ↔ (¬ -𝐴 ∈ ℝ ∨ ¬ 0 < -𝐴)))
2517, 24bitrd 282 . . 3 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → ((𝐴 ∈ ℝ ∧ 0 < 𝐴) ↔ (¬ -𝐴 ∈ ℝ ∨ ¬ 0 < -𝐴)))
26 ianor 997 . . 3 (¬ ( -𝐴 ∈ ℝ ∧ 0 < -𝐴) ↔ (¬ -𝐴 ∈ ℝ ∨ ¬ 0 < -𝐴))
2725, 26bitr4di 292 . 2 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → ((𝐴 ∈ ℝ ∧ 0 < 𝐴) ↔ ¬ ( -𝐴 ∈ ℝ ∧ 0 < -𝐴)))
28 elrp 13122 . 2 (𝐴 ∈ ℝ+ ↔ (𝐴 ∈ ℝ ∧ 0 < 𝐴))
29 elrp 13122 . . 3 ( -𝐴 ∈ ℝ+ ↔ ( -𝐴 ∈ ℝ ∧ 0 < -𝐴))
3029notbii 323 . 2 (¬ -𝐴 ∈ ℝ+ ↔ ¬ ( -𝐴 ∈ ℝ ∧ 0 < -𝐴))
3127, 28, 303bitr4g 317 1 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → (𝐴 ∈ ℝ+ ↔ ¬ -𝐴 ∈ ℝ+))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∈ wcel 2144   ≠ wne 2955   class class class wbr 5102  ℝcr 11199  0cc0 11200   < clt 11343   ≤ cle 11344   -cneg 11542  ℝ+crp 13120
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-po 5558  df-so 5559  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-er 8717  df-en 8974  df-dom 8975  df-sdom 8976  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-rp 13121
This theorem is used by:  cnpart  15407  angpined  27158  argcj  33340  signsply0  35180
  Copyright terms: Public domain W3C validator