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

Theorem rpneg 13178
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 11334 . . . . . . . 8 0 ∈ ℝ
2 ltle 11422 . . . . . . . 8 ((0 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (0 < 𝐴 → 0 ≤ 𝐴))
31, 2mpan 703 . . . . . . 7 (𝐴 ∈ ℝ → (0 < 𝐴 → 0 ≤ 𝐴))
43imp 412 . . . . . 6 ((𝐴 ∈ ℝ ∧ 0 < 𝐴) → 0 ≤ 𝐴)
54olcd 888 . . . . 5 ((𝐴 ∈ ℝ ∧ 0 < 𝐴) → (¬ -𝐴 ∈ ℝ ∨ 0 ≤ 𝐴))
6 renegcl 11645 . . . . . . . . 9 (𝐴 ∈ ℝ → -𝐴 ∈ ℝ)
76pm2.24d 152 . . . . . . . 8 (𝐴 ∈ ℝ → (¬ -𝐴 ∈ ℝ → 0 < 𝐴))
87adantr 486 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐴 ≠ 0) → (¬ -𝐴 ∈ ℝ → 0 < 𝐴))
9 ltlen 11435 . . . . . . . . . . 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 11412 . . . . . . . 8 ((0 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (0 ≤ 𝐴 ↔ ¬ 𝐴 < 0))
191, 18mpan 703 . . . . . . 7 (𝐴 ∈ ℝ → (0 ≤ 𝐴 ↔ ¬ 𝐴 < 0))
20 lt0neg1 11846 . . . . . . . 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 13146 . 2 (𝐴 ∈ ℝ+ ↔ (𝐴 ∈ ℝ ∧ 0 < 𝐴))
29 elrp 13146 . . 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 2147   ≠ wne 2959   class class class wbr 5106  ℝcr 11223  0cc0 11224   < clt 11367   ≤ cle 11368   -cneg 11566  ℝ+crp 13144
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 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772  ax-resscn 11281  ax-1cn 11282  ax-icn 11283  ax-addcl 11284  ax-addrcl 11285  ax-mulcl 11286  ax-mulrcl 11287  ax-mulcom 11288  ax-addass 11289  ax-mulass 11290  ax-distr 11291  ax-i2m1 11292  ax-1ne0 11293  ax-1rid 11294  ax-rnegex 11295  ax-rrecex 11296  ax-cnre 11297  ax-pre-lttri 11298  ax-pre-lttrn 11299  ax-pre-ltadd 11300
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 5171  df-mpt 5190  df-id 5550  df-po 5563  df-so 5564  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-riota 7397  df-ov 7443  df-oprab 7444  df-mpo 7445  df-er 8742  df-en 8999  df-dom 9000  df-sdom 9001  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373  df-sub 11567  df-neg 11568  df-rp 13145
This theorem is used by:  cnpart  15433  angpined  27185  argcj  33407  signsply0  35247
  Copyright terms: Public domain W3C validator