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

Theorem unfilem2 9067
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 7305 . . . . . 6 (𝐴 +o 𝑥) ∈ V
2 unfilem1.3 . . . . . 6 𝐹 = (𝑥𝐵 ↦ (𝐴 +o 𝑥))
31, 2fnmpti 6574 . . . . 5 𝐹 Fn 𝐵
4 unfilem1.1 . . . . . 6 𝐴 ∈ ω
5 unfilem1.2 . . . . . 6 𝐵 ∈ ω
64, 5, 2unfilem1 9066 . . . . 5 ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴)
7 df-fo 6438 . . . . 5 (𝐹:𝐵onto→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹 Fn 𝐵 ∧ ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴)))
83, 6, 7mpbir2an 708 . . . 4 𝐹:𝐵onto→((𝐴 +o 𝐵) ∖ 𝐴)
9 fof 6686 . . . 4 (𝐹:𝐵onto→((𝐴 +o 𝐵) ∖ 𝐴) → 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴))
108, 9ax-mp 5 . . 3 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴)
11 oveq2 7280 . . . . . . . 8 (𝑥 = 𝑧 → (𝐴 +o 𝑥) = (𝐴 +o 𝑧))
12 ovex 7305 . . . . . . . 8 (𝐴 +o 𝑧) ∈ V
1311, 2, 12fvmpt 6872 . . . . . . 7 (𝑧𝐵 → (𝐹𝑧) = (𝐴 +o 𝑧))
14 oveq2 7280 . . . . . . . 8 (𝑥 = 𝑤 → (𝐴 +o 𝑥) = (𝐴 +o 𝑤))
15 ovex 7305 . . . . . . . 8 (𝐴 +o 𝑤) ∈ V
1614, 2, 15fvmpt 6872 . . . . . . 7 (𝑤𝐵 → (𝐹𝑤) = (𝐴 +o 𝑤))
1713, 16eqeqan12d 2754 . . . . . 6 ((𝑧𝐵𝑤𝐵) → ((𝐹𝑧) = (𝐹𝑤) ↔ (𝐴 +o 𝑧) = (𝐴 +o 𝑤)))
18 elnn 7718 . . . . . . . 8 ((𝑧𝐵𝐵 ∈ ω) → 𝑧 ∈ ω)
195, 18mpan2 688 . . . . . . 7 (𝑧𝐵𝑧 ∈ ω)
20 elnn 7718 . . . . . . . 8 ((𝑤𝐵𝐵 ∈ ω) → 𝑤 ∈ ω)
215, 20mpan2 688 . . . . . . 7 (𝑤𝐵𝑤 ∈ ω)
22 nnacan 8451 . . . . . . 7 ((𝐴 ∈ ω ∧ 𝑧 ∈ ω ∧ 𝑤 ∈ ω) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤))
234, 19, 21, 22mp3an3an 1466 . . . . . 6 ((𝑧𝐵𝑤𝐵) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤))
2417, 23bitrd 278 . . . . 5 ((𝑧𝐵𝑤𝐵) → ((𝐹𝑧) = (𝐹𝑤) ↔ 𝑧 = 𝑤))
2524biimpd 228 . . . 4 ((𝑧𝐵𝑤𝐵) → ((𝐹𝑧) = (𝐹𝑤) → 𝑧 = 𝑤))
2625rgen2 3129 . . 3 𝑧𝐵𝑤𝐵 ((𝐹𝑧) = (𝐹𝑤) → 𝑧 = 𝑤)
27 dff13 7125 . . 3 (𝐹:𝐵1-1→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴) ∧ ∀𝑧𝐵𝑤𝐵 ((𝐹𝑧) = (𝐹𝑤) → 𝑧 = 𝑤)))
2810, 26, 27mpbir2an 708 . 2 𝐹:𝐵1-1→((𝐴 +o 𝐵) ∖ 𝐴)
29 df-f1o 6439 . 2 (𝐹:𝐵1-1-onto→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹:𝐵1-1→((𝐴 +o 𝐵) ∖ 𝐴) ∧ 𝐹:𝐵onto→((𝐴 +o 𝐵) ∖ 𝐴)))
3028, 8, 29mpbir2an 708 1 𝐹:𝐵1-1-onto→((𝐴 +o 𝐵) ∖ 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1542  wcel 2110  wral 3066  cdif 3889  cmpt 5162  ran crn 5591   Fn wfn 6427  wf 6428  1-1wf1 6429  ontowfo 6430  1-1-ontowf1o 6431  cfv 6432  (class class class)co 7272  ωcom 7707   +o coa 8286
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 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pr 5356  ax-un 7583
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-reu 3073  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-int 4886  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  df-tr 5197  df-id 5490  df-eprel 5496  df-po 5504  df-so 5505  df-fr 5545  df-we 5547  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-pred 6201  df-ord 6268  df-on 6269  df-lim 6270  df-suc 6271  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-f1 6437  df-fo 6438  df-f1o 6439  df-fv 6440  df-ov 7275  df-oprab 7276  df-mpo 7277  df-om 7708  df-2nd 7826  df-frecs 8089  df-wrecs 8120  df-recs 8194  df-rdg 8233  df-oadd 8293
This theorem is referenced by:  unfilem3  9068
  Copyright terms: Public domain W3C validator