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 45512
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 45352 . . . . . . 7 (𝑘𝑍𝑘 ∈ ℤ)
32adantl 481 . . . . . 6 ((𝜑𝑘𝑍) → 𝑘 ∈ ℤ)
4 uzinico.1 . . . . . . . . . 10 (𝜑𝑀 ∈ ℤ)
54zred 12719 . . . . . . . . 9 (𝜑𝑀 ∈ ℝ)
65rexrd 11308 . . . . . . . 8 (𝜑𝑀 ∈ ℝ*)
76adantr 480 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑀 ∈ ℝ*)
8 pnfxr 11312 . . . . . . . 8 +∞ ∈ ℝ*
98a1i 11 . . . . . . 7 ((𝜑𝑘𝑍) → +∞ ∈ ℝ*)
10 zssre 12617 . . . . . . . . . 10 ℤ ⊆ ℝ
11 ressxr 11302 . . . . . . . . . 10 ℝ ⊆ ℝ*
1210, 11sstri 4004 . . . . . . . . 9 ℤ ⊆ ℝ*
1312, 2sselid 3992 . . . . . . . 8 (𝑘𝑍𝑘 ∈ ℝ*)
1413adantl 481 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑘 ∈ ℝ*)
151eleq2i 2830 . . . . . . . . . 10 (𝑘𝑍𝑘 ∈ (ℤ𝑀))
1615biimpi 216 . . . . . . . . 9 (𝑘𝑍𝑘 ∈ (ℤ𝑀))
17 eluzle 12888 . . . . . . . . 9 (𝑘 ∈ (ℤ𝑀) → 𝑀𝑘)
1816, 17syl 17 . . . . . . . 8 (𝑘𝑍𝑀𝑘)
1918adantl 481 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑀𝑘)
2010, 2sselid 3992 . . . . . . . . 9 (𝑘𝑍𝑘 ∈ ℝ)
2120ltpnfd 13160 . . . . . . . 8 (𝑘𝑍𝑘 < +∞)
2221adantl 481 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑘 < +∞)
237, 9, 14, 19, 22elicod 13433 . . . . . 6 ((𝜑𝑘𝑍) → 𝑘 ∈ (𝑀[,)+∞))
243, 23elind 4209 . . . . 5 ((𝜑𝑘𝑍) → 𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)))
2524ex 412 . . . 4 (𝜑 → (𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
264adantr 480 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑀 ∈ ℤ)
27 elinel1 4210 . . . . . . 7 (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘 ∈ ℤ)
2827adantl 481 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘 ∈ ℤ)
29 elinel2 4211 . . . . . . . 8 (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘 ∈ (𝑀[,)+∞))
3029adantl 481 . . . . . . 7 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘 ∈ (𝑀[,)+∞))
316adantr 480 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑀 ∈ ℝ*)
328a1i 11 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → +∞ ∈ ℝ*)
33 simpr 484 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑘 ∈ (𝑀[,)+∞))
3431, 32, 33icogelbd 45510 . . . . . . 7 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑀𝑘)
3530, 34syldan 591 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑀𝑘)
361, 26, 28, 35eluzd 45358 . . . . 5 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘𝑍)
3736ex 412 . . . 4 (𝜑 → (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘𝑍))
3825, 37impbid 212 . . 3 (𝜑 → (𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
3938alrimiv 1924 . 2 (𝜑 → ∀𝑘(𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
40 dfcleq 2727 . 2 (𝑍 = (ℤ ∩ (𝑀[,)+∞)) ↔ ∀𝑘(𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
4139, 40sylibr 234 1 (𝜑𝑍 = (ℤ ∩ (𝑀[,)+∞)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  wal 1534   = wceq 1536  wcel 2105  cin 3961   class class class wbr 5147  cfv 6562  (class class class)co 7430  cr 11151  +∞cpnf 11289  *cxr 11291   < clt 11292  cle 11293  cz 12610  cuz 12875  [,)cico 13385
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1791  ax-4 1805  ax-5 1907  ax-6 1964  ax-7 2004  ax-8 2107  ax-9 2115  ax-10 2138  ax-11 2154  ax-12 2174  ax-ext 2705  ax-sep 5301  ax-nul 5311  ax-pow 5370  ax-pr 5437  ax-un 7753  ax-cnex 11208  ax-resscn 11209
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1539  df-fal 1549  df-ex 1776  df-nf 1780  df-sb 2062  df-mo 2537  df-eu 2566  df-clab 2712  df-cleq 2726  df-clel 2813  df-nfc 2889  df-ral 3059  df-rex 3068  df-rab 3433  df-v 3479  df-sbc 3791  df-dif 3965  df-un 3967  df-in 3969  df-ss 3979  df-nul 4339  df-if 4531  df-pw 4606  df-sn 4631  df-pr 4633  df-op 4637  df-uni 4912  df-br 5148  df-opab 5210  df-mpt 5231  df-id 5582  df-xp 5694  df-rel 5695  df-cnv 5696  df-co 5697  df-dm 5698  df-rn 5699  df-res 5700  df-ima 5701  df-iota 6515  df-fun 6564  df-fn 6565  df-f 6566  df-fv 6570  df-ov 7433  df-oprab 7434  df-mpo 7435  df-pnf 11294  df-xr 11296  df-ltxr 11297  df-neg 11492  df-z 12611  df-uz 12876  df-ico 13389
This theorem is referenced by:  uzinico2  45514  limsupresuz  45658  liminfresuz  45739
  Copyright terms: Public domain W3C validator