MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  uzrest Structured version   Visualization version   GIF version

Theorem uzrest 23046
Description: The restriction of the set of upper sets of integers to an upper set of integers is the set of upper sets of integers based at a point above the cutoff. (Contributed by Mario Carneiro, 13-Oct-2015.)
Hypothesis
Ref Expression
uzfbas.1 𝑍 = (ℤ𝑀)
Assertion
Ref Expression
uzrest (𝑀 ∈ ℤ → (ran ℤt 𝑍) = (ℤ𝑍))

Proof of Theorem uzrest
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 zex 12328 . . . . . 6 ℤ ∈ V
21pwex 5307 . . . . 5 𝒫 ℤ ∈ V
3 uzf 12584 . . . . . 6 :ℤ⟶𝒫 ℤ
4 frn 6605 . . . . . 6 (ℤ:ℤ⟶𝒫 ℤ → ran ℤ ⊆ 𝒫 ℤ)
53, 4ax-mp 5 . . . . 5 ran ℤ ⊆ 𝒫 ℤ
62, 5ssexi 5250 . . . 4 ran ℤ ∈ V
7 uzfbas.1 . . . . 5 𝑍 = (ℤ𝑀)
87fvexi 6785 . . . 4 𝑍 ∈ V
9 restval 17135 . . . 4 ((ran ℤ ∈ V ∧ 𝑍 ∈ V) → (ran ℤt 𝑍) = ran (𝑥 ∈ ran ℤ ↦ (𝑥𝑍)))
106, 8, 9mp2an 689 . . 3 (ran ℤt 𝑍) = ran (𝑥 ∈ ran ℤ ↦ (𝑥𝑍))
117ineq2i 4149 . . . . . . . . 9 ((ℤ𝑦) ∩ 𝑍) = ((ℤ𝑦) ∩ (ℤ𝑀))
12 uzin 12617 . . . . . . . . . 10 ((𝑦 ∈ ℤ ∧ 𝑀 ∈ ℤ) → ((ℤ𝑦) ∩ (ℤ𝑀)) = (ℤ‘if(𝑦𝑀, 𝑀, 𝑦)))
1312ancoms 459 . . . . . . . . 9 ((𝑀 ∈ ℤ ∧ 𝑦 ∈ ℤ) → ((ℤ𝑦) ∩ (ℤ𝑀)) = (ℤ‘if(𝑦𝑀, 𝑀, 𝑦)))
1411, 13eqtrid 2792 . . . . . . . 8 ((𝑀 ∈ ℤ ∧ 𝑦 ∈ ℤ) → ((ℤ𝑦) ∩ 𝑍) = (ℤ‘if(𝑦𝑀, 𝑀, 𝑦)))
15 ffn 6598 . . . . . . . . . 10 (ℤ:ℤ⟶𝒫 ℤ → ℤ Fn ℤ)
163, 15ax-mp 5 . . . . . . . . 9 Fn ℤ
17 uzssz 12602 . . . . . . . . . 10 (ℤ𝑀) ⊆ ℤ
187, 17eqsstri 3960 . . . . . . . . 9 𝑍 ⊆ ℤ
19 ifcl 4510 . . . . . . . . . . . 12 ((𝑀 ∈ ℤ ∧ 𝑦 ∈ ℤ) → if(𝑦𝑀, 𝑀, 𝑦) ∈ ℤ)
20 uzid 12596 . . . . . . . . . . . 12 (if(𝑦𝑀, 𝑀, 𝑦) ∈ ℤ → if(𝑦𝑀, 𝑀, 𝑦) ∈ (ℤ‘if(𝑦𝑀, 𝑀, 𝑦)))
2119, 20syl 17 . . . . . . . . . . 11 ((𝑀 ∈ ℤ ∧ 𝑦 ∈ ℤ) → if(𝑦𝑀, 𝑀, 𝑦) ∈ (ℤ‘if(𝑦𝑀, 𝑀, 𝑦)))
2221, 14eleqtrrd 2844 . . . . . . . . . 10 ((𝑀 ∈ ℤ ∧ 𝑦 ∈ ℤ) → if(𝑦𝑀, 𝑀, 𝑦) ∈ ((ℤ𝑦) ∩ 𝑍))
2322elin2d 4138 . . . . . . . . 9 ((𝑀 ∈ ℤ ∧ 𝑦 ∈ ℤ) → if(𝑦𝑀, 𝑀, 𝑦) ∈ 𝑍)
24 fnfvima 7106 . . . . . . . . 9 ((ℤ Fn ℤ ∧ 𝑍 ⊆ ℤ ∧ if(𝑦𝑀, 𝑀, 𝑦) ∈ 𝑍) → (ℤ‘if(𝑦𝑀, 𝑀, 𝑦)) ∈ (ℤ𝑍))
2516, 18, 23, 24mp3an12i 1464 . . . . . . . 8 ((𝑀 ∈ ℤ ∧ 𝑦 ∈ ℤ) → (ℤ‘if(𝑦𝑀, 𝑀, 𝑦)) ∈ (ℤ𝑍))
2614, 25eqeltrd 2841 . . . . . . 7 ((𝑀 ∈ ℤ ∧ 𝑦 ∈ ℤ) → ((ℤ𝑦) ∩ 𝑍) ∈ (ℤ𝑍))
2726ralrimiva 3110 . . . . . 6 (𝑀 ∈ ℤ → ∀𝑦 ∈ ℤ ((ℤ𝑦) ∩ 𝑍) ∈ (ℤ𝑍))
28 ineq1 4145 . . . . . . . . 9 (𝑥 = (ℤ𝑦) → (𝑥𝑍) = ((ℤ𝑦) ∩ 𝑍))
2928eleq1d 2825 . . . . . . . 8 (𝑥 = (ℤ𝑦) → ((𝑥𝑍) ∈ (ℤ𝑍) ↔ ((ℤ𝑦) ∩ 𝑍) ∈ (ℤ𝑍)))
3029ralrn 6961 . . . . . . 7 (ℤ Fn ℤ → (∀𝑥 ∈ ran ℤ(𝑥𝑍) ∈ (ℤ𝑍) ↔ ∀𝑦 ∈ ℤ ((ℤ𝑦) ∩ 𝑍) ∈ (ℤ𝑍)))
3116, 30ax-mp 5 . . . . . 6 (∀𝑥 ∈ ran ℤ(𝑥𝑍) ∈ (ℤ𝑍) ↔ ∀𝑦 ∈ ℤ ((ℤ𝑦) ∩ 𝑍) ∈ (ℤ𝑍))
3227, 31sylibr 233 . . . . 5 (𝑀 ∈ ℤ → ∀𝑥 ∈ ran ℤ(𝑥𝑍) ∈ (ℤ𝑍))
33 eqid 2740 . . . . . 6 (𝑥 ∈ ran ℤ ↦ (𝑥𝑍)) = (𝑥 ∈ ran ℤ ↦ (𝑥𝑍))
3433fmpt 6981 . . . . 5 (∀𝑥 ∈ ran ℤ(𝑥𝑍) ∈ (ℤ𝑍) ↔ (𝑥 ∈ ran ℤ ↦ (𝑥𝑍)):ran ℤ⟶(ℤ𝑍))
3532, 34sylib 217 . . . 4 (𝑀 ∈ ℤ → (𝑥 ∈ ran ℤ ↦ (𝑥𝑍)):ran ℤ⟶(ℤ𝑍))
3635frnd 6606 . . 3 (𝑀 ∈ ℤ → ran (𝑥 ∈ ran ℤ ↦ (𝑥𝑍)) ⊆ (ℤ𝑍))
3710, 36eqsstrid 3974 . 2 (𝑀 ∈ ℤ → (ran ℤt 𝑍) ⊆ (ℤ𝑍))
387uztrn2 12600 . . . . . . . . 9 ((𝑥𝑍𝑦 ∈ (ℤ𝑥)) → 𝑦𝑍)
3938ex 413 . . . . . . . 8 (𝑥𝑍 → (𝑦 ∈ (ℤ𝑥) → 𝑦𝑍))
4039ssrdv 3932 . . . . . . 7 (𝑥𝑍 → (ℤ𝑥) ⊆ 𝑍)
4140adantl 482 . . . . . 6 ((𝑀 ∈ ℤ ∧ 𝑥𝑍) → (ℤ𝑥) ⊆ 𝑍)
42 df-ss 3909 . . . . . 6 ((ℤ𝑥) ⊆ 𝑍 ↔ ((ℤ𝑥) ∩ 𝑍) = (ℤ𝑥))
4341, 42sylib 217 . . . . 5 ((𝑀 ∈ ℤ ∧ 𝑥𝑍) → ((ℤ𝑥) ∩ 𝑍) = (ℤ𝑥))
4418sseli 3922 . . . . . . . 8 (𝑥𝑍𝑥 ∈ ℤ)
4544adantl 482 . . . . . . 7 ((𝑀 ∈ ℤ ∧ 𝑥𝑍) → 𝑥 ∈ ℤ)
46 fnfvelrn 6955 . . . . . . 7 ((ℤ Fn ℤ ∧ 𝑥 ∈ ℤ) → (ℤ𝑥) ∈ ran ℤ)
4716, 45, 46sylancr 587 . . . . . 6 ((𝑀 ∈ ℤ ∧ 𝑥𝑍) → (ℤ𝑥) ∈ ran ℤ)
48 elrestr 17137 . . . . . 6 ((ran ℤ ∈ V ∧ 𝑍 ∈ V ∧ (ℤ𝑥) ∈ ran ℤ) → ((ℤ𝑥) ∩ 𝑍) ∈ (ran ℤt 𝑍))
496, 8, 47, 48mp3an12i 1464 . . . . 5 ((𝑀 ∈ ℤ ∧ 𝑥𝑍) → ((ℤ𝑥) ∩ 𝑍) ∈ (ran ℤt 𝑍))
5043, 49eqeltrrd 2842 . . . 4 ((𝑀 ∈ ℤ ∧ 𝑥𝑍) → (ℤ𝑥) ∈ (ran ℤt 𝑍))
5150ralrimiva 3110 . . 3 (𝑀 ∈ ℤ → ∀𝑥𝑍 (ℤ𝑥) ∈ (ran ℤt 𝑍))
52 ffun 6601 . . . . 5 (ℤ:ℤ⟶𝒫 ℤ → Fun ℤ)
533, 52ax-mp 5 . . . 4 Fun ℤ
543fdmi 6610 . . . . 5 dom ℤ = ℤ
5518, 54sseqtrri 3963 . . . 4 𝑍 ⊆ dom ℤ
56 funimass4 6831 . . . 4 ((Fun ℤ𝑍 ⊆ dom ℤ) → ((ℤ𝑍) ⊆ (ran ℤt 𝑍) ↔ ∀𝑥𝑍 (ℤ𝑥) ∈ (ran ℤt 𝑍)))
5753, 55, 56mp2an 689 . . 3 ((ℤ𝑍) ⊆ (ran ℤt 𝑍) ↔ ∀𝑥𝑍 (ℤ𝑥) ∈ (ran ℤt 𝑍))
5851, 57sylibr 233 . 2 (𝑀 ∈ ℤ → (ℤ𝑍) ⊆ (ran ℤt 𝑍))
5937, 58eqssd 3943 1 (𝑀 ∈ ℤ → (ran ℤt 𝑍) = (ℤ𝑍))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1542  wcel 2110  wral 3066  Vcvv 3431  cin 3891  wss 3892  ifcif 4465  𝒫 cpw 4539   class class class wbr 5079  cmpt 5162  dom cdm 5590  ran crn 5591  cima 5593  Fun wfun 6426   Fn wfn 6427  wf 6428  cfv 6432  (class class class)co 7271  cle 11011  cz 12319  cuz 12581  t crest 17129
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-rep 5214  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7582  ax-cnex 10928  ax-resscn 10929  ax-pre-lttri 10946  ax-pre-lttrn 10947
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-nel 3052  df-ral 3071  df-rex 3072  df-reu 3073  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  df-id 5490  df-po 5504  df-so 5505  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-f1 6437  df-fo 6438  df-f1o 6439  df-fv 6440  df-ov 7274  df-oprab 7275  df-mpo 7276  df-er 8481  df-en 8717  df-dom 8718  df-sdom 8719  df-pnf 11012  df-mnf 11013  df-xr 11014  df-ltxr 11015  df-le 11016  df-neg 11208  df-z 12320  df-uz 12582  df-rest 17131
This theorem is referenced by:  uzfbas  23047
  Copyright terms: Public domain W3C validator