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

Theorem suprzclex 9749
Description: The supremum of a set of integers is an element of the set. (Contributed by Jim Kingdon, 20-Dec-2021.)
Hypotheses
Ref Expression
suprzclex.ex (𝜑 → ∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)))
suprzclex.ss (𝜑 → 𝐴 ⊆ ℤ)
Assertion
Ref Expression
suprzclex (𝜑 → sup(𝐴, ℝ, < ) ∈ 𝐴)
Distinct variable groups:   𝑥,𝐴,𝑦,𝑧   𝜑,𝑥,𝑧
Allowed substitution hint:   𝜑(𝑦)

Proof of Theorem suprzclex
Dummy variables 𝑤 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 lttri3 8406 . . . . . 6 ((𝑓 ∈ ℝ ∧ 𝑔 ∈ ℝ) → (𝑓 = 𝑔 ↔ (¬ 𝑓 < 𝑔 ∧ ¬ 𝑔 < 𝑓)))
21adantl 277 . . . . 5 ((𝜑 ∧ (𝑓 ∈ ℝ ∧ 𝑔 ∈ ℝ)) → (𝑓 = 𝑔 ↔ (¬ 𝑓 < 𝑔 ∧ ¬ 𝑔 < 𝑓)))
3 suprzclex.ex . . . . 5 (𝜑 → ∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)))
42, 3supclti 7339 . . . 4 (𝜑 → sup(𝐴, ℝ, < ) ∈ ℝ)
54ltm1d 9265 . . 3 (𝜑 → (sup(𝐴, ℝ, < ) − 1) < sup(𝐴, ℝ, < ))
6 suprzclex.ss . . . . 5 (𝜑 → 𝐴 ⊆ ℤ)
7 zssre 9656 . . . . 5 ℤ ⊆ ℝ
86, 7sstrdi 3260 . . . 4 (𝜑 → 𝐴 ⊆ ℝ)
9 peano2rem 8595 . . . . 5 (sup(𝐴, ℝ, < ) ∈ ℝ → (sup(𝐴, ℝ, < ) − 1) ∈ ℝ)
104, 9syl 14 . . . 4 (𝜑 → (sup(𝐴, ℝ, < ) − 1) ∈ ℝ)
113, 8, 10suprlubex 9285 . . 3 (𝜑 → ((sup(𝐴, ℝ, < ) − 1) < sup(𝐴, ℝ, < ) ↔ ∃𝑧 ∈ 𝐴 (sup(𝐴, ℝ, < ) − 1) < 𝑧))
125, 11mpbid 147 . 2 (𝜑 → ∃𝑧 ∈ 𝐴 (sup(𝐴, ℝ, < ) − 1) < 𝑧)
136adantr 276 . . . . . . . . . 10 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → 𝐴 ⊆ ℤ)
1413sselda 3248 . . . . . . . . 9 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → 𝑤 ∈ ℤ)
157, 14sselid 3246 . . . . . . . 8 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → 𝑤 ∈ ℝ)
164adantr 276 . . . . . . . . 9 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → sup(𝐴, ℝ, < ) ∈ ℝ)
1716adantr 276 . . . . . . . 8 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → sup(𝐴, ℝ, < ) ∈ ℝ)
18 simprl 535 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → 𝑧 ∈ 𝐴)
1913, 18sseldd 3249 . . . . . . . . . . 11 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → 𝑧 ∈ ℤ)
20 zre 9653 . . . . . . . . . . 11 (𝑧 ∈ ℤ → 𝑧 ∈ ℝ)
2119, 20syl 14 . . . . . . . . . 10 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → 𝑧 ∈ ℝ)
22 peano2re 8464 . . . . . . . . . 10 (𝑧 ∈ ℝ → (𝑧 + 1) ∈ ℝ)
2321, 22syl 14 . . . . . . . . 9 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → (𝑧 + 1) ∈ ℝ)
2423adantr 276 . . . . . . . 8 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → (𝑧 + 1) ∈ ℝ)
253ad2antrr 492 . . . . . . . . 9 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → ∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)))
268ad2antrr 492 . . . . . . . . 9 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → 𝐴 ⊆ ℝ)
27 simpr 110 . . . . . . . . 9 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → 𝑤 ∈ 𝐴)
2825, 26, 27suprubex 9284 . . . . . . . 8 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → 𝑤 ≤ sup(𝐴, ℝ, < ))
29 simprr 537 . . . . . . . . . 10 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → (sup(𝐴, ℝ, < ) − 1) < 𝑧)
30 1red 8342 . . . . . . . . . . 11 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → 1 ∈ ℝ)
3116, 30, 21ltsubaddd 8871 . . . . . . . . . 10 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → ((sup(𝐴, ℝ, < ) − 1) < 𝑧 ↔ sup(𝐴, ℝ, < ) < (𝑧 + 1)))
3229, 31mpbid 147 . . . . . . . . 9 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → sup(𝐴, ℝ, < ) < (𝑧 + 1))
3332adantr 276 . . . . . . . 8 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → sup(𝐴, ℝ, < ) < (𝑧 + 1))
3415, 17, 24, 28, 33lelttrd 8453 . . . . . . 7 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → 𝑤 < (𝑧 + 1))
3519adantr 276 . . . . . . . 8 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → 𝑧 ∈ ℤ)
36 zleltp1 9705 . . . . . . . 8 ((𝑤 ∈ ℤ ∧ 𝑧 ∈ ℤ) → (𝑤 ≤ 𝑧 ↔ 𝑤 < (𝑧 + 1)))
3714, 35, 36syl2anc 415 . . . . . . 7 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → (𝑤 ≤ 𝑧 ↔ 𝑤 < (𝑧 + 1)))
3834, 37mpbird 167 . . . . . 6 (((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) ∧ 𝑤 ∈ 𝐴) → 𝑤 ≤ 𝑧)
3938ralrimiva 2623 . . . . 5 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → ∀𝑤 ∈ 𝐴 𝑤 ≤ 𝑧)
40 breq2 4134 . . . . . . . . . . . . 13 (𝑧 = 𝑤 → (𝑦 < 𝑧 ↔ 𝑦 < 𝑤))
4140cbvrexv 2787 . . . . . . . . . . . 12 (∃𝑧 ∈ 𝐴 𝑦 < 𝑧 ↔ ∃𝑤 ∈ 𝐴 𝑦 < 𝑤)
4241imbi2i 226 . . . . . . . . . . 11 ((𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧) ↔ (𝑦 < 𝑥 → ∃𝑤 ∈ 𝐴 𝑦 < 𝑤))
4342ralbii 2556 . . . . . . . . . 10 (∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧) ↔ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑤 ∈ 𝐴 𝑦 < 𝑤))
4443anbi2i 461 . . . . . . . . 9 ((∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)) ↔ (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑤 ∈ 𝐴 𝑦 < 𝑤)))
4544rexbii 2557 . . . . . . . 8 (∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)) ↔ ∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑤 ∈ 𝐴 𝑦 < 𝑤)))
463, 45sylib 122 . . . . . . 7 (𝜑 → ∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑤 ∈ 𝐴 𝑦 < 𝑤)))
4746adantr 276 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → ∃𝑥 ∈ ℝ (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑤 ∈ 𝐴 𝑦 < 𝑤)))
4813, 7sstrdi 3260 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → 𝐴 ⊆ ℝ)
4947, 48, 21suprleubex 9287 . . . . 5 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → (sup(𝐴, ℝ, < ) ≤ 𝑧 ↔ ∀𝑤 ∈ 𝐴 𝑤 ≤ 𝑧))
5039, 49mpbird 167 . . . 4 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → sup(𝐴, ℝ, < ) ≤ 𝑧)
5147, 48, 18suprubex 9284 . . . 4 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → 𝑧 ≤ sup(𝐴, ℝ, < ))
5216, 21letri3d 8443 . . . 4 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → (sup(𝐴, ℝ, < ) = 𝑧 ↔ (sup(𝐴, ℝ, < ) ≤ 𝑧 ∧ 𝑧 ≤ sup(𝐴, ℝ, < ))))
5350, 51, 52mpbir2and 957 . . 3 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → sup(𝐴, ℝ, < ) = 𝑧)
5453, 18eqeltrd 2315 . 2 ((𝜑 ∧ (𝑧 ∈ 𝐴 ∧ (sup(𝐴, ℝ, < ) − 1) < 𝑧)) → sup(𝐴, ℝ, < ) ∈ 𝐴)
5512, 54rexlimddv 2673 1 (𝜑 → sup(𝐴, ℝ, < ) ∈ 𝐴)
Colors of variables:    wff set class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402   ∈ wcel 2209  ∀wral 2528  ∃wrex 2529   ⊆ wss 3220   class class class wbr 4130  (class class class)co 6085  supcsup 7323  ℝcr 8179  1c1 8181   + caddc 8183   < clt 8361   ≤ cle 8362   − cmin 8499  ℤcz 9649
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4249  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-setind 4684  ax-cnex 8271  ax-resscn 8272  ax-1cn 8273  ax-1re 8274  ax-icn 8275  ax-addcl 8276  ax-addrcl 8277  ax-mulcl 8278  ax-addcom 8280  ax-addass 8282  ax-distr 8284  ax-i2m1 8285  ax-0lt1 8286  ax-0id 8288  ax-rnegex 8289  ax-cnre 8291  ax-pre-ltirr 8292  ax-pre-ltwlin 8293  ax-pre-lttrn 8294  ax-pre-apti 8295  ax-pre-ltadd 8296
This proof depends on definitions:  df-bi 117  df-3or 1010  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-nel 2516  df-ral 2533  df-rex 2534  df-reu 2535  df-rmo 2536  df-rab 2537  df-v 2823  df-sbc 3052  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-br 4131  df-opab 4193  df-id 4438  df-po 4441  df-iso 4442  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-iota 5337  df-fun 5379  df-fv 5385  df-riota 6038  df-ov 6088  df-oprab 6089  df-mpo 6090  df-sup 7325  df-pnf 8363  df-mnf 8364  df-xr 8365  df-ltxr 8366  df-le 8367  df-sub 8501  df-neg 8502  df-inn 9308  df-n0 9569  df-z 9650
This theorem is used by:  infssuzcldc  10679  gcddvds  12759
  Copyright terms: Public domain W3C validator