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

Theorem rexanuz 14985
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 3094 . . . 4 (∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓) ↔ (∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑘 ∈ (ℤ𝑗)𝜓))
21rexbii 3177 . . 3 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓) ↔ ∃𝑗 ∈ ℤ (∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑘 ∈ (ℤ𝑗)𝜓))
3 r19.40 3272 . . 3 (∃𝑗 ∈ ℤ (∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑘 ∈ (ℤ𝑗)𝜓) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓))
42, 3sylbi 216 . 2 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓))
5 uzf 12514 . . . 4 :ℤ⟶𝒫 ℤ
6 ffn 6584 . . . 4 (ℤ:ℤ⟶𝒫 ℤ → ℤ Fn ℤ)
7 raleq 3333 . . . . 5 (𝑥 = (ℤ𝑗) → (∀𝑘𝑥 𝜑 ↔ ∀𝑘 ∈ (ℤ𝑗)𝜑))
87rexrn 6945 . . . 4 (ℤ Fn ℤ → (∃𝑥 ∈ ran ℤ𝑘𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
95, 6, 8mp2b 10 . . 3 (∃𝑥 ∈ ran ℤ𝑘𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)
10 raleq 3333 . . . . 5 (𝑦 = (ℤ𝑗) → (∀𝑘𝑦 𝜓 ↔ ∀𝑘 ∈ (ℤ𝑗)𝜓))
1110rexrn 6945 . . . 4 (ℤ Fn ℤ → (∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓))
125, 6, 11mp2b 10 . . 3 (∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓)
13 uzin2 14984 . . . . . . . . 9 ((𝑥 ∈ ran ℤ𝑦 ∈ ran ℤ) → (𝑥𝑦) ∈ ran ℤ)
14 inss1 4159 . . . . . . . . . . . 12 (𝑥𝑦) ⊆ 𝑥
15 ssralv 3983 . . . . . . . . . . . 12 ((𝑥𝑦) ⊆ 𝑥 → (∀𝑘𝑥 𝜑 → ∀𝑘 ∈ (𝑥𝑦)𝜑))
1614, 15ax-mp 5 . . . . . . . . . . 11 (∀𝑘𝑥 𝜑 → ∀𝑘 ∈ (𝑥𝑦)𝜑)
17 inss2 4160 . . . . . . . . . . . 12 (𝑥𝑦) ⊆ 𝑦
18 ssralv 3983 . . . . . . . . . . . 12 ((𝑥𝑦) ⊆ 𝑦 → (∀𝑘𝑦 𝜓 → ∀𝑘 ∈ (𝑥𝑦)𝜓))
1917, 18ax-mp 5 . . . . . . . . . . 11 (∀𝑘𝑦 𝜓 → ∀𝑘 ∈ (𝑥𝑦)𝜓)
2016, 19anim12i 612 . . . . . . . . . 10 ((∀𝑘𝑥 𝜑 ∧ ∀𝑘𝑦 𝜓) → (∀𝑘 ∈ (𝑥𝑦)𝜑 ∧ ∀𝑘 ∈ (𝑥𝑦)𝜓))
21 r19.26 3094 . . . . . . . . . 10 (∀𝑘 ∈ (𝑥𝑦)(𝜑𝜓) ↔ (∀𝑘 ∈ (𝑥𝑦)𝜑 ∧ ∀𝑘 ∈ (𝑥𝑦)𝜓))
2220, 21sylibr 233 . . . . . . . . 9 ((∀𝑘𝑥 𝜑 ∧ ∀𝑘𝑦 𝜓) → ∀𝑘 ∈ (𝑥𝑦)(𝜑𝜓))
23 raleq 3333 . . . . . . . . . 10 (𝑧 = (𝑥𝑦) → (∀𝑘𝑧 (𝜑𝜓) ↔ ∀𝑘 ∈ (𝑥𝑦)(𝜑𝜓)))
2423rspcev 3552 . . . . . . . . 9 (((𝑥𝑦) ∈ ran ℤ ∧ ∀𝑘 ∈ (𝑥𝑦)(𝜑𝜓)) → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓))
2513, 22, 24syl2an 595 . . . . . . . 8 (((𝑥 ∈ ran ℤ𝑦 ∈ ran ℤ) ∧ (∀𝑘𝑥 𝜑 ∧ ∀𝑘𝑦 𝜓)) → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓))
2625an4s 656 . . . . . . 7 (((𝑥 ∈ ran ℤ ∧ ∀𝑘𝑥 𝜑) ∧ (𝑦 ∈ ran ℤ ∧ ∀𝑘𝑦 𝜓)) → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓))
2726rexlimdvaa 3213 . . . . . 6 ((𝑥 ∈ ran ℤ ∧ ∀𝑘𝑥 𝜑) → (∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓 → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓)))
2827rexlimiva 3209 . . . . 5 (∃𝑥 ∈ ran ℤ𝑘𝑥 𝜑 → (∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓 → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓)))
2928imp 406 . . . 4 ((∃𝑥 ∈ ran ℤ𝑘𝑥 𝜑 ∧ ∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓) → ∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓))
30 raleq 3333 . . . . . 6 (𝑧 = (ℤ𝑗) → (∀𝑘𝑧 (𝜑𝜓) ↔ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓)))
3130rexrn 6945 . . . . 5 (ℤ Fn ℤ → (∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓) ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓)))
325, 6, 31mp2b 10 . . . 4 (∃𝑧 ∈ ran ℤ𝑘𝑧 (𝜑𝜓) ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓))
3329, 32sylib 217 . . 3 ((∃𝑥 ∈ ran ℤ𝑘𝑥 𝜑 ∧ ∃𝑦 ∈ ran ℤ𝑘𝑦 𝜓) → ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓))
349, 12, 33syl2anbr 598 . 2 ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓) → ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓))
354, 34impbii 208 1 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(𝜑𝜓) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wcel 2108  wral 3063  wrex 3064  cin 3882  wss 3883  𝒫 cpw 4530  ran crn 5581   Fn wfn 6413  wf 6414  cfv 6418  cz 12249  cuz 12511
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-pre-lttri 10876  ax-pre-lttrn 10877
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-po 5494  df-so 5495  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-neg 11138  df-z 12250  df-uz 12512
This theorem is referenced by:  rexfiuz  14987  rexuz3  14988  rexanuz2  14989
  Copyright terms: Public domain W3C validator