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 46073
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 45915 . . . . . . 7 (𝑘𝑍𝑘 ∈ ℤ)
32adantl 484 . . . . . 6 ((𝜑𝑘𝑍) → 𝑘 ∈ ℤ)
4 uzinico.1 . . . . . . . . . 10 (𝜑𝑀 ∈ ℤ)
54zred 12663 . . . . . . . . 9 (𝜑𝑀 ∈ ℝ)
65rexrd 11218 . . . . . . . 8 (𝜑𝑀 ∈ ℝ*)
76adantr 483 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑀 ∈ ℝ*)
8 pnfxr 11222 . . . . . . . 8 +∞ ∈ ℝ*
98a1i 11 . . . . . . 7 ((𝜑𝑘𝑍) → +∞ ∈ ℝ*)
10 zssre 12561 . . . . . . . . . 10 ℤ ⊆ ℝ
11 ressxr 11212 . . . . . . . . . 10 ℝ ⊆ ℝ*
1210, 11sstri 3936 . . . . . . . . 9 ℤ ⊆ ℝ*
1312, 2sselid 3925 . . . . . . . 8 (𝑘𝑍𝑘 ∈ ℝ*)
1413adantl 484 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑘 ∈ ℝ*)
151eleq2i 2844 . . . . . . . . . 10 (𝑘𝑍𝑘 ∈ (ℤ𝑀))
1615biimpi 218 . . . . . . . . 9 (𝑘𝑍𝑘 ∈ (ℤ𝑀))
17 eluzle 12838 . . . . . . . . 9 (𝑘 ∈ (ℤ𝑀) → 𝑀𝑘)
1816, 17syl 17 . . . . . . . 8 (𝑘𝑍𝑀𝑘)
1918adantl 484 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑀𝑘)
2010, 2sselid 3925 . . . . . . . . 9 (𝑘𝑍𝑘 ∈ ℝ)
2120ltpnfd 13109 . . . . . . . 8 (𝑘𝑍𝑘 < +∞)
2221adantl 484 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑘 < +∞)
237, 9, 14, 19, 22elicod 13385 . . . . . 6 ((𝜑𝑘𝑍) → 𝑘 ∈ (𝑀[,)+∞))
243, 23elind 4143 . . . . 5 ((𝜑𝑘𝑍) → 𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)))
2524ex 415 . . . 4 (𝜑 → (𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
264adantr 483 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑀 ∈ ℤ)
27 elinel1 4144 . . . . . . 7 (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘 ∈ ℤ)
2827adantl 484 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘 ∈ ℤ)
29 elinel2 4145 . . . . . . . 8 (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘 ∈ (𝑀[,)+∞))
3029adantl 484 . . . . . . 7 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘 ∈ (𝑀[,)+∞))
316adantr 483 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑀 ∈ ℝ*)
328a1i 11 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → +∞ ∈ ℝ*)
33 simpr 487 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑘 ∈ (𝑀[,)+∞))
3431, 32, 33icogelbd 13387 . . . . . . 7 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑀𝑘)
3530, 34syldan 599 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑀𝑘)
361, 26, 28, 35eluzd 45921 . . . . 5 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘𝑍)
3736ex 415 . . . 4 (𝜑 → (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘𝑍))
3825, 37impbid 214 . . 3 (𝜑 → (𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
3938alrimiv 1937 . 2 (𝜑 → ∀𝑘(𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
40 dfcleq 2745 . 2 (𝑍 = (ℤ ∩ (𝑀[,)+∞)) ↔ ∀𝑘(𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
4139, 40sylibr 236 1 (𝜑𝑍 = (ℤ ∩ (𝑀[,)+∞)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1548   = wceq 1550  wcel 2132  cin 3894   class class class wbr 5090  cfv 6506  (class class class)co 7381  cr 11058  +∞cpnf 11199  *cxr 11201   < clt 11202  cle 11203  cz 12554  cuz 12825  [,)cico 13337
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1805  ax-4 1819  ax-5 1920  ax-6 1977  ax-7 2018  ax-8 2134  ax-9 2142  ax-10 2165  ax-11 2181  ax-12 2202  ax-ext 2724  ax-sep 5236  ax-nul 5246  ax-pow 5312  ax-pr 5380  ax-un 7703  ax-cnex 11115  ax-resscn 11116
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 857  df-3or 1096  df-3an 1097  df-tru 1553  df-fal 1563  df-ex 1790  df-nf 1794  df-sb 2081  df-mo 2556  df-eu 2586  df-clab 2731  df-cleq 2744  df-clel 2827  df-nfc 2901  df-ne 2948  df-ral 3067  df-rex 3077  df-rab 3405  df-v 3446  df-sbc 3736  df-dif 3898  df-un 3900  df-in 3902  df-ss 3912  df-nul 4277  df-if 4471  df-pw 4547  df-sn 4573  df-pr 4575  df-op 4579  df-uni 4856  df-br 5091  df-opab 5153  df-mpt 5172  df-id 5531  df-xp 5642  df-rel 5643  df-cnv 5644  df-co 5645  df-dm 5646  df-rn 5647  df-res 5648  df-ima 5649  df-iota 6462  df-fun 6508  df-fn 6509  df-f 6510  df-fv 6514  df-ov 7384  df-oprab 7385  df-mpo 7386  df-pnf 11204  df-xr 11206  df-ltxr 11207  df-neg 11403  df-z 12555  df-uz 12826  df-ico 13341
This theorem is referenced by:  uzinico2  46075  limsupresuz  46215  liminfresuz  46296
  Copyright terms: Public domain W3C validator