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

Theorem rexanuz 15057
Description: Combine two different upper integer properties into one. (Contributed by Mario Carneiro, 25-Dec-2013.)
Assertion
Ref Expression
rexanuz (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓))
Distinct variable groups:   𝑗,𝑘   𝜑,𝑗   𝜓,𝑗
Allowed substitution hints:   𝜑(𝑘)   𝜓(𝑘)

Proof of Theorem rexanuz
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 r19.26 3095 . . . 4 (∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓) ↔ (∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑘 ∈ (ℤ𝑗)𝜓))
21rexbii 3181 . . 3 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓) ↔ ∃𝑗 ∈ ℤ (∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑘 ∈ (ℤ𝑗)𝜓))
3 r19.40 3275 . . 3 (∃𝑗 ∈ ℤ (∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑘 ∈ (ℤ𝑗)𝜓) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓))
42, 3sylbi 216 . 2 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓))
5 uzf 12585 . . . 4 :ℤ⟶𝒫 ℤ
6 ffn 6600 . . . 4 (ℤ:ℤ⟶𝒫 ℤ → ℤ Fn ℤ)
7 raleq 3342 . . . . 5 (𝑥 = (ℤ𝑗) → (∀𝑘𝑥 𝜑 ↔ ∀𝑘 ∈ (ℤ𝑗)𝜑))
87rexrn 6963 . . . 4 (ℤ Fn ℤ → (∃𝑥 ∈ ran ℤ𝑘𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
95, 6, 8mp2b 10 . . 3 (∃𝑥 ∈ ran ℤ𝑘𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)
10 raleq 3342 . . . . 5 (𝑦 = (ℤ𝑗) → (∀𝑘𝑦 𝜓 ↔ ∀𝑘 ∈ (ℤ𝑗)𝜓))
1110rexrn 6963 . . . 4 (ℤ Fn ℤ → (∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓))
125, 6, 11mp2b 10 . . 3 (∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓)
13 uzin2 15056 . . . . . . . . 9 ((𝑥 ∈ ran ℤ𝑦 ∈ ran ℤ) → (𝑥𝑦) ∈ ran ℤ)
14 inss1 4162 . . . . . . . . . . . 12 (𝑥𝑦) ⊆ 𝑥
15 ssralv 3987 . . . . . . . . . . . 12 ((𝑥𝑦) ⊆ 𝑥 → (∀𝑘𝑥 𝜑 → ∀𝑘 ∈ (𝑥𝑦)𝜑))
1614, 15ax-mp 5 . . . . . . . . . . 11 (∀𝑘𝑥 𝜑 → ∀𝑘 ∈ (𝑥𝑦)𝜑)
17 inss2 4163 . . . . . . . . . . . 12 (𝑥𝑦) ⊆ 𝑦
18 ssralv 3987 . . . . . . . . . . . 12 ((𝑥𝑦) ⊆ 𝑦 → (∀𝑘𝑦 𝜓 → ∀𝑘 ∈ (𝑥𝑦)𝜓))
1917, 18ax-mp 5 . . . . . . . . . . 11 (∀𝑘𝑦 𝜓 → ∀𝑘 ∈ (𝑥𝑦)𝜓)
2016, 19anim12i 613 . . . . . . . . . 10 ((∀𝑘𝑥 𝜑 ∧ ∀𝑘𝑦 𝜓) → (∀𝑘 ∈ (𝑥𝑦)𝜑 ∧ ∀𝑘 ∈ (𝑥𝑦)𝜓))
21 r19.26 3095 . . . . . . . . . 10 (∀𝑘 ∈ (𝑥𝑦)(𝜑𝜓) ↔ (∀𝑘 ∈ (𝑥𝑦)𝜑 ∧ ∀𝑘 ∈ (𝑥𝑦)𝜓))
2220, 21sylibr 233 . . . . . . . . 9 ((∀𝑘𝑥 𝜑 ∧ ∀𝑘𝑦 𝜓) → ∀𝑘 ∈ (𝑥𝑦)(𝜑𝜓))
23 raleq 3342 . . . . . . . . . 10 (𝑧 = (𝑥𝑦) → (∀𝑘𝑧 (𝜑𝜓) ↔ ∀𝑘 ∈ (𝑥𝑦)(𝜑𝜓)))
2423rspcev 3561 . . . . . . . . 9 (((𝑥𝑦) ∈ ran ℤ ∧ ∀𝑘 ∈ (𝑥𝑦)(𝜑𝜓)) → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓))
2513, 22, 24syl2an 596 . . . . . . . 8 (((𝑥 ∈ ran ℤ𝑦 ∈ ran ℤ) ∧ (∀𝑘𝑥 𝜑 ∧ ∀𝑘𝑦 𝜓)) → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓))
2625an4s 657 . . . . . . 7 (((𝑥 ∈ ran ℤ ∧ ∀𝑘𝑥 𝜑) ∧ (𝑦 ∈ ran ℤ ∧ ∀𝑘𝑦 𝜓)) → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓))
2726rexlimdvaa 3214 . . . . . 6 ((𝑥 ∈ ran ℤ ∧ ∀𝑘𝑥 𝜑) → (∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓 → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓)))
2827rexlimiva 3210 . . . . 5 (∃𝑥 ∈ ran ℤ𝑘𝑥 𝜑 → (∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓 → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓)))
2928imp 407 . . . 4 ((∃𝑥 ∈ ran ℤ𝑘𝑥 𝜑 ∧ ∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓) → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓))
30 raleq 3342 . . . . . 6 (𝑧 = (ℤ𝑗) → (∀𝑘𝑧 (𝜑𝜓) ↔ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓)))
3130rexrn 6963 . . . . 5 (ℤ Fn ℤ → (∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓) ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓)))
325, 6, 31mp2b 10 . . . 4 (∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓) ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓))
3329, 32sylib 217 . . 3 ((∃𝑥 ∈ ran ℤ𝑘𝑥 𝜑 ∧ ∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓) → ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓))
349, 12, 33syl2anbr 599 . 2 ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓) → ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓))
354, 34impbii 208 1 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wcel 2106  wral 3064  wrex 3065  cin 3886  wss 3887  𝒫 cpw 4533  ran crn 5590   Fn wfn 6428  wf 6429  cfv 6433  cz 12319  cuz 12582
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928  ax-pre-lttri 10945  ax-pre-lttrn 10946
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-nel 3050  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-po 5503  df-so 5504  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-er 8498  df-en 8734  df-dom 8735  df-sdom 8736  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-neg 11208  df-z 12320  df-uz 12583
This theorem is referenced by:  rexfiuz  15059  rexuz3  15060  rexanuz2  15061
  Copyright terms: Public domain W3C validator