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

Theorem unfilem2 9308
Description: Lemma for proving that the union of two finite sets is finite. (Contributed by NM, 10-Nov-2002.) (Revised by Mario Carneiro, 31-Aug-2015.)
Hypotheses
Ref Expression
unfilem1.1 𝐴 ∈ ω
unfilem1.2 𝐵 ∈ ω
unfilem1.3 𝐹 = (𝑥𝐵 ↦ (𝐴 +o 𝑥))
Assertion
Ref Expression
unfilem2 𝐹:𝐵1-1-onto→((𝐴 +o 𝐵) ∖ 𝐴)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hint:   𝐹(𝑥)

Proof of Theorem unfilem2
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ovex 7439 . . . . . 6 (𝐴 +o 𝑥) ∈ V
2 unfilem1.3 . . . . . 6 𝐹 = (𝑥𝐵 ↦ (𝐴 +o 𝑥))
31, 2fnmpti 6691 . . . . 5 𝐹 Fn 𝐵
4 unfilem1.1 . . . . . 6 𝐴 ∈ ω
5 unfilem1.2 . . . . . 6 𝐵 ∈ ω
64, 5, 2unfilem1 9307 . . . . 5 ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴)
7 df-fo 6547 . . . . 5 (𝐹:𝐵onto→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹 Fn 𝐵 ∧ ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴)))
83, 6, 7mpbir2an 710 . . . 4 𝐹:𝐵onto→((𝐴 +o 𝐵) ∖ 𝐴)
9 fof 6803 . . . 4 (𝐹:𝐵onto→((𝐴 +o 𝐵) ∖ 𝐴) → 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴))
108, 9ax-mp 5 . . 3 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴)
11 oveq2 7414 . . . . . . . 8 (𝑥 = 𝑧 → (𝐴 +o 𝑥) = (𝐴 +o 𝑧))
12 ovex 7439 . . . . . . . 8 (𝐴 +o 𝑧) ∈ V
1311, 2, 12fvmpt 6996 . . . . . . 7 (𝑧𝐵 → (𝐹𝑧) = (𝐴 +o 𝑧))
14 oveq2 7414 . . . . . . . 8 (𝑥 = 𝑤 → (𝐴 +o 𝑥) = (𝐴 +o 𝑤))
15 ovex 7439 . . . . . . . 8 (𝐴 +o 𝑤) ∈ V
1614, 2, 15fvmpt 6996 . . . . . . 7 (𝑤𝐵 → (𝐹𝑤) = (𝐴 +o 𝑤))
1713, 16eqeqan12d 2747 . . . . . 6 ((𝑧𝐵𝑤𝐵) → ((𝐹𝑧) = (𝐹𝑤) ↔ (𝐴 +o 𝑧) = (𝐴 +o 𝑤)))
18 elnn 7863 . . . . . . . 8 ((𝑧𝐵𝐵 ∈ ω) → 𝑧 ∈ ω)
195, 18mpan2 690 . . . . . . 7 (𝑧𝐵𝑧 ∈ ω)
20 elnn 7863 . . . . . . . 8 ((𝑤𝐵𝐵 ∈ ω) → 𝑤 ∈ ω)
215, 20mpan2 690 . . . . . . 7 (𝑤𝐵𝑤 ∈ ω)
22 nnacan 8625 . . . . . . 7 ((𝐴 ∈ ω ∧ 𝑧 ∈ ω ∧ 𝑤 ∈ ω) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤))
234, 19, 21, 22mp3an3an 1468 . . . . . 6 ((𝑧𝐵𝑤𝐵) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤))
2417, 23bitrd 279 . . . . 5 ((𝑧𝐵𝑤𝐵) → ((𝐹𝑧) = (𝐹𝑤) ↔ 𝑧 = 𝑤))
2524biimpd 228 . . . 4 ((𝑧𝐵𝑤𝐵) → ((𝐹𝑧) = (𝐹𝑤) → 𝑧 = 𝑤))
2625rgen2 3198 . . 3 𝑧𝐵𝑤𝐵 ((𝐹𝑧) = (𝐹𝑤) → 𝑧 = 𝑤)
27 dff13 7251 . . 3 (𝐹:𝐵1-1→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴) ∧ ∀𝑧𝐵𝑤𝐵 ((𝐹𝑧) = (𝐹𝑤) → 𝑧 = 𝑤)))
2810, 26, 27mpbir2an 710 . 2 𝐹:𝐵1-1→((𝐴 +o 𝐵) ∖ 𝐴)
29 df-f1o 6548 . 2 (𝐹:𝐵1-1-onto→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹:𝐵1-1→((𝐴 +o 𝐵) ∖ 𝐴) ∧ 𝐹:𝐵onto→((𝐴 +o 𝐵) ∖ 𝐴)))
3028, 8, 29mpbir2an 710 1 𝐹:𝐵1-1-onto→((𝐴 +o 𝐵) ∖ 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397   = wceq 1542  wcel 2107  wral 3062  cdif 3945  cmpt 5231  ran crn 5677   Fn wfn 6536  wf 6537  1-1wf1 6538  ontowfo 6539  1-1-ontowf1o 6540  cfv 6541  (class class class)co 7406  ωcom 7852   +o coa 8460
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 5299  ax-nul 5306  ax-pr 5427  ax-un 7722
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 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-pss 3967  df-nul 4323  df-if 4529  df-pw 4604  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-int 4951  df-iun 4999  df-br 5149  df-opab 5211  df-mpt 5232  df-tr 5266  df-id 5574  df-eprel 5580  df-po 5588  df-so 5589  df-fr 5631  df-we 5633  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-res 5688  df-ima 5689  df-pred 6298  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6493  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-ov 7409  df-oprab 7410  df-mpo 7411  df-om 7853  df-2nd 7973  df-frecs 8263  df-wrecs 8294  df-recs 8368  df-rdg 8407  df-oadd 8467
This theorem is referenced by:  unfilem3  9309
  Copyright terms: Public domain W3C validator