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

Theorem pwfilem 9124
Description: Lemma for pwfi 9125. (Contributed by NM, 26-Mar-2007.) Avoid ax-pow 5321. (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 4585 . 2 𝒫 (𝑏 ∪ {𝑥}) = ((𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∪ 𝒫 𝑏)
2 pwfilem.1 . . . . . 6 𝐹 = (𝑐 ∈ 𝒫 𝑏 ↦ (𝑐 ∪ {𝑥}))
32funmpt2 6541 . . . . 5 Fun 𝐹
4 vex 3448 . . . . . . . . . 10 𝑐 ∈ V
5 vsnex 5387 . . . . . . . . . 10 {𝑥} ∈ V
64, 5unex 7681 . . . . . . . . 9 (𝑐 ∪ {𝑥}) ∈ V
76, 2dmmpti 6646 . . . . . . . 8 dom 𝐹 = 𝒫 𝑏
87imaeq2i 6012 . . . . . . 7 (𝐹 “ dom 𝐹) = (𝐹 “ 𝒫 𝑏)
9 imadmrn 6024 . . . . . . 7 (𝐹 “ dom 𝐹) = ran 𝐹
108, 9eqtr3i 2763 . . . . . 6 (𝐹 “ 𝒫 𝑏) = ran 𝐹
11 imafi 9122 . . . . . 6 ((Fun 𝐹 ∧ 𝒫 𝑏 ∈ Fin) → (𝐹 “ 𝒫 𝑏) ∈ Fin)
1210, 11eqeltrrid 2839 . . . . 5 ((Fun 𝐹 ∧ 𝒫 𝑏 ∈ Fin) → ran 𝐹 ∈ Fin)
133, 12mpan 689 . . . 4 (𝒫 𝑏 ∈ Fin → ran 𝐹 ∈ Fin)
14 eldifi 4087 . . . . . . . 8 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑑 ∈ 𝒫 (𝑏 ∪ {𝑥}))
155elpwun 7704 . . . . . . . 8 (𝑑 ∈ 𝒫 (𝑏 ∪ {𝑥}) ↔ (𝑑 ∖ {𝑥}) ∈ 𝒫 𝑏)
1614, 15sylib 217 . . . . . . 7 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → (𝑑 ∖ {𝑥}) ∈ 𝒫 𝑏)
17 undif1 4436 . . . . . . . 8 ((𝑑 ∖ {𝑥}) ∪ {𝑥}) = (𝑑 ∪ {𝑥})
18 elpwunsn 4645 . . . . . . . . . 10 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑥𝑑)
1918snssd 4770 . . . . . . . . 9 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → {𝑥} ⊆ 𝑑)
20 ssequn2 4144 . . . . . . . . 9 ({𝑥} ⊆ 𝑑 ↔ (𝑑 ∪ {𝑥}) = 𝑑)
2119, 20sylib 217 . . . . . . . 8 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → (𝑑 ∪ {𝑥}) = 𝑑)
2217, 21eqtr2id 2786 . . . . . . 7 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑑 = ((𝑑 ∖ {𝑥}) ∪ {𝑥}))
23 uneq1 4117 . . . . . . . 8 (𝑐 = (𝑑 ∖ {𝑥}) → (𝑐 ∪ {𝑥}) = ((𝑑 ∖ {𝑥}) ∪ {𝑥}))
2423rspceeqv 3596 . . . . . . 7 (((𝑑 ∖ {𝑥}) ∈ 𝒫 𝑏𝑑 = ((𝑑 ∖ {𝑥}) ∪ {𝑥})) → ∃𝑐 ∈ 𝒫 𝑏𝑑 = (𝑐 ∪ {𝑥}))
2516, 22, 24syl2anc 585 . . . . . 6 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → ∃𝑐 ∈ 𝒫 𝑏𝑑 = (𝑐 ∪ {𝑥}))
262, 25, 14elrnmptd 5917 . . . . 5 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑑 ∈ ran 𝐹)
2726ssriv 3949 . . . 4 (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ⊆ ran 𝐹
28 ssfi 9120 . . . 4 ((ran 𝐹 ∈ Fin ∧ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ⊆ ran 𝐹) → (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∈ Fin)
2913, 27, 28sylancl 587 . . 3 (𝒫 𝑏 ∈ Fin → (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∈ Fin)
30 unfi 9119 . . 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 3070  cdif 3908  cun 3909  wss 3911  𝒫 cpw 4561  {csn 4587  cmpt 5189  dom cdm 5634  ran crn 5635  cima 5637  Fun wfun 6491  Fincfn 8886
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 5257  ax-nul 5264  ax-pr 5385  ax-un 7673
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 2941  df-ral 3062  df-rex 3071  df-reu 3353  df-rab 3407  df-v 3446  df-sbc 3741  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-pss 3930  df-nul 4284  df-if 4488  df-pw 4563  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4867  df-br 5107  df-opab 5169  df-mpt 5190  df-tr 5224  df-id 5532  df-eprel 5538  df-po 5546  df-so 5547  df-fr 5589  df-we 5591  df-xp 5640  df-rel 5641  df-cnv 5642  df-co 5643  df-dm 5644  df-rn 5645  df-res 5646  df-ima 5647  df-ord 6321  df-on 6322  df-lim 6323  df-suc 6324  df-iota 6449  df-fun 6499  df-fn 6500  df-f 6501  df-f1 6502  df-fo 6503  df-f1o 6504  df-fv 6505  df-om 7804  df-1o 8413  df-en 8887  df-fin 8890
This theorem is referenced by:  pwfi  9125  pwfiOLD  9294
  Copyright terms: Public domain W3C validator