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

Theorem reap0 14809
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 7957 . . . . . 6 0 ∈ ℝ
4 breq1 4007 . . . . . . . 8 (𝑥 = 𝑧 → (𝑥 < 𝑦𝑧 < 𝑦))
5 equequ1 1712 . . . . . . . 8 (𝑥 = 𝑧 → (𝑥 = 𝑦𝑧 = 𝑦))
6 breq2 4008 . . . . . . . 8 (𝑥 = 𝑧 → (𝑦 < 𝑥𝑦 < 𝑧))
74, 5, 63orbi123d 1311 . . . . . . 7 (𝑥 = 𝑧 → ((𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ↔ (𝑧 < 𝑦𝑧 = 𝑦𝑦 < 𝑧)))
8 breq2 4008 . . . . . . . 8 (𝑦 = 0 → (𝑧 < 𝑦𝑧 < 0))
9 eqeq2 2187 . . . . . . . 8 (𝑦 = 0 → (𝑧 = 𝑦𝑧 = 0))
10 breq1 4007 . . . . . . . 8 (𝑦 = 0 → (𝑦 < 𝑧 ↔ 0 < 𝑧))
118, 9, 103orbi123d 1311 . . . . . . 7 (𝑦 = 0 → ((𝑧 < 𝑦𝑧 = 𝑦𝑦 < 𝑧) ↔ (𝑧 < 0 ∨ 𝑧 = 0 ∨ 0 < 𝑧)))
127, 11rspc2v 2855 . . . . . 6 ((𝑧 ∈ ℝ ∧ 0 ∈ ℝ) → (∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) → (𝑧 < 0 ∨ 𝑧 = 0 ∨ 0 < 𝑧)))
132, 3, 12sylancl 413 . . . . 5 ((∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ∧ 𝑧 ∈ ℝ) → (∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) → (𝑧 < 0 ∨ 𝑧 = 0 ∨ 0 < 𝑧)))
141, 13mpd 13 . . . 4 ((∀𝑥 ∈ ℝ ∀𝑦 ∈ ℝ (𝑥 < 𝑦𝑥 = 𝑦𝑦 < 𝑥) ∧ 𝑧 ∈ ℝ) → (𝑧 < 0 ∨ 𝑧 = 0 ∨ 0 < 𝑧))
15 triap 14780 . . . . 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 4007 . . . . . . 7 (𝑧 = (𝑥𝑦) → (𝑧 # 0 ↔ (𝑥𝑦) # 0))
2019dcbid 838 . . . . . 6 (𝑧 = (𝑥𝑦) → (DECID 𝑧 # 0 ↔ DECID (𝑥𝑦) # 0))
21 simpl 109 . . . . . 6 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → ∀𝑧 ∈ ℝ DECID 𝑧 # 0)
22 resubcl 8221 . . . . . . 7 ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑥𝑦) ∈ ℝ)
2322adantl 277 . . . . . 6 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → (𝑥𝑦) ∈ ℝ)
2420, 21, 23rspcdva 2847 . . . . 5 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → DECID (𝑥𝑦) # 0)
25 simprl 529 . . . . . . . 8 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → 𝑥 ∈ ℝ)
2625recnd 7986 . . . . . . 7 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → 𝑥 ∈ ℂ)
27 simprr 531 . . . . . . . 8 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → 𝑦 ∈ ℝ)
2827recnd 7986 . . . . . . 7 ((∀𝑧 ∈ ℝ DECID 𝑧 # 0 ∧ (𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ)) → 𝑦 ∈ ℂ)
29 subap0 8600 . . . . . . 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 14780 . . . . 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 4004  (class class class)co 5875  cc 7809  cr 7810  0cc0 7811   < clt 7992  cmin 8128   # cap 8538
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 4122  ax-pow 4175  ax-pr 4210  ax-un 4434  ax-setind 4537  ax-cnex 7902  ax-resscn 7903  ax-1cn 7904  ax-1re 7905  ax-icn 7906  ax-addcl 7907  ax-addrcl 7908  ax-mulcl 7909  ax-mulrcl 7910  ax-addcom 7911  ax-mulcom 7912  ax-addass 7913  ax-mulass 7914  ax-distr 7915  ax-i2m1 7916  ax-0lt1 7917  ax-1rid 7918  ax-0id 7919  ax-rnegex 7920  ax-precex 7921  ax-cnre 7922  ax-pre-ltirr 7923  ax-pre-lttrn 7925  ax-pre-apti 7926  ax-pre-ltadd 7927  ax-pre-mulgt0 7928
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 2740  df-sbc 2964  df-dif 3132  df-un 3134  df-in 3136  df-ss 3143  df-pw 3578  df-sn 3599  df-pr 3600  df-op 3602  df-uni 3811  df-br 4005  df-opab 4066  df-id 4294  df-xp 4633  df-rel 4634  df-cnv 4635  df-co 4636  df-dm 4637  df-iota 5179  df-fun 5219  df-fv 5225  df-riota 5831  df-ov 5878  df-oprab 5879  df-mpo 5880  df-pnf 7994  df-mnf 7995  df-ltxr 7997  df-sub 8130  df-neg 8131  df-reap 8532  df-ap 8539
This theorem is referenced by:  dcapnconstALT  14812
  Copyright terms: Public domain W3C validator