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

Theorem rexfiuz 10793
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 2629 . . . 4 (𝑥 = ∅ → (∀𝑛𝑥 𝜑 ↔ ∀𝑛 ∈ ∅ 𝜑))
21rexralbidv 2464 . . 3 (𝑥 = ∅ → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑))
3 raleq 2629 . . 3 (𝑥 = ∅ → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
42, 3bibi12d 234 . 2 (𝑥 = ∅ → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑 ↔ ∀𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
5 raleq 2629 . . . 4 (𝑥 = 𝑦 → (∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑦 𝜑))
65rexralbidv 2464 . . 3 (𝑥 = 𝑦 → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑))
7 raleq 2629 . . 3 (𝑥 = 𝑦 → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
86, 7bibi12d 234 . 2 (𝑥 = 𝑦 → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
9 raleq 2629 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → (∀𝑛𝑥 𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑))
109rexralbidv 2464 . . 3 (𝑥 = (𝑦 ∪ {𝑧}) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑))
11 raleq 2629 . . 3 (𝑥 = (𝑦 ∪ {𝑧}) → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
1210, 11bibi12d 234 . 2 (𝑥 = (𝑦 ∪ {𝑧}) → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
13 raleq 2629 . . . 4 (𝑥 = 𝐴 → (∀𝑛𝑥 𝜑 ↔ ∀𝑛𝐴 𝜑))
1413rexralbidv 2464 . . 3 (𝑥 = 𝐴 → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝐴 𝜑))
15 raleq 2629 . . 3 (𝑥 = 𝐴 → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛𝐴𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
1614, 15bibi12d 234 . 2 (𝑥 = 𝐴 → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝐴 𝜑 ↔ ∀𝑛𝐴𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
17 0z 9089 . . . . 5 0 ∈ ℤ
18 elex2 2705 . . . . 5 (0 ∈ ℤ → ∃𝑗 𝑗 ∈ ℤ)
1917, 18ax-mp 5 . . . 4 𝑗 𝑗 ∈ ℤ
20 ral0 3469 . . . . 5 𝑛 ∈ ∅ 𝜑
2120rgen2w 2491 . . . 4 𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑
22 r19.2m 3454 . . . 4 ((∃𝑗 𝑗 ∈ ℤ ∧ ∀𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑) → ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑)
2319, 21, 22mp2an 423 . . 3 𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑
24 ral0 3469 . . 3 𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑
2523, 242th 173 . 2 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑 ↔ ∀𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)
26 anbi1 462 . . . 4 ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
27 rexanuz 10792 . . . . 5 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
28 ralunb 3262 . . . . . . 7 (∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ (∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑))
2928ralbii 2444 . . . . . 6 (∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑘 ∈ (ℤ𝑗)(∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑))
3029rexbii 2445 . . . . 5 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑))
31 ralsnsg 3568 . . . . . . . 8 (𝑧 ∈ V → (∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑[𝑧 / 𝑛]𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
32 sbcrex 2992 . . . . . . . . 9 ([𝑧 / 𝑛]𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ [𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑)
33 ralcom 2597 . . . . . . . . . . 11 (∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑 ↔ ∀𝑛 ∈ {𝑧}∀𝑘 ∈ (ℤ𝑗)𝜑)
34 ralsnsg 3568 . . . . . . . . . . 11 (𝑧 ∈ V → (∀𝑛 ∈ {𝑧}∀𝑘 ∈ (ℤ𝑗)𝜑[𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑))
3533, 34syl5bb 191 . . . . . . . . . 10 (𝑧 ∈ V → (∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑[𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑))
3635rexbidv 2439 . . . . . . . . 9 (𝑧 ∈ V → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑 ↔ ∃𝑗 ∈ ℤ [𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑))
3732, 36bitr4id 198 . . . . . . . 8 (𝑧 ∈ V → ([𝑧 / 𝑛]𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
3831, 37bitrd 187 . . . . . . 7 (𝑧 ∈ V → (∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
3938elv 2693 . . . . . 6 (∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑)
4039anbi2i 453 . . . . 5 ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
4127, 30, 403bitr4i 211 . . . 4 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
42 ralunb 3262 . . . 4 (∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ (∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
4326, 41, 423bitr4g 222 . . 3 ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
4443a1i 9 . 2 (𝑦 ∈ Fin → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
454, 8, 12, 16, 25, 44findcard2 6791 1 (𝐴 ∈ Fin → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝐴 𝜑 ↔ ∀𝑛𝐴𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1332  wex 1469  wcel 1481  wral 2417  wrex 2418  Vcvv 2689  [wsbc 2913  cun 3074  c0 3368  {csn 3532  cfv 5131  Fincfn 6642  0cc0 7644  cz 9078  cuz 9350
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 604  ax-in2 605  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-13 1492  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-coll 4051  ax-sep 4054  ax-nul 4062  ax-pow 4106  ax-pr 4139  ax-un 4363  ax-setind 4460  ax-iinf 4510  ax-cnex 7735  ax-resscn 7736  ax-1cn 7737  ax-1re 7738  ax-icn 7739  ax-addcl 7740  ax-addrcl 7741  ax-mulcl 7742  ax-addcom 7744  ax-addass 7746  ax-distr 7748  ax-i2m1 7749  ax-0lt1 7750  ax-0id 7752  ax-rnegex 7753  ax-cnre 7755  ax-pre-ltirr 7756  ax-pre-ltwlin 7757  ax-pre-lttrn 7758  ax-pre-apti 7759  ax-pre-ltadd 7760
This theorem depends on definitions:  df-bi 116  df-dc 821  df-3or 964  df-3an 965  df-tru 1335  df-fal 1338  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ne 2310  df-nel 2405  df-ral 2422  df-rex 2423  df-reu 2424  df-rab 2426  df-v 2691  df-sbc 2914  df-csb 3008  df-dif 3078  df-un 3080  df-in 3082  df-ss 3089  df-nul 3369  df-if 3480  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-uni 3745  df-int 3780  df-iun 3823  df-br 3938  df-opab 3998  df-mpt 3999  df-tr 4035  df-id 4223  df-iord 4296  df-on 4298  df-suc 4301  df-iom 4513  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-rn 4558  df-res 4559  df-ima 4560  df-iota 5096  df-fun 5133  df-fn 5134  df-f 5135  df-f1 5136  df-fo 5137  df-f1o 5138  df-fv 5139  df-riota 5738  df-ov 5785  df-oprab 5786  df-mpo 5787  df-er 6437  df-en 6643  df-fin 6645  df-pnf 7826  df-mnf 7827  df-xr 7828  df-ltxr 7829  df-le 7830  df-sub 7959  df-neg 7960  df-inn 8745  df-n0 9002  df-z 9079  df-uz 9351
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator