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

Theorem unfilem2 9298
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 7453 . . . . . 6 (𝐴 +o 𝑥) ∈ V
2 unfilem1.3 . . . . . 6 𝐹 = (𝑥 ∈ 𝐵 ↦ (𝐴 +o 𝑥))
31, 2fnmpti 6682 . . . . 5 𝐹 Fn 𝐵
4 unfilem1.1 . . . . . 6 𝐴 ∈ ω
5 unfilem1.2 . . . . . 6 𝐵 ∈ ω
64, 5, 2unfilem1 9297 . . . . 5 ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴)
7 df-fo 6544 . . . . 5 (𝐹:𝐵–onto→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹 Fn 𝐵 ∧ ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴)))
83, 6, 7mpbir2an 724 . . . 4 𝐹:𝐵–onto→((𝐴 +o 𝐵) ∖ 𝐴)
9 fof 6796 . . . 4 (𝐹:𝐵–onto→((𝐴 +o 𝐵) ∖ 𝐴) → 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴))
108, 9ax-mp 5 . . 3 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴)
11 oveq2 7428 . . . . . . . 8 (𝑥 = 𝑧 → (𝐴 +o 𝑥) = (𝐴 +o 𝑧))
12 ovex 7453 . . . . . . . 8 (𝐴 +o 𝑧) ∈ V
1311, 2, 12fvmpt 6993 . . . . . . 7 (𝑧 ∈ 𝐵 → (𝐹‘𝑧) = (𝐴 +o 𝑧))
14 oveq2 7428 . . . . . . . 8 (𝑥 = 𝑤 → (𝐴 +o 𝑥) = (𝐴 +o 𝑤))
15 ovex 7453 . . . . . . . 8 (𝐴 +o 𝑤) ∈ V
1614, 2, 15fvmpt 6993 . . . . . . 7 (𝑤 ∈ 𝐵 → (𝐹‘𝑤) = (𝐴 +o 𝑤))
1713, 16eqeqan12d 2775 . . . . . 6 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) ↔ (𝐴 +o 𝑧) = (𝐴 +o 𝑤)))
18 elnn 7888 . . . . . . . 8 ((𝑧 ∈ 𝐵 ∧ 𝐵 ∈ ω) → 𝑧 ∈ ω)
195, 18mpan2 704 . . . . . . 7 (𝑧 ∈ 𝐵 → 𝑧 ∈ ω)
20 elnn 7888 . . . . . . . 8 ((𝑤 ∈ 𝐵 ∧ 𝐵 ∈ ω) → 𝑤 ∈ ω)
215, 20mpan2 704 . . . . . . 7 (𝑤 ∈ 𝐵 → 𝑤 ∈ ω)
22 nnacan 8637 . . . . . . 7 ((𝐴 ∈ ω ∧ 𝑧 ∈ ω ∧ 𝑤 ∈ ω) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤))
234, 19, 21, 22mp3an3an 1496 . . . . . 6 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤))
2417, 23bitrd 282 . . . . 5 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) ↔ 𝑧 = 𝑤))
2524biimpd 232 . . . 4 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤))
2625rgen2 3203 . . 3 ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤)
27 dff13 7258 . . 3 (𝐹:𝐵–1-1→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴) ∧ ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤)))
2810, 26, 27mpbir2an 724 . 2 𝐹:𝐵–1-1→((𝐴 +o 𝐵) ∖ 𝐴)
29 df-f1o 6545 . 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 1570   ∈ wcel 2145  ∀wral 3077   ∖ cdif 3896   ↦ cmpt 5186  ran crn 5652   Fn wfn 6533  ⟶wf 6534  –1-1→wf1 6535  –onto→wfo 6536  –1-1-onto→wf1o 6537  ‘cfv 6538  (class class class)co 7420  ωcom 7877   +o coa 8473
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  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 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-oadd 8480
This theorem is used by:  unfilem3  9299
  Copyright terms: Public domain W3C validator