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

Theorem suprzcl2 12961
Description: The supremum of a bounded-above set of integers is a member of the set. (This version of suprzcl 12680 avoids ax-pre-sup 11214.) (Contributed by Mario Carneiro, 21-Apr-2015.) (Revised by Mario Carneiro, 24-Dec-2016.)
Assertion
Ref Expression
suprzcl2 ((𝐴 ⊆ ℤ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℤ ∀𝑦𝐴 𝑦𝑥) → sup(𝐴, ℝ, < ) ∈ 𝐴)
Distinct variable group:   𝑥,𝑦,𝐴

Proof of Theorem suprzcl2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 zsupss 12960 . 2 ((𝐴 ⊆ ℤ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℤ ∀𝑦𝐴 𝑦𝑥) → ∃𝑥𝐴 (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
2 ssel2 3958 . . . . . . 7 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → 𝑥 ∈ ℤ)
32zred 12704 . . . . . 6 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → 𝑥 ∈ ℝ)
4 ltso 11322 . . . . . . . . . 10 < Or ℝ
54a1i 11 . . . . . . . . 9 (⊤ → < Or ℝ)
65eqsup 9477 . . . . . . . 8 (⊤ → ((𝑥 ∈ ℝ ∧ ∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) = 𝑥))
76mptru 1546 . . . . . . 7 ((𝑥 ∈ ℝ ∧ ∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) = 𝑥)
873expib 1122 . . . . . 6 (𝑥 ∈ ℝ → ((∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) = 𝑥))
93, 8syl 17 . . . . 5 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → ((∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) = 𝑥))
10 simpr 484 . . . . . 6 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → 𝑥𝐴)
11 eleq1 2821 . . . . . 6 (sup(𝐴, ℝ, < ) = 𝑥 → (sup(𝐴, ℝ, < ) ∈ 𝐴𝑥𝐴))
1210, 11syl5ibrcom 247 . . . . 5 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → (sup(𝐴, ℝ, < ) = 𝑥 → sup(𝐴, ℝ, < ) ∈ 𝐴))
139, 12syld 47 . . . 4 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → ((∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) ∈ 𝐴))
1413rexlimdva 3142 . . 3 (𝐴 ⊆ ℤ → (∃𝑥𝐴 (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) ∈ 𝐴))
15143ad2ant1 1133 . 2 ((𝐴 ⊆ ℤ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℤ ∀𝑦𝐴 𝑦𝑥) → (∃𝑥𝐴 (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) ∈ 𝐴))
161, 15mpd 15 1 ((𝐴 ⊆ ℤ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℤ ∀𝑦𝐴 𝑦𝑥) → sup(𝐴, ℝ, < ) ∈ 𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  w3a 1086   = wceq 1539  wtru 1540  wcel 2107  wne 2931  wral 3050  wrex 3059  wss 3931  c0 4313   class class class wbr 5123   Or wor 5571  supcsup 9461  cr 11135   < clt 11276  cle 11277  cz 12595
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1909  ax-6 1966  ax-7 2006  ax-8 2109  ax-9 2117  ax-10 2140  ax-11 2156  ax-12 2176  ax-ext 2706  ax-sep 5276  ax-nul 5286  ax-pow 5345  ax-pr 5412  ax-un 7736  ax-cnex 11192  ax-resscn 11193  ax-1cn 11194  ax-icn 11195  ax-addcl 11196  ax-addrcl 11197  ax-mulcl 11198  ax-mulrcl 11199  ax-mulcom 11200  ax-addass 11201  ax-mulass 11202  ax-distr 11203  ax-i2m1 11204  ax-1ne0 11205  ax-1rid 11206  ax-rnegex 11207  ax-rrecex 11208  ax-cnre 11209  ax-pre-lttri 11210  ax-pre-lttrn 11211  ax-pre-ltadd 11212  ax-pre-mulgt0 11213
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2064  df-mo 2538  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2808  df-nfc 2884  df-ne 2932  df-nel 3036  df-ral 3051  df-rex 3060  df-rmo 3363  df-reu 3364  df-rab 3420  df-v 3465  df-sbc 3771  df-csb 3880  df-dif 3934  df-un 3936  df-in 3938  df-ss 3948  df-pss 3951  df-nul 4314  df-if 4506  df-pw 4582  df-sn 4607  df-pr 4609  df-op 4613  df-uni 4888  df-iun 4973  df-br 5124  df-opab 5186  df-mpt 5206  df-tr 5240  df-id 5558  df-eprel 5564  df-po 5572  df-so 5573  df-fr 5617  df-we 5619  df-xp 5671  df-rel 5672  df-cnv 5673  df-co 5674  df-dm 5675  df-rn 5676  df-res 5677  df-ima 5678  df-pred 6301  df-ord 6366  df-on 6367  df-lim 6368  df-suc 6369  df-iota 6493  df-fun 6542  df-fn 6543  df-f 6544  df-f1 6545  df-fo 6546  df-f1o 6547  df-fv 6548  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7869  df-2nd 7996  df-frecs 8287  df-wrecs 8318  df-recs 8392  df-rdg 8431  df-er 8726  df-en 8967  df-dom 8968  df-sdom 8969  df-sup 9463  df-inf 9464  df-pnf 11278  df-mnf 11279  df-xr 11280  df-ltxr 11281  df-le 11282  df-sub 11475  df-neg 11476  df-nn 12248  df-n0 12509  df-z 12596  df-uz 12860
This theorem is referenced by:  suprzub  12962  gcdcllem3  16519  maxprmfct  16727  pcprecl  16858  prmreclem1  16935  0ram  17039  0ramcl  17042  gexex  19838
  Copyright terms: Public domain W3C validator