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

Theorem pwfilem 8768
Description: Lemma for pwfi 8769. (Contributed by NM, 26-Mar-2007.) Avoid ax-pow 5229. (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 4511 . 2 𝒫 (𝑏 ∪ {𝑥}) = ((𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∪ 𝒫 𝑏)
2 pwfilem.1 . . . . . 6 𝐹 = (𝑐 ∈ 𝒫 𝑏 ↦ (𝑐 ∪ {𝑥}))
32funmpt2 6372 . . . . 5 Fun 𝐹
4 vex 3401 . . . . . . . . . 10 𝑐 ∈ V
5 snex 5295 . . . . . . . . . 10 {𝑥} ∈ V
64, 5unex 7481 . . . . . . . . 9 (𝑐 ∪ {𝑥}) ∈ V
76, 2dmmpti 6475 . . . . . . . 8 dom 𝐹 = 𝒫 𝑏
87imaeq2i 5895 . . . . . . 7 (𝐹 “ dom 𝐹) = (𝐹 “ 𝒫 𝑏)
9 imadmrn 5907 . . . . . . 7 (𝐹 “ dom 𝐹) = ran 𝐹
108, 9eqtr3i 2763 . . . . . 6 (𝐹 “ 𝒫 𝑏) = ran 𝐹
11 imafi 8766 . . . . . 6 ((Fun 𝐹 ∧ 𝒫 𝑏 ∈ Fin) → (𝐹 “ 𝒫 𝑏) ∈ Fin)
1210, 11eqeltrrid 2838 . . . . 5 ((Fun 𝐹 ∧ 𝒫 𝑏 ∈ Fin) → ran 𝐹 ∈ Fin)
133, 12mpan 690 . . . 4 (𝒫 𝑏 ∈ Fin → ran 𝐹 ∈ Fin)
14 eldifi 4015 . . . . . . . 8 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑑 ∈ 𝒫 (𝑏 ∪ {𝑥}))
155elpwun 7504 . . . . . . . 8 (𝑑 ∈ 𝒫 (𝑏 ∪ {𝑥}) ↔ (𝑑 ∖ {𝑥}) ∈ 𝒫 𝑏)
1614, 15sylib 221 . . . . . . 7 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → (𝑑 ∖ {𝑥}) ∈ 𝒫 𝑏)
17 undif1 4362 . . . . . . . 8 ((𝑑 ∖ {𝑥}) ∪ {𝑥}) = (𝑑 ∪ {𝑥})
18 elpwunsn 4571 . . . . . . . . . 10 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑥𝑑)
1918snssd 4694 . . . . . . . . 9 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → {𝑥} ⊆ 𝑑)
20 ssequn2 4071 . . . . . . . . 9 ({𝑥} ⊆ 𝑑 ↔ (𝑑 ∪ {𝑥}) = 𝑑)
2119, 20sylib 221 . . . . . . . 8 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → (𝑑 ∪ {𝑥}) = 𝑑)
2217, 21eqtr2id 2786 . . . . . . 7 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑑 = ((𝑑 ∖ {𝑥}) ∪ {𝑥}))
23 uneq1 4044 . . . . . . . 8 (𝑐 = (𝑑 ∖ {𝑥}) → (𝑐 ∪ {𝑥}) = ((𝑑 ∖ {𝑥}) ∪ {𝑥}))
2423rspceeqv 3539 . . . . . . 7 (((𝑑 ∖ {𝑥}) ∈ 𝒫 𝑏𝑑 = ((𝑑 ∖ {𝑥}) ∪ {𝑥})) → ∃𝑐 ∈ 𝒫 𝑏𝑑 = (𝑐 ∪ {𝑥}))
2516, 22, 24syl2anc 587 . . . . . 6 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → ∃𝑐 ∈ 𝒫 𝑏𝑑 = (𝑐 ∪ {𝑥}))
262, 25, 14elrnmptd 5798 . . . . 5 (𝑑 ∈ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) → 𝑑 ∈ ran 𝐹)
2726ssriv 3879 . . . 4 (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ⊆ ran 𝐹
28 ssfi 8765 . . . 4 ((ran 𝐹 ∈ Fin ∧ (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ⊆ ran 𝐹) → (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∈ Fin)
2913, 27, 28sylancl 589 . . 3 (𝒫 𝑏 ∈ Fin → (𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∈ Fin)
30 unfi 8764 . . 3 (((𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∈ Fin ∧ 𝒫 𝑏 ∈ Fin) → ((𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∪ 𝒫 𝑏) ∈ Fin)
3129, 30mpancom 688 . 2 (𝒫 𝑏 ∈ Fin → ((𝒫 (𝑏 ∪ {𝑥}) ∖ 𝒫 𝑏) ∪ 𝒫 𝑏) ∈ Fin)
321, 31eqeltrid 2837 1 (𝒫 𝑏 ∈ Fin → 𝒫 (𝑏 ∪ {𝑥}) ∈ Fin)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1542  wcel 2113  wrex 3054  cdif 3838  cun 3839  wss 3841  𝒫 cpw 4485  {csn 4513  cmpt 5107  dom cdm 5519  ran crn 5520  cima 5522  Fun wfun 6327  Fincfn 8548
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1916  ax-6 1974  ax-7 2019  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2161  ax-12 2178  ax-ext 2710  ax-sep 5164  ax-nul 5171  ax-pr 5293  ax-un 7473
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-reu 3060  df-rab 3062  df-v 3399  df-sbc 3680  df-dif 3844  df-un 3846  df-in 3848  df-ss 3858  df-pss 3860  df-nul 4210  df-if 4412  df-pw 4487  df-sn 4514  df-pr 4516  df-tp 4518  df-op 4520  df-uni 4794  df-br 5028  df-opab 5090  df-mpt 5108  df-tr 5134  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-ord 6169  df-on 6170  df-lim 6171  df-suc 6172  df-iota 6291  df-fun 6335  df-fn 6336  df-f 6337  df-f1 6338  df-fo 6339  df-f1o 6340  df-fv 6341  df-om 7594  df-1o 8124  df-en 8549  df-fin 8552
This theorem is referenced by:  pwfi  8769  pwfiOLD  8885
  Copyright terms: Public domain W3C validator