ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  rexfiuz GIF version

Theorem rexfiuz 10729
Description: Combine finitely many different upper integer properties into one. (Contributed by Mario Carneiro, 6-Jun-2014.)
Assertion
Ref Expression
rexfiuz (𝐴 ∈ Fin → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝐴 𝜑 ↔ ∀𝑛𝐴𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
Distinct variable groups:   𝑗,𝑘,𝑛,𝐴   𝜑,𝑗
Allowed substitution hints:   𝜑(𝑘,𝑛)

Proof of Theorem rexfiuz
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 raleq 2603 . . . 4 (𝑥 = ∅ → (∀𝑛𝑥 𝜑 ↔ ∀𝑛 ∈ ∅ 𝜑))
21rexralbidv 2438 . . 3 (𝑥 = ∅ → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑))
3 raleq 2603 . . 3 (𝑥 = ∅ → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
42, 3bibi12d 234 . 2 (𝑥 = ∅ → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑 ↔ ∀𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
5 raleq 2603 . . . 4 (𝑥 = 𝑦 → (∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑦 𝜑))
65rexralbidv 2438 . . 3 (𝑥 = 𝑦 → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑))
7 raleq 2603 . . 3 (𝑥 = 𝑦 → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
86, 7bibi12d 234 . 2 (𝑥 = 𝑦 → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
9 raleq 2603 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → (∀𝑛𝑥 𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑))
109rexralbidv 2438 . . 3 (𝑥 = (𝑦 ∪ {𝑧}) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑))
11 raleq 2603 . . 3 (𝑥 = (𝑦 ∪ {𝑧}) → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
1210, 11bibi12d 234 . 2 (𝑥 = (𝑦 ∪ {𝑧}) → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
13 raleq 2603 . . . 4 (𝑥 = 𝐴 → (∀𝑛𝑥 𝜑 ↔ ∀𝑛𝐴 𝜑))
1413rexralbidv 2438 . . 3 (𝑥 = 𝐴 → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝐴 𝜑))
15 raleq 2603 . . 3 (𝑥 = 𝐴 → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛𝐴𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
1614, 15bibi12d 234 . 2 (𝑥 = 𝐴 → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝐴 𝜑 ↔ ∀𝑛𝐴𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
17 0z 9033 . . . . 5 0 ∈ ℤ
18 elex2 2676 . . . . 5 (0 ∈ ℤ → ∃𝑗 𝑗 ∈ ℤ)
1917, 18ax-mp 5 . . . 4 𝑗 𝑗 ∈ ℤ
20 ral0 3434 . . . . 5 𝑛 ∈ ∅ 𝜑
2120rgen2w 2465 . . . 4 𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑
22 r19.2m 3419 . . . 4 ((∃𝑗 𝑗 ∈ ℤ ∧ ∀𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑) → ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑)
2319, 21, 22mp2an 422 . . 3 𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑
24 ral0 3434 . . 3 𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑
2523, 242th 173 . 2 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑 ↔ ∀𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)
26 anbi1 461 . . . 4 ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
27 rexanuz 10728 . . . . 5 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
28 ralunb 3227 . . . . . . 7 (∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ (∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑))
2928ralbii 2418 . . . . . 6 (∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑘 ∈ (ℤ𝑗)(∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑))
3029rexbii 2419 . . . . 5 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑))
31 ralsnsg 3531 . . . . . . . 8 (𝑧 ∈ V → (∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑[𝑧 / 𝑛]𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
32 ralcom 2571 . . . . . . . . . . 11 (∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑 ↔ ∀𝑛 ∈ {𝑧}∀𝑘 ∈ (ℤ𝑗)𝜑)
33 ralsnsg 3531 . . . . . . . . . . 11 (𝑧 ∈ V → (∀𝑛 ∈ {𝑧}∀𝑘 ∈ (ℤ𝑗)𝜑[𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑))
3432, 33syl5bb 191 . . . . . . . . . 10 (𝑧 ∈ V → (∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑[𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑))
3534rexbidv 2415 . . . . . . . . 9 (𝑧 ∈ V → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑 ↔ ∃𝑗 ∈ ℤ [𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑))
36 sbcrex 2960 . . . . . . . . 9 ([𝑧 / 𝑛]𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ [𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑)
3735, 36syl6rbbr 198 . . . . . . . 8 (𝑧 ∈ V → ([𝑧 / 𝑛]𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
3831, 37bitrd 187 . . . . . . 7 (𝑧 ∈ V → (∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
3938elv 2664 . . . . . 6 (∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑)
4039anbi2i 452 . . . . 5 ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
4127, 30, 403bitr4i 211 . . . 4 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
42 ralunb 3227 . . . 4 (∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ (∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
4326, 41, 423bitr4g 222 . . 3 ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
4443a1i 9 . 2 (𝑦 ∈ Fin → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
454, 8, 12, 16, 25, 44findcard2 6751 1 (𝐴 ∈ Fin → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝐴 𝜑 ↔ ∀𝑛𝐴𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1316  wex 1453  wcel 1465  wral 2393  wrex 2394  Vcvv 2660  [wsbc 2882  cun 3039  c0 3333  {csn 3497  cfv 5093  Fincfn 6602  0cc0 7588  cz 9022  cuz 9294
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 588  ax-in2 589  ax-io 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-13 1476  ax-14 1477  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099  ax-coll 4013  ax-sep 4016  ax-nul 4024  ax-pow 4068  ax-pr 4101  ax-un 4325  ax-setind 4422  ax-iinf 4472  ax-cnex 7679  ax-resscn 7680  ax-1cn 7681  ax-1re 7682  ax-icn 7683  ax-addcl 7684  ax-addrcl 7685  ax-mulcl 7686  ax-addcom 7688  ax-addass 7690  ax-distr 7692  ax-i2m1 7693  ax-0lt1 7694  ax-0id 7696  ax-rnegex 7697  ax-cnre 7699  ax-pre-ltirr 7700  ax-pre-ltwlin 7701  ax-pre-lttrn 7702  ax-pre-apti 7703  ax-pre-ltadd 7704
This theorem depends on definitions:  df-bi 116  df-dc 805  df-3or 948  df-3an 949  df-tru 1319  df-fal 1322  df-nf 1422  df-sb 1721  df-eu 1980  df-mo 1981  df-clab 2104  df-cleq 2110  df-clel 2113  df-nfc 2247  df-ne 2286  df-nel 2381  df-ral 2398  df-rex 2399  df-reu 2400  df-rab 2402  df-v 2662  df-sbc 2883  df-csb 2976  df-dif 3043  df-un 3045  df-in 3047  df-ss 3054  df-nul 3334  df-if 3445  df-pw 3482  df-sn 3503  df-pr 3504  df-op 3506  df-uni 3707  df-int 3742  df-iun 3785  df-br 3900  df-opab 3960  df-mpt 3961  df-tr 3997  df-id 4185  df-iord 4258  df-on 4260  df-suc 4263  df-iom 4475  df-xp 4515  df-rel 4516  df-cnv 4517  df-co 4518  df-dm 4519  df-rn 4520  df-res 4521  df-ima 4522  df-iota 5058  df-fun 5095  df-fn 5096  df-f 5097  df-f1 5098  df-fo 5099  df-f1o 5100  df-fv 5101  df-riota 5698  df-ov 5745  df-oprab 5746  df-mpo 5747  df-er 6397  df-en 6603  df-fin 6605  df-pnf 7770  df-mnf 7771  df-xr 7772  df-ltxr 7773  df-le 7774  df-sub 7903  df-neg 7904  df-inn 8689  df-n0 8946  df-z 9023  df-uz 9295
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator