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 45478
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 45318 . . . . . . 7 (𝑘𝑍𝑘 ∈ ℤ)
32adantl 481 . . . . . 6 ((𝜑𝑘𝑍) → 𝑘 ∈ ℤ)
4 uzinico.1 . . . . . . . . . 10 (𝜑𝑀 ∈ ℤ)
54zred 12747 . . . . . . . . 9 (𝜑𝑀 ∈ ℝ)
65rexrd 11340 . . . . . . . 8 (𝜑𝑀 ∈ ℝ*)
76adantr 480 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑀 ∈ ℝ*)
8 pnfxr 11344 . . . . . . . 8 +∞ ∈ ℝ*
98a1i 11 . . . . . . 7 ((𝜑𝑘𝑍) → +∞ ∈ ℝ*)
10 zssre 12646 . . . . . . . . . 10 ℤ ⊆ ℝ
11 ressxr 11334 . . . . . . . . . 10 ℝ ⊆ ℝ*
1210, 11sstri 4018 . . . . . . . . 9 ℤ ⊆ ℝ*
1312, 2sselid 4006 . . . . . . . 8 (𝑘𝑍𝑘 ∈ ℝ*)
1413adantl 481 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑘 ∈ ℝ*)
151eleq2i 2836 . . . . . . . . . 10 (𝑘𝑍𝑘 ∈ (ℤ𝑀))
1615biimpi 216 . . . . . . . . 9 (𝑘𝑍𝑘 ∈ (ℤ𝑀))
17 eluzle 12916 . . . . . . . . 9 (𝑘 ∈ (ℤ𝑀) → 𝑀𝑘)
1816, 17syl 17 . . . . . . . 8 (𝑘𝑍𝑀𝑘)
1918adantl 481 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑀𝑘)
2010, 2sselid 4006 . . . . . . . . 9 (𝑘𝑍𝑘 ∈ ℝ)
2120ltpnfd 13184 . . . . . . . 8 (𝑘𝑍𝑘 < +∞)
2221adantl 481 . . . . . . 7 ((𝜑𝑘𝑍) → 𝑘 < +∞)
237, 9, 14, 19, 22elicod 13457 . . . . . 6 ((𝜑𝑘𝑍) → 𝑘 ∈ (𝑀[,)+∞))
243, 23elind 4223 . . . . 5 ((𝜑𝑘𝑍) → 𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)))
2524ex 412 . . . 4 (𝜑 → (𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
264adantr 480 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑀 ∈ ℤ)
27 elinel1 4224 . . . . . . 7 (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘 ∈ ℤ)
2827adantl 481 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘 ∈ ℤ)
29 elinel2 4225 . . . . . . . 8 (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘 ∈ (𝑀[,)+∞))
3029adantl 481 . . . . . . 7 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘 ∈ (𝑀[,)+∞))
316adantr 480 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑀 ∈ ℝ*)
328a1i 11 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → +∞ ∈ ℝ*)
33 simpr 484 . . . . . . . 8 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑘 ∈ (𝑀[,)+∞))
3431, 32, 33icogelbd 45476 . . . . . . 7 ((𝜑𝑘 ∈ (𝑀[,)+∞)) → 𝑀𝑘)
3530, 34syldan 590 . . . . . 6 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑀𝑘)
361, 26, 28, 35eluzd 45324 . . . . 5 ((𝜑𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))) → 𝑘𝑍)
3736ex 412 . . . 4 (𝜑 → (𝑘 ∈ (ℤ ∩ (𝑀[,)+∞)) → 𝑘𝑍))
3825, 37impbid 212 . . 3 (𝜑 → (𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
3938alrimiv 1926 . 2 (𝜑 → ∀𝑘(𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
40 dfcleq 2733 . 2 (𝑍 = (ℤ ∩ (𝑀[,)+∞)) ↔ ∀𝑘(𝑘𝑍𝑘 ∈ (ℤ ∩ (𝑀[,)+∞))))
4139, 40sylibr 234 1 (𝜑𝑍 = (ℤ ∩ (𝑀[,)+∞)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  wal 1535   = wceq 1537  wcel 2108  cin 3975   class class class wbr 5166  cfv 6573  (class class class)co 7448  cr 11183  +∞cpnf 11321  *cxr 11323   < clt 11324  cle 11325  cz 12639  cuz 12903  [,)cico 13409
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pow 5383  ax-pr 5447  ax-un 7770  ax-cnex 11240  ax-resscn 11241
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3or 1088  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-sbc 3805  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-nul 4353  df-if 4549  df-pw 4624  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-br 5167  df-opab 5229  df-mpt 5250  df-id 5593  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-iota 6525  df-fun 6575  df-fn 6576  df-f 6577  df-fv 6581  df-ov 7451  df-oprab 7452  df-mpo 7453  df-pnf 11326  df-xr 11328  df-ltxr 11329  df-neg 11523  df-z 12640  df-uz 12904  df-ico 13413
This theorem is referenced by:  uzinico2  45480  limsupresuz  45624  liminfresuz  45705
  Copyright terms: Public domain W3C validator