ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  suprzcl2dc GIF version

Theorem suprzcl2dc 11997
Description: The supremum of a bounded-above decidable set of integers is a member of the set. (This theorem avoids ax-pre-suploc 7967.) (Contributed by Mario Carneiro, 21-Apr-2015.) (Revised by Jim Kingdon, 6-Oct-2024.)
Hypotheses
Ref Expression
suprzcl2dc.ss (𝜑𝐴 ⊆ ℤ)
suprzcl2dc.dc (𝜑 → ∀𝑥 ∈ ℤ DECID 𝑥𝐴)
suprzcl2dc.ub (𝜑 → ∃𝑥 ∈ ℤ ∀𝑦𝐴 𝑦𝑥)
suprzcl2dc.m (𝜑 → ∃𝑥 𝑥𝐴)
Assertion
Ref Expression
suprzcl2dc (𝜑 → sup(𝐴, ℝ, < ) ∈ 𝐴)
Distinct variable groups:   𝑥,𝐴,𝑦   𝜑,𝑥,𝑦

Proof of Theorem suprzcl2dc
Dummy variables 𝑢 𝑣 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 suprzcl2dc.ss . . 3 (𝜑𝐴 ⊆ ℤ)
2 suprzcl2dc.m . . 3 (𝜑 → ∃𝑥 𝑥𝐴)
3 suprzcl2dc.dc . . 3 (𝜑 → ∀𝑥 ∈ ℤ DECID 𝑥𝐴)
4 suprzcl2dc.ub . . 3 (𝜑 → ∃𝑥 ∈ ℤ ∀𝑦𝐴 𝑦𝑥)
51, 2, 3, 4zsupssdc 11996 . 2 (𝜑 → ∃𝑥𝐴 (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
61adantr 276 . . . . . 6 ((𝜑 ∧ (𝑥𝐴 ∧ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))) → 𝐴 ⊆ ℤ)
7 simprl 529 . . . . . 6 ((𝜑 ∧ (𝑥𝐴 ∧ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))) → 𝑥𝐴)
86, 7sseldd 3171 . . . . 5 ((𝜑 ∧ (𝑥𝐴 ∧ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))) → 𝑥 ∈ ℤ)
98zred 9410 . . . 4 ((𝜑 ∧ (𝑥𝐴 ∧ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))) → 𝑥 ∈ ℝ)
10 simprrl 539 . . . 4 ((𝜑 ∧ (𝑥𝐴 ∧ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))) → ∀𝑦𝐴 ¬ 𝑥 < 𝑦)
11 simprrr 540 . . . 4 ((𝜑 ∧ (𝑥𝐴 ∧ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))) → ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))
12 lttri3 8072 . . . . . 6 ((𝑢 ∈ ℝ ∧ 𝑣 ∈ ℝ) → (𝑢 = 𝑣 ↔ (¬ 𝑢 < 𝑣 ∧ ¬ 𝑣 < 𝑢)))
1312adantl 277 . . . . 5 (((𝜑 ∧ (𝑥𝐴 ∧ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))) ∧ (𝑢 ∈ ℝ ∧ 𝑣 ∈ ℝ)) → (𝑢 = 𝑣 ↔ (¬ 𝑢 < 𝑣 ∧ ¬ 𝑣 < 𝑢)))
1413eqsupti 7029 . . . 4 ((𝜑 ∧ (𝑥𝐴 ∧ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))) → ((𝑥 ∈ ℝ ∧ ∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) = 𝑥))
159, 10, 11, 14mp3and 1351 . . 3 ((𝜑 ∧ (𝑥𝐴 ∧ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))) → sup(𝐴, ℝ, < ) = 𝑥)
1615, 7eqeltrd 2266 . 2 ((𝜑 ∧ (𝑥𝐴 ∧ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))) → sup(𝐴, ℝ, < ) ∈ 𝐴)
175, 16rexlimddv 2612 1 (𝜑 → sup(𝐴, ℝ, < ) ∈ 𝐴)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  DECID wdc 835   = wceq 1364  wex 1503  wcel 2160  wral 2468  wrex 2469  wss 3144   class class class wbr 4021  supcsup 7015  cr 7845   < clt 8027  cle 8028  cz 9288
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 615  ax-in2 616  ax-io 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2162  ax-14 2163  ax-ext 2171  ax-sep 4139  ax-pow 4195  ax-pr 4230  ax-un 4454  ax-setind 4557  ax-cnex 7937  ax-resscn 7938  ax-1cn 7939  ax-1re 7940  ax-icn 7941  ax-addcl 7942  ax-addrcl 7943  ax-mulcl 7944  ax-addcom 7946  ax-addass 7948  ax-distr 7950  ax-i2m1 7951  ax-0lt1 7952  ax-0id 7954  ax-rnegex 7955  ax-cnre 7957  ax-pre-ltirr 7958  ax-pre-ltwlin 7959  ax-pre-lttrn 7960  ax-pre-apti 7961  ax-pre-ltadd 7962
This theorem depends on definitions:  df-bi 117  df-dc 836  df-3or 981  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1472  df-sb 1774  df-eu 2041  df-mo 2042  df-clab 2176  df-cleq 2182  df-clel 2185  df-nfc 2321  df-ne 2361  df-nel 2456  df-ral 2473  df-rex 2474  df-reu 2475  df-rmo 2476  df-rab 2477  df-v 2754  df-sbc 2978  df-csb 3073  df-dif 3146  df-un 3148  df-in 3150  df-ss 3157  df-pw 3595  df-sn 3616  df-pr 3617  df-op 3619  df-uni 3828  df-int 3863  df-iun 3906  df-br 4022  df-opab 4083  df-mpt 4084  df-id 4314  df-po 4317  df-iso 4318  df-xp 4653  df-rel 4654  df-cnv 4655  df-co 4656  df-dm 4657  df-rn 4658  df-res 4659  df-ima 4660  df-iota 5199  df-fun 5240  df-fn 5241  df-f 5242  df-f1 5243  df-fo 5244  df-f1o 5245  df-fv 5246  df-isom 5247  df-riota 5855  df-ov 5903  df-oprab 5904  df-mpo 5905  df-1st 6169  df-2nd 6170  df-sup 7017  df-inf 7018  df-pnf 8029  df-mnf 8030  df-xr 8031  df-ltxr 8032  df-le 8033  df-sub 8165  df-neg 8166  df-inn 8955  df-n0 9212  df-z 9289  df-uz 9564  df-fz 10045  df-fzo 10179
This theorem is referenced by:  pcprecl  12332
  Copyright terms: Public domain W3C validator