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

Theorem suprzcl2 12987
Description: The supremum of a bounded-above set of integers is a member of the set. (This version of suprzcl 12705 avoids ax-pre-sup 11240.) (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 12986 . 2 ((𝐴 ⊆ ℤ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℤ ∀𝑦𝐴 𝑦𝑥) → ∃𝑥𝐴 (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
2 ssel2 3993 . . . . . . 7 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → 𝑥 ∈ ℤ)
32zred 12729 . . . . . 6 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → 𝑥 ∈ ℝ)
4 ltso 11348 . . . . . . . . . 10 < Or ℝ
54a1i 11 . . . . . . . . 9 (⊤ → < Or ℝ)
65eqsup 9503 . . . . . . . 8 (⊤ → ((𝑥 ∈ ℝ ∧ ∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) = 𝑥))
76mptru 1546 . . . . . . 7 ((𝑥 ∈ ℝ ∧ ∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) = 𝑥)
873expib 1123 . . . . . 6 (𝑥 ∈ ℝ → ((∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) = 𝑥))
93, 8syl 17 . . . . 5 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → ((∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) = 𝑥))
10 simpr 484 . . . . . 6 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → 𝑥𝐴)
11 eleq1 2829 . . . . . 6 (sup(𝐴, ℝ, < ) = 𝑥 → (sup(𝐴, ℝ, < ) ∈ 𝐴𝑥𝐴))
1210, 11syl5ibrcom 247 . . . . 5 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → (sup(𝐴, ℝ, < ) = 𝑥 → sup(𝐴, ℝ, < ) ∈ 𝐴))
139, 12syld 47 . . . 4 ((𝐴 ⊆ ℤ ∧ 𝑥𝐴) → ((∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) ∈ 𝐴))
1413rexlimdva 3155 . . 3 (𝐴 ⊆ ℤ → (∃𝑥𝐴 (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) ∈ 𝐴))
15143ad2ant1 1134 . 2 ((𝐴 ⊆ ℤ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℤ ∀𝑦𝐴 𝑦𝑥) → (∃𝑥𝐴 (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → sup(𝐴, ℝ, < ) ∈ 𝐴))
161, 15mpd 15 1 ((𝐴 ⊆ ℤ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℤ ∀𝑦𝐴 𝑦𝑥) → sup(𝐴, ℝ, < ) ∈ 𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  w3a 1087   = wceq 1539  wtru 1540  wcel 2108  wne 2940  wral 3061  wrex 3070  wss 3966  c0 4342   class class class wbr 5151   Or wor 5600  supcsup 9487  cr 11161   < clt 11302  cle 11303  cz 12620
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 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2708  ax-sep 5305  ax-nul 5315  ax-pow 5374  ax-pr 5441  ax-un 7761  ax-cnex 11218  ax-resscn 11219  ax-1cn 11220  ax-icn 11221  ax-addcl 11222  ax-addrcl 11223  ax-mulcl 11224  ax-mulrcl 11225  ax-mulcom 11226  ax-addass 11227  ax-mulass 11228  ax-distr 11229  ax-i2m1 11230  ax-1ne0 11231  ax-1rid 11232  ax-rnegex 11233  ax-rrecex 11234  ax-cnre 11235  ax-pre-lttri 11236  ax-pre-lttrn 11237  ax-pre-ltadd 11238  ax-pre-mulgt0 11239
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2065  df-mo 2540  df-eu 2569  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2892  df-ne 2941  df-nel 3047  df-ral 3062  df-rex 3071  df-rmo 3380  df-reu 3381  df-rab 3437  df-v 3483  df-sbc 3795  df-csb 3912  df-dif 3969  df-un 3971  df-in 3973  df-ss 3983  df-pss 3986  df-nul 4343  df-if 4535  df-pw 4610  df-sn 4635  df-pr 4637  df-op 4641  df-uni 4916  df-iun 5001  df-br 5152  df-opab 5214  df-mpt 5235  df-tr 5269  df-id 5587  df-eprel 5593  df-po 5601  df-so 5602  df-fr 5645  df-we 5647  df-xp 5699  df-rel 5700  df-cnv 5701  df-co 5702  df-dm 5703  df-rn 5704  df-res 5705  df-ima 5706  df-pred 6329  df-ord 6395  df-on 6396  df-lim 6397  df-suc 6398  df-iota 6522  df-fun 6571  df-fn 6572  df-f 6573  df-f1 6574  df-fo 6575  df-f1o 6576  df-fv 6577  df-riota 7395  df-ov 7441  df-oprab 7442  df-mpo 7443  df-om 7895  df-2nd 8023  df-frecs 8314  df-wrecs 8345  df-recs 8419  df-rdg 8458  df-er 8753  df-en 8994  df-dom 8995  df-sdom 8996  df-sup 9489  df-inf 9490  df-pnf 11304  df-mnf 11305  df-xr 11306  df-ltxr 11307  df-le 11308  df-sub 11501  df-neg 11502  df-nn 12274  df-n0 12534  df-z 12621  df-uz 12886
This theorem is referenced by:  suprzub  12988  gcdcllem3  16544  maxprmfct  16752  pcprecl  16882  prmreclem1  16959  0ram  17063  0ramcl  17066  gexex  19895
  Copyright terms: Public domain W3C validator