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

Theorem unfilem2 9306
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 7457 . . . . . 6 (𝐴 +o 𝑥) ∈ V
2 unfilem1.3 . . . . . 6 𝐹 = (𝑥 ∈ 𝐵 ↦ (𝐴 +o 𝑥))
31, 2fnmpti 6687 . . . . 5 𝐹 Fn 𝐵
4 unfilem1.1 . . . . . 6 𝐴 ∈ ω
5 unfilem1.2 . . . . . 6 𝐵 ∈ ω
64, 5, 2unfilem1 9305 . . . . 5 ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴)
7 df-fo 6549 . . . . 5 (𝐹:𝐵–onto→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹 Fn 𝐵 ∧ ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴)))
83, 6, 7mpbir2an 724 . . . 4 𝐹:𝐵–onto→((𝐴 +o 𝐵) ∖ 𝐴)
9 fof 6801 . . . 4 (𝐹:𝐵–onto→((𝐴 +o 𝐵) ∖ 𝐴) → 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴))
108, 9ax-mp 5 . . 3 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴)
11 oveq2 7432 . . . . . . . 8 (𝑥 = 𝑧 → (𝐴 +o 𝑥) = (𝐴 +o 𝑧))
12 ovex 7457 . . . . . . . 8 (𝐴 +o 𝑧) ∈ V
1311, 2, 12fvmpt 6998 . . . . . . 7 (𝑧 ∈ 𝐵 → (𝐹‘𝑧) = (𝐴 +o 𝑧))
14 oveq2 7432 . . . . . . . 8 (𝑥 = 𝑤 → (𝐴 +o 𝑥) = (𝐴 +o 𝑤))
15 ovex 7457 . . . . . . . 8 (𝐴 +o 𝑤) ∈ V
1614, 2, 15fvmpt 6998 . . . . . . 7 (𝑤 ∈ 𝐵 → (𝐹‘𝑤) = (𝐴 +o 𝑤))
1713, 16eqeqan12d 2774 . . . . . 6 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) ↔ (𝐴 +o 𝑧) = (𝐴 +o 𝑤)))
18 elnn 7892 . . . . . . . 8 ((𝑧 ∈ 𝐵 ∧ 𝐵 ∈ ω) → 𝑧 ∈ ω)
195, 18mpan2 704 . . . . . . 7 (𝑧 ∈ 𝐵 → 𝑧 ∈ ω)
20 elnn 7892 . . . . . . . 8 ((𝑤 ∈ 𝐵 ∧ 𝐵 ∈ ω) → 𝑤 ∈ ω)
215, 20mpan2 704 . . . . . . 7 (𝑤 ∈ 𝐵 → 𝑤 ∈ ω)
22 nnacan 8645 . . . . . . 7 ((𝐴 ∈ ω ∧ 𝑧 ∈ ω ∧ 𝑤 ∈ ω) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤))
234, 19, 21, 22mp3an3an 1496 . . . . . 6 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤))
2417, 23bitrd 282 . . . . 5 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) ↔ 𝑧 = 𝑤))
2524biimpd 232 . . . 4 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤))
2625rgen2 3202 . . 3 ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤)
27 dff13 7262 . . 3 (𝐹:𝐵–1-1→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴) ∧ ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤)))
2810, 26, 27mpbir2an 724 . 2 𝐹:𝐵–1-1→((𝐴 +o 𝐵) ∖ 𝐴)
29 df-f1o 6550 . 2 (𝐹:𝐵–1-1-onto→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹:𝐵–1-1→((𝐴 +o 𝐵) ∖ 𝐴) ∧ 𝐹:𝐵–onto→((𝐴 +o 𝐵) ∖ 𝐴)))
3028, 8, 29mpbir2an 724 1 𝐹:𝐵–1-1-onto→((𝐴 +o 𝐵) ∖ 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076   ∖ cdif 4044   ↦ cmpt 5185  ran crn 5652   Fn wfn 6538  ⟶wf 6539  –1-1→wf1 6540  –onto→wfo 6541  –1-1-onto→wf1o 6542  ‘cfv 6543  (class class class)co 7424  ωcom 7881   +o coa 8481
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391  ax-un 7755
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-int 4907  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-2nd 8006  df-frecs 8307  df-wrecs 8338  df-recs 8387  df-rdg 8426  df-oadd 8488
This theorem is used by:  unfilem3  9307
  Copyright terms: Public domain W3C validator