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

Theorem unfilem2 9336
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-1onto((𝐴 +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 7484 . . . . . 6 (𝐴 +o 𝑥) ∈ V
2 unfilem1.3 . . . . . 6 𝐹 = (𝑥 ∈ 𝐵 ↦ (𝐴 +o 𝑥))
31, 2fnmpti 6712 . . . . 5 𝐹 Fn 𝐵
4 unfilem1.1 . . . . . 6 𝐴 ∈ ω
5 unfilem1.2 . . . . . 6 𝐵 ∈ ω
64, 5, 2unfilem1 9335 . . . . 5 ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴)
7 df-fo 6572 . . . . 5 (𝐹:𝐵⟶onto((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹 Fn 𝐵 ∧ ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴)))
83, 6, 7mpbir2an 724 . . . 4 𝐹:𝐵⟶onto((𝐴 +o 𝐵) ∖ 𝐴)
9 fof 6826 . . . 4 (𝐹:𝐵⟶onto((𝐴 +o 𝐵) ∖ 𝐴) → 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴))
108, 9ax-mp 5 . . 3 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴)
11 oveq2 7459 . . . . . . . 8 (𝑥 = 𝑧 → (𝐴 +o 𝑥) = (𝐴 +o 𝑧))
12 ovex 7484 . . . . . . . 8 (𝐴 +o 𝑧) ∈ V
1311, 2, 12fvmpt 7024 . . . . . . 7 (𝑧 ∈ 𝐵 → (𝐹‘𝑧) = (𝐴 +o 𝑧))
14 oveq2 7459 . . . . . . . 8 (𝑥 = 𝑤 → (𝐴 +o 𝑥) = (𝐴 +o 𝑤))
15 ovex 7484 . . . . . . . 8 (𝐴 +o 𝑤) ∈ V
1614, 2, 15fvmpt 7024 . . . . . . 7 (𝑤 ∈ 𝐵 → (𝐹‘𝑤) = (𝐴 +o 𝑤))
1713, 16eqeqan12d 2777 . . . . . 6 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) ↔ (𝐴 +o 𝑧) = (𝐴 +o 𝑤)))
18 elnn 7922 . . . . . . . 8 ((𝑧 ∈ 𝐵 ∧ 𝐵 ∈ ω) → 𝑧 ∈ ω)
195, 18mpan2 704 . . . . . . 7 (𝑧 ∈ 𝐵 → 𝑧 ∈ ω)
20 elnn 7922 . . . . . . . 8 ((𝑤 ∈ 𝐵 ∧ 𝐵 ∈ ω) → 𝑤 ∈ ω)
215, 20mpan2 704 . . . . . . 7 (𝑤 ∈ 𝐵 → 𝑤 ∈ ω)
22 nnacan 8675 . . . . . . 7 ((𝐴 ∈ ω ∧ 𝑧 ∈ ω ∧ 𝑤 ∈ ω) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤))
234, 19, 21, 22mp3an3an 1497 . . . . . 6 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤))
2417, 23bitrd 282 . . . . 5 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) ↔ 𝑧 = 𝑤))
2524biimpd 232 . . . 4 ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤))
2625rgen2 3206 . . 3 ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤)
27 dff13 7289 . . 3 (𝐹:𝐵⟶1-1((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴) ∧ ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤)))
2810, 26, 27mpbir2an 724 . 2 𝐹:𝐵⟶1-1((𝐴 +o 𝐵) ∖ 𝐴)
29 df-f1o 6573 . 2 (𝐹:𝐵⟶1-1onto((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹:𝐵⟶1-1((𝐴 +o 𝐵) ∖ 𝐴) ∧ 𝐹:𝐵⟶onto((𝐴 +o 𝐵) ∖ 𝐴)))
3028, 8, 29mpbir2an 724 1 𝐹:𝐵⟶1-1onto((𝐴 +o 𝐵) ∖ 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080   ∖ cdif 4048   ↦ cmpt 5192  ran crn 5659   Fn wfn 6561  ⟶wf 6562  ⟶1-1wf1 6563  ⟶ontowfo 6564  ⟶1-1ontowf1o 6565  ‘cfv 6566  (class class class)co 7451  ωcom 7911   +o coa 8511
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-int 4913  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-oadd 8518
This theorem is used by:  unfilem3  9337
  Copyright terms: Public domain W3C validator