Users' Mathboxes Mathbox for Jim Kingdon < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >   Mathboxes  >  reap0 GIF version

Theorem reap0 14462
Description: Real number trichotomy is equivalent to decidability of apartness from zero. (Contributed by Jim Kingdon, 27-Jul-2024.)
Assertion
Ref Expression
reap0 (∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ ∀𝑧 ∈ ℝ DECID 𝑧 # 0)
Distinct variable group:   𝑥,𝑦,𝑧

Proof of Theorem reap0
StepHypRef Expression
1 simpl 109 . . . . 5 ((∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ∧ 𝑧 ∈ ℝ) → ∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥))
2 simpr 110 . . . . . 6 ((∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ∧ 𝑧 ∈ ℝ) → 𝑧 ∈ ℝ)
3 0re 7948 . . . . . 6 0 ∈ ℝ
4 breq1 4003 . . . . . . . 8 (𝑥 = 𝑧 → (𝑥 < 𝑦𝑧 < 𝑦))
5 equequ1 1712 . . . . . . . 8 (𝑥 = 𝑧 → (𝑥 = 𝑦𝑧 = 𝑦))
6 breq2 4004 . . . . . . . 8 (𝑥 = 𝑧 → (𝑦 < 𝑥𝑦 < 𝑧))
74, 5, 63orbi123d 1311 . . . . . . 7 (𝑥 = 𝑧 → ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ (𝑧 < 𝑦𝑧 = 𝑦𝑦 < 𝑧)))
8 breq2 4004 . . . . . . . 8 (𝑦 = 0 → (𝑧 < 𝑦𝑧 < 0))
9 eqeq2 2187 . . . . . . . 8 (𝑦 = 0 → (𝑧 = 𝑦𝑧 = 0))
10 breq1 4003 . . . . . . . 8 (𝑦 = 0 → (𝑦 < 𝑧 ↔ 0 < 𝑧))
118, 9, 103orbi123d 1311 . . . . . . 7 (𝑦 = 0 → ((𝑧 < 𝑦𝑧 = 𝑦𝑦 < 𝑧) ↔ (𝑧 < 0 ∨ 𝑧 = 0 ∨ 0 < 𝑧)))
127, 11rspc2v 2854 . . . . . 6 ((𝑧 ∈ ℝ ∧ 0 ∈ ℝ) → (∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) → (𝑧 < 0 ∨ 𝑧 = 0 ∨ 0 < 𝑧)))
132, 3, 12sylancl 413 . . . . 5 ((∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ∧ 𝑧 ∈ ℝ) → (∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) → (𝑧 < 0 ∨ 𝑧 = 0 ∨ 0 < 𝑧)))
141, 13mpd 13 . . . 4 ((∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ∧ 𝑧 ∈ ℝ) → (𝑧 < 0 ∨ 𝑧 = 0 ∨ 0 < 𝑧))
15 triap 14433 . . . . 5 ((𝑧 ∈ ℝ ∧ 0 ∈ ℝ) → ((𝑧 < 0 ∨ 𝑧 = 0 ∨ 0 < 𝑧) ↔ DECID 𝑧 # 0))
162, 3, 15sylancl 413 . . . 4 ((∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ∧ 𝑧 ∈ ℝ) → ((𝑧 < 0 ∨ 𝑧 = 0 ∨ 0 < 𝑧) ↔ DECID 𝑧 # 0))
1714, 16mpbid 147 . . 3 ((∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ∧ 𝑧 ∈ ℝ) → DECID 𝑧 # 0)
1817ralrimiva 2550 . 2 (∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) → ∀𝑧 ∈ ℝ DECID 𝑧 # 0)
19 breq1 4003 . . . . . . 7 (𝑧 = (𝑥𝑦) → (𝑧 # 0 ↔ (𝑥𝑦) # 0))
2019dcbid 838 . . . . . 6 (𝑧 = (𝑥𝑦) → (DECID 𝑧 # 0 ↔ DECID (𝑥𝑦) # 0))
21 simpl 109 . . . . . 6 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → ∀𝑧 ∈ ℝ DECID 𝑧 # 0)
22 resubcl 8211 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑥𝑦) ∈ ℝ)
2322adantl 277 . . . . . 6 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → (𝑥𝑦) ∈ ℝ)
2420, 21, 23rspcdva 2846 . . . . 5 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → DECID (𝑥𝑦) # 0)
25 simprl 529 . . . . . . . 8 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → 𝑥 ∈ ℝ)
2625recnd 7976 . . . . . . 7 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → 𝑥 ∈ ℂ)
27 simprr 531 . . . . . . . 8 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → 𝑦 ∈ ℝ)
2827recnd 7976 . . . . . . 7 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → 𝑦 ∈ ℂ)
29 subap0 8590 . . . . . . 7 ((𝑥 ∈ ℂ ∧ 𝑦 ∈ ℂ) → ((𝑥𝑦) # 0 ↔ 𝑥 # 𝑦))
3026, 28, 29syl2anc 411 . . . . . 6 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → ((𝑥𝑦) # 0 ↔ 𝑥 # 𝑦))
3130dcbid 838 . . . . 5 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → (DECID (𝑥𝑦) # 0 ↔ DECID 𝑥 # 𝑦))
3224, 31mpbid 147 . . . 4 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → DECID 𝑥 # 𝑦)
33 triap 14433 . . . . 5 ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ) → ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ DECID 𝑥 # 𝑦))
3433adantl 277 . . . 4 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ DECID 𝑥 # 𝑦))
3532, 34mpbird 167 . . 3 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥))
3635ralrimivva 2559 . 2 (∀𝑧 ∈ ℝ DECID 𝑧 # 0 → ∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥))
3718, 36impbii 126 1 (∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ ∀𝑧 ∈ ℝ DECID 𝑧 # 0)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105  DECID wdc 834  w3o 977   = wceq 1353  wcel 2148  wral 2455   class class class wbr 4000  (class class class)co 5869  cc 7800  cr 7801  0cc0 7802   < clt 7982  cmin 8118   # cap 8528
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-sep 4118  ax-pow 4171  ax-pr 4206  ax-un 4430  ax-setind 4533  ax-cnex 7893  ax-resscn 7894  ax-1cn 7895  ax-1re 7896  ax-icn 7897  ax-addcl 7898  ax-addrcl 7899  ax-mulcl 7900  ax-mulrcl 7901  ax-addcom 7902  ax-mulcom 7903  ax-addass 7904  ax-mulass 7905  ax-distr 7906  ax-i2m1 7907  ax-0lt1 7908  ax-1rid 7909  ax-0id 7910  ax-rnegex 7911  ax-precex 7912  ax-cnre 7913  ax-pre-ltirr 7914  ax-pre-lttrn 7916  ax-pre-apti 7917  ax-pre-ltadd 7918  ax-pre-mulgt0 7919
This theorem depends on definitions:  df-bi 117  df-dc 835  df-3or 979  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-nel 2443  df-ral 2460  df-rex 2461  df-reu 2462  df-rab 2464  df-v 2739  df-sbc 2963  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-pw 3576  df-sn 3597  df-pr 3598  df-op 3600  df-uni 3808  df-br 4001  df-opab 4062  df-id 4290  df-xp 4629  df-rel 4630  df-cnv 4631  df-co 4632  df-dm 4633  df-iota 5174  df-fun 5214  df-fv 5220  df-riota 5825  df-ov 5872  df-oprab 5873  df-mpo 5874  df-pnf 7984  df-mnf 7985  df-ltxr 7987  df-sub 8120  df-neg 8121  df-reap 8522  df-ap 8529
This theorem is referenced by:  dcapnconstALT  14465
  Copyright terms: Public domain W3C validator