Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  uzinico Structured version   Visualization version   GIF version

Theorem uzinico 42197
Description: An upper interval of integers is the intersection of the integers with an upper part of the reals. (Contributed by Glauco Siliprandi, 23-Oct-2021.)
Hypotheses
Ref Expression
uzinico.1 (𝜑𝑀 ∈ ℤ)
uzinico.2 𝑍 = (ℤ𝑀)
Assertion
Ref Expression
uzinico (𝜑𝑍 = (ℤ ∩ (𝑀[,)+∞)))

Proof of Theorem uzinico
Dummy variable 𝑘 is distinct from all other variables.
StepHypRef Expression
1 uzinico.2 . . . . . . . 8 𝑍 = (ℤ𝑀)
21eluzelz2 42040 . . . . . . 7 (𝑘𝑍𝑘 ∈ ℤ)
32adantl 485 . . . . . 6 ((𝜑𝑘𝑍) → 𝑘 ∈ ℤ)
4 uzinico.1 . . . . . . . . . 10 (𝜑𝑀 ∈ ℤ)
54zred 12075 . . . . . . . . 9 (𝜑𝑀 ∈ ℝ)
65rexrd 10680 . . . . . . . 8 (𝜑𝑀 ∈ ℝ*)
76adantr 484 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑀 ∈ ℝ*)
8 pnfxr 10684 . . . . . . . 8 +∞ ∈ ℝ*
98a1i 11 . . . . . . 7 ((𝜑𝑘𝑍) → +∞ ∈ ℝ*)
10 zssre 11976 . . . . . . . . . 10 ℤ ⊆ ℝ
11 ressxr 10674 . . . . . . . . . 10 ℝ ⊆ ℝ*
1210, 11sstri 3924 . . . . . . . . 9 ℤ ⊆ ℝ*
1312, 2sseldi 3913 . . . . . . . 8 (𝑘𝑍𝑘 ∈ ℝ*)
1413adantl 485 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑘 ∈ ℝ*)
151eleq2i 2881 . . . . . . . . . 10 (𝑘𝑍𝑘 ∈ (ℤ𝑀))
1615biimpi 219 . . . . . . . . 9 (𝑘𝑍𝑘 ∈ (ℤ𝑀))
17 eluzle 12244 . . . . . . . . 9 (𝑘 ∈ (ℤ𝑀) → 𝑀𝑘)
1816, 17syl 17 . . . . . . . 8 (𝑘𝑍𝑀𝑘)
1918adantl 485 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑀𝑘)
2010, 2sseldi 3913 . . . . . . . . 9 (𝑘𝑍𝑘 ∈ ℝ)
2120ltpnfd 12504 . . . . . . . 8 (𝑘𝑍𝑘 < +∞)
2221adantl 485 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑘 < +∞)
237, 9, 14, 19, 22elicod 12775 . . . . . 6 ((𝜑𝑘𝑍) → 𝑘 ∈ (𝑀[,)+∞))
243, 23elind 4121 . . . . 5 ((𝜑𝑘𝑍) → 𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)))
2524ex 416 . . . 4 (𝜑 → (𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
264adantr 484 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑀 ∈ ℤ)
27 elinel1 4122 . . . . . . 7 (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘 ∈ ℤ)
2827adantl 485 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘 ∈ ℤ)
29 elinel2 4123 . . . . . . . 8 (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘 ∈ (𝑀[,)+∞))
3029adantl 485 . . . . . . 7 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘 ∈ (𝑀[,)+∞))
316adantr 484 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑀 ∈ ℝ*)
328a1i 11 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → +∞ ∈ ℝ*)
33 simpr 488 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑘 ∈ (𝑀[,)+∞))
3431, 32, 33icogelbd 42195 . . . . . . 7 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑀𝑘)
3530, 34syldan 594 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑀𝑘)
361, 26, 28, 35eluzd 42046 . . . . 5 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘𝑍)
3736ex 416 . . . 4 (𝜑 → (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘𝑍))
3825, 37impbid 215 . . 3 (𝜑 → (𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
3938alrimiv 1928 . 2 (𝜑 → ∀𝑘(𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
40 dfcleq 2792 . 2 (𝑍 = (ℤ ∩ (𝑀[,)+∞)) ↔ ∀𝑘(𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
4139, 40sylibr 237 1 (𝜑𝑍 = (ℤ ∩ (𝑀[,)+∞)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wal 1536   = wceq 1538  wcel 2111  cin 3880   class class class wbr 5030  cfv 6324  (class class class)co 7135  cr 10525  +∞cpnf 10661  *cxr 10663   < clt 10664  cle 10665  cz 11969  cuz 12231  [,)cico 12728
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-resscn 10583
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140  df-pnf 10666  df-xr 10668  df-ltxr 10669  df-neg 10862  df-z 11970  df-uz 12232  df-ico 12732
This theorem is referenced by:  uzinico2  42199  limsupresuz  42345  liminfresuz  42426
  Copyright terms: Public domain W3C validator