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

Theorem rexfiuz 10761
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 2626 . . . 4 (𝑥 = ∅ → (∀𝑛𝑥 𝜑 ↔ ∀𝑛 ∈ ∅ 𝜑))
21rexralbidv 2461 . . 3 (𝑥 = ∅ → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑))
3 raleq 2626 . . 3 (𝑥 = ∅ → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
42, 3bibi12d 234 . 2 (𝑥 = ∅ → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑 ↔ ∀𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
5 raleq 2626 . . . 4 (𝑥 = 𝑦 → (∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑦 𝜑))
65rexralbidv 2461 . . 3 (𝑥 = 𝑦 → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑))
7 raleq 2626 . . 3 (𝑥 = 𝑦 → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
86, 7bibi12d 234 . 2 (𝑥 = 𝑦 → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
9 raleq 2626 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → (∀𝑛𝑥 𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑))
109rexralbidv 2461 . . 3 (𝑥 = (𝑦 ∪ {𝑧}) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑))
11 raleq 2626 . . 3 (𝑥 = (𝑦 ∪ {𝑧}) → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
1210, 11bibi12d 234 . 2 (𝑥 = (𝑦 ∪ {𝑧}) → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
13 raleq 2626 . . . 4 (𝑥 = 𝐴 → (∀𝑛𝑥 𝜑 ↔ ∀𝑛𝐴 𝜑))
1413rexralbidv 2461 . . 3 (𝑥 = 𝐴 → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝐴 𝜑))
15 raleq 2626 . . 3 (𝑥 = 𝐴 → (∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∀𝑛𝐴𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
1614, 15bibi12d 234 . 2 (𝑥 = 𝐴 → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑥 𝜑 ↔ ∀𝑛𝑥𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝐴 𝜑 ↔ ∀𝑛𝐴𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
17 0z 9065 . . . . 5 0 ∈ ℤ
18 elex2 2702 . . . . 5 (0 ∈ ℤ → ∃𝑗 𝑗 ∈ ℤ)
1917, 18ax-mp 5 . . . 4 𝑗 𝑗 ∈ ℤ
20 ral0 3464 . . . . 5 𝑛 ∈ ∅ 𝜑
2120rgen2w 2488 . . . 4 𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑
22 r19.2m 3449 . . . 4 ((∃𝑗 𝑗 ∈ ℤ ∧ ∀𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑) → ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑)
2319, 21, 22mp2an 422 . . 3 𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑
24 ral0 3464 . . 3 𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑
2523, 242th 173 . 2 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ ∅ 𝜑 ↔ ∀𝑛 ∈ ∅ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)
26 anbi1 461 . . . 4 ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
27 rexanuz 10760 . . . . 5 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
28 ralunb 3257 . . . . . . 7 (∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ (∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑))
2928ralbii 2441 . . . . . 6 (∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑘 ∈ (ℤ𝑗)(∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑))
3029rexbii 2442 . . . . 5 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)(∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}𝜑))
31 ralsnsg 3561 . . . . . . . 8 (𝑧 ∈ V → (∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑[𝑧 / 𝑛]𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
32 ralcom 2594 . . . . . . . . . . 11 (∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑 ↔ ∀𝑛 ∈ {𝑧}∀𝑘 ∈ (ℤ𝑗)𝜑)
33 ralsnsg 3561 . . . . . . . . . . 11 (𝑧 ∈ V → (∀𝑛 ∈ {𝑧}∀𝑘 ∈ (ℤ𝑗)𝜑[𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑))
3432, 33syl5bb 191 . . . . . . . . . 10 (𝑧 ∈ V → (∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑[𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑))
3534rexbidv 2438 . . . . . . . . 9 (𝑧 ∈ V → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑 ↔ ∃𝑗 ∈ ℤ [𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑))
36 sbcrex 2988 . . . . . . . . 9 ([𝑧 / 𝑛]𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ [𝑧 / 𝑛]𝑘 ∈ (ℤ𝑗)𝜑)
3735, 36syl6rbbr 198 . . . . . . . 8 (𝑧 ∈ V → ([𝑧 / 𝑛]𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
3831, 37bitrd 187 . . . . . . 7 (𝑧 ∈ V → (∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
3938elv 2690 . . . . . 6 (∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑)
4039anbi2i 452 . . . . 5 ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ {𝑧}𝜑))
4127, 30, 403bitr4i 211 . . . 4 (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
42 ralunb 3257 . . . 4 (∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ↔ (∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑 ∧ ∀𝑛 ∈ {𝑧}∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
4326, 41, 423bitr4g 222 . . 3 ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
4443a1i 9 . 2 (𝑦 ∈ Fin → ((∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝑦 𝜑 ↔ ∀𝑛𝑦𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑) → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛 ∈ (𝑦 ∪ {𝑧})𝜑 ↔ ∀𝑛 ∈ (𝑦 ∪ {𝑧})∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑)))
454, 8, 12, 16, 25, 44findcard2 6783 1 (𝐴 ∈ Fin → (∃𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)∀𝑛𝐴 𝜑 ↔ ∀𝑛𝐴𝑗 ∈ ℤ ∀𝑘 ∈ (ℤ𝑗)𝜑))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1331  wex 1468  wcel 1480  wral 2416  wrex 2417  Vcvv 2686  [wsbc 2909  cun 3069  c0 3363  {csn 3527  cfv 5123  Fincfn 6634  0cc0 7620  cz 9054  cuz 9326
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-coll 4043  ax-sep 4046  ax-nul 4054  ax-pow 4098  ax-pr 4131  ax-un 4355  ax-setind 4452  ax-iinf 4502  ax-cnex 7711  ax-resscn 7712  ax-1cn 7713  ax-1re 7714  ax-icn 7715  ax-addcl 7716  ax-addrcl 7717  ax-mulcl 7718  ax-addcom 7720  ax-addass 7722  ax-distr 7724  ax-i2m1 7725  ax-0lt1 7726  ax-0id 7728  ax-rnegex 7729  ax-cnre 7731  ax-pre-ltirr 7732  ax-pre-ltwlin 7733  ax-pre-lttrn 7734  ax-pre-apti 7735  ax-pre-ltadd 7736
This theorem depends on definitions:  df-bi 116  df-dc 820  df-3or 963  df-3an 964  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ne 2309  df-nel 2404  df-ral 2421  df-rex 2422  df-reu 2423  df-rab 2425  df-v 2688  df-sbc 2910  df-csb 3004  df-dif 3073  df-un 3075  df-in 3077  df-ss 3084  df-nul 3364  df-if 3475  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-uni 3737  df-int 3772  df-iun 3815  df-br 3930  df-opab 3990  df-mpt 3991  df-tr 4027  df-id 4215  df-iord 4288  df-on 4290  df-suc 4293  df-iom 4505  df-xp 4545  df-rel 4546  df-cnv 4547  df-co 4548  df-dm 4549  df-rn 4550  df-res 4551  df-ima 4552  df-iota 5088  df-fun 5125  df-fn 5126  df-f 5127  df-f1 5128  df-fo 5129  df-f1o 5130  df-fv 5131  df-riota 5730  df-ov 5777  df-oprab 5778  df-mpo 5779  df-er 6429  df-en 6635  df-fin 6637  df-pnf 7802  df-mnf 7803  df-xr 7804  df-ltxr 7805  df-le 7806  df-sub 7935  df-neg 7936  df-inn 8721  df-n0 8978  df-z 9055  df-uz 9327
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator