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

Theorem pwfilem 9177
Description: Lemma for pwfi 9178. (Contributed by NM, 26-Mar-2007.) Avoid ax-pow 5364. (Revised by BTernaryTau, 7-Sep-2024.)
Hypothesis
Ref Expression
pwfilem.1 𝐹 = (𝑐 ∈ 𝒫 𝑏 ↦ (𝑐 ∪ {𝑥}))
Assertion
Ref Expression
pwfilem (𝒫 𝑏 ∈ Fin → 𝒫 (𝑏 ∪ {𝑥}) ∈ Fin)
Distinct variable groups:   𝑏,𝑐   𝑥,𝑐
Allowed substitution hints:   𝐹(𝑥,𝑏,𝑐)

Proof of Theorem pwfilem
Dummy variable 𝑑 is distinct from all other variables.
StepHypRef Expression
1 pwundif 4627 . 2 𝒫 (𝑏 ∪ {𝑥}) = ((𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∪ 𝒫 𝑏)
2 pwfilem.1 . . . . . 6 𝐹 = (𝑐 ∈ 𝒫 𝑏 ↦ (𝑐 ∪ {𝑥}))
32funmpt2 6588 . . . . 5 Fun 𝐹
4 vex 3479 . . . . . . . . . 10 𝑐 ∈ V
5 vsnex 5430 . . . . . . . . . 10 {𝑥} ∈ V
64, 5unex 7733 . . . . . . . . 9 (𝑐 ∪ {𝑥}) ∈ V
76, 2dmmpti 6695 . . . . . . . 8 dom 𝐹 = 𝒫 𝑏
87imaeq2i 6058 . . . . . . 7 (𝐹 “ dom 𝐹) = (𝐹 “ 𝒫 𝑏)
9 imadmrn 6070 . . . . . . 7 (𝐹 “ dom 𝐹) = ran 𝐹
108, 9eqtr3i 2763 . . . . . 6 (𝐹 “ 𝒫 𝑏) = ran 𝐹
11 imafi 9175 . . . . . 6 ((Fun 𝐹 ∧ 𝒫 𝑏 ∈ Fin) → (𝐹 “ 𝒫 𝑏) ∈ Fin)
1210, 11eqeltrrid 2839 . . . . 5 ((Fun 𝐹 ∧ 𝒫 𝑏 ∈ Fin) → ran 𝐹 ∈ Fin)
133, 12mpan 689 . . . 4 (𝒫 𝑏 ∈ Fin → ran 𝐹 ∈ Fin)
14 eldifi 4127 . . . . . . . 8 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑑 ∈ 𝒫 (𝑏 ∪ {𝑥}))
155elpwun 7756 . . . . . . . 8 (𝑑 ∈ 𝒫 (𝑏 ∪ {𝑥}) ↔ (𝑑 ∖ {𝑥}) ∈ 𝒫 𝑏)
1614, 15sylib 217 . . . . . . 7 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → (𝑑 ∖ {𝑥}) ∈ 𝒫 𝑏)
17 undif1 4476 . . . . . . . 8 ((𝑑 ∖ {𝑥}) ∪ {𝑥}) = (𝑑 ∪ {𝑥})
18 elpwunsn 4688 . . . . . . . . . 10 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑥𝑑)
1918snssd 4813 . . . . . . . . 9 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → {𝑥} ⊆ 𝑑)
20 ssequn2 4184 . . . . . . . . 9 ({𝑥} ⊆ 𝑑 ↔ (𝑑 ∪ {𝑥}) = 𝑑)
2119, 20sylib 217 . . . . . . . 8 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → (𝑑 ∪ {𝑥}) = 𝑑)
2217, 21eqtr2id 2786 . . . . . . 7 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑑 = ((𝑑 ∖ {𝑥}) ∪ {𝑥}))
23 uneq1 4157 . . . . . . . 8 (𝑐 = (𝑑 ∖ {𝑥}) → (𝑐 ∪ {𝑥}) = ((𝑑 ∖ {𝑥}) ∪ {𝑥}))
2423rspceeqv 3634 . . . . . . 7 (((𝑑 ∖ {𝑥}) ∈ 𝒫 𝑏𝑑 = ((𝑑 ∖ {𝑥}) ∪ {𝑥})) → ∃𝑐 ∈ 𝒫 𝑏𝑑 = (𝑐 ∪ {𝑥}))
2516, 22, 24syl2anc 585 . . . . . 6 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → ∃𝑐 ∈ 𝒫 𝑏𝑑 = (𝑐 ∪ {𝑥}))
262, 25, 14elrnmptd 5961 . . . . 5 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑑 ∈ ran 𝐹)
2726ssriv 3987 . . . 4 (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ⊆ ran 𝐹
28 ssfi 9173 . . . 4 ((ran 𝐹 ∈ Fin ∧ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ⊆ ran 𝐹) → (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∈ Fin)
2913, 27, 28sylancl 587 . . 3 (𝒫 𝑏 ∈ Fin → (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∈ Fin)
30 unfi 9172 . . 3 (((𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∈ Fin ∧ 𝒫 𝑏 ∈ Fin) → ((𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∪ 𝒫 𝑏) ∈ Fin)
3129, 30mpancom 687 . 2 (𝒫 𝑏 ∈ Fin → ((𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∪ 𝒫 𝑏) ∈ Fin)
321, 31eqeltrid 2838 1 (𝒫 𝑏 ∈ Fin → 𝒫 (𝑏 ∪ {𝑥}) ∈ Fin)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1542  wcel 2107  wrex 3071  cdif 3946  cun 3947  wss 3949  𝒫 cpw 4603  {csn 4629  cmpt 5232  dom cdm 5677  ran crn 5678  cima 5680  Fun wfun 6538  Fincfn 8939
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 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-sep 5300  ax-nul 5307  ax-pr 5428  ax-un 7725
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3779  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-pss 3968  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-br 5150  df-opab 5212  df-mpt 5233  df-tr 5267  df-id 5575  df-eprel 5581  df-po 5589  df-so 5590  df-fr 5632  df-we 5634  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-f1 6549  df-fo 6550  df-f1o 6551  df-fv 6552  df-om 7856  df-1o 8466  df-en 8940  df-fin 8943
This theorem is referenced by:  pwfi  9178  pwfiOLD  9347
  Copyright terms: Public domain W3C validator