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 41843
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 41683 . . . . . . 7 (𝑘𝑍𝑘 ∈ ℤ)
32adantl 484 . . . . . 6 ((𝜑𝑘𝑍) → 𝑘 ∈ ℤ)
4 uzinico.1 . . . . . . . . . 10 (𝜑𝑀 ∈ ℤ)
54zred 12090 . . . . . . . . 9 (𝜑𝑀 ∈ ℝ)
65rexrd 10693 . . . . . . . 8 (𝜑𝑀 ∈ ℝ*)
76adantr 483 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑀 ∈ ℝ*)
8 pnfxr 10697 . . . . . . . 8 +∞ ∈ ℝ*
98a1i 11 . . . . . . 7 ((𝜑𝑘𝑍) → +∞ ∈ ℝ*)
10 zssre 11991 . . . . . . . . . 10 ℤ ⊆ ℝ
11 ressxr 10687 . . . . . . . . . 10 ℝ ⊆ ℝ*
1210, 11sstri 3978 . . . . . . . . 9 ℤ ⊆ ℝ*
1312, 2sseldi 3967 . . . . . . . 8 (𝑘𝑍𝑘 ∈ ℝ*)
1413adantl 484 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑘 ∈ ℝ*)
151eleq2i 2906 . . . . . . . . . 10 (𝑘𝑍𝑘 ∈ (ℤ𝑀))
1615biimpi 218 . . . . . . . . 9 (𝑘𝑍𝑘 ∈ (ℤ𝑀))
17 eluzle 12259 . . . . . . . . 9 (𝑘 ∈ (ℤ𝑀) → 𝑀𝑘)
1816, 17syl 17 . . . . . . . 8 (𝑘𝑍𝑀𝑘)
1918adantl 484 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑀𝑘)
2010, 2sseldi 3967 . . . . . . . . 9 (𝑘𝑍𝑘 ∈ ℝ)
2120ltpnfd 12519 . . . . . . . 8 (𝑘𝑍𝑘 < +∞)
2221adantl 484 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑘 < +∞)
237, 9, 14, 19, 22elicod 12790 . . . . . 6 ((𝜑𝑘𝑍) → 𝑘 ∈ (𝑀[,)+∞))
243, 23elind 4173 . . . . 5 ((𝜑𝑘𝑍) → 𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)))
2524ex 415 . . . 4 (𝜑 → (𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
264adantr 483 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑀 ∈ ℤ)
27 elinel1 4174 . . . . . . 7 (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘 ∈ ℤ)
2827adantl 484 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘 ∈ ℤ)
29 elinel2 4175 . . . . . . . 8 (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘 ∈ (𝑀[,)+∞))
3029adantl 484 . . . . . . 7 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘 ∈ (𝑀[,)+∞))
316adantr 483 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑀 ∈ ℝ*)
328a1i 11 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → +∞ ∈ ℝ*)
33 simpr 487 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑘 ∈ (𝑀[,)+∞))
3431, 32, 33icogelbd 41841 . . . . . . 7 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑀𝑘)
3530, 34syldan 593 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑀𝑘)
361, 26, 28, 35eluzd 41689 . . . . 5 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘𝑍)
3736ex 415 . . . 4 (𝜑 → (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘𝑍))
3825, 37impbid 214 . . 3 (𝜑 → (𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
3938alrimiv 1928 . 2 (𝜑 → ∀𝑘(𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
40 dfcleq 2817 . 2 (𝑍 = (ℤ ∩ (𝑀[,)+∞)) ↔ ∀𝑘(𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
4139, 40sylibr 236 1 (𝜑𝑍 = (ℤ ∩ (𝑀[,)+∞)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1535   = wceq 1537  wcel 2114  cin 3937   class class class wbr 5068  cfv 6357  (class class class)co 7158  cr 10538  +∞cpnf 10674  *cxr 10676   < clt 10677  cle 10678  cz 11984  cuz 12246  [,)cico 12743
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463  ax-cnex 10595  ax-resscn 10596
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-fv 6365  df-ov 7161  df-oprab 7162  df-mpo 7163  df-pnf 10679  df-xr 10681  df-ltxr 10682  df-neg 10875  df-z 11985  df-uz 12247  df-ico 12747
This theorem is referenced by:  uzinico2  41845  limsupresuz  41991  liminfresuz  42072
  Copyright terms: Public domain W3C validator