Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > unfilem2 | Structured version Visualization version GIF version |
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.) |
Ref | Expression |
---|---|
unfilem1.1 | ⊢ 𝐴 ∈ ω |
unfilem1.2 | ⊢ 𝐵 ∈ ω |
unfilem1.3 | ⊢ 𝐹 = (𝑥 ∈ 𝐵 ↦ (𝐴 +o 𝑥)) |
Ref | Expression |
---|---|
unfilem2 | ⊢ 𝐹:𝐵–1-1-onto→((𝐴 +o 𝐵) ∖ 𝐴) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ovex 7305 | . . . . . 6 ⊢ (𝐴 +o 𝑥) ∈ V | |
2 | unfilem1.3 | . . . . . 6 ⊢ 𝐹 = (𝑥 ∈ 𝐵 ↦ (𝐴 +o 𝑥)) | |
3 | 1, 2 | fnmpti 6574 | . . . . 5 ⊢ 𝐹 Fn 𝐵 |
4 | unfilem1.1 | . . . . . 6 ⊢ 𝐴 ∈ ω | |
5 | unfilem1.2 | . . . . . 6 ⊢ 𝐵 ∈ ω | |
6 | 4, 5, 2 | unfilem1 9066 | . . . . 5 ⊢ ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴) |
7 | df-fo 6438 | . . . . 5 ⊢ (𝐹:𝐵–onto→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹 Fn 𝐵 ∧ ran 𝐹 = ((𝐴 +o 𝐵) ∖ 𝐴))) | |
8 | 3, 6, 7 | mpbir2an 708 | . . . 4 ⊢ 𝐹:𝐵–onto→((𝐴 +o 𝐵) ∖ 𝐴) |
9 | fof 6686 | . . . 4 ⊢ (𝐹:𝐵–onto→((𝐴 +o 𝐵) ∖ 𝐴) → 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴)) | |
10 | 8, 9 | ax-mp 5 | . . 3 ⊢ 𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴) |
11 | oveq2 7280 | . . . . . . . 8 ⊢ (𝑥 = 𝑧 → (𝐴 +o 𝑥) = (𝐴 +o 𝑧)) | |
12 | ovex 7305 | . . . . . . . 8 ⊢ (𝐴 +o 𝑧) ∈ V | |
13 | 11, 2, 12 | fvmpt 6872 | . . . . . . 7 ⊢ (𝑧 ∈ 𝐵 → (𝐹‘𝑧) = (𝐴 +o 𝑧)) |
14 | oveq2 7280 | . . . . . . . 8 ⊢ (𝑥 = 𝑤 → (𝐴 +o 𝑥) = (𝐴 +o 𝑤)) | |
15 | ovex 7305 | . . . . . . . 8 ⊢ (𝐴 +o 𝑤) ∈ V | |
16 | 14, 2, 15 | fvmpt 6872 | . . . . . . 7 ⊢ (𝑤 ∈ 𝐵 → (𝐹‘𝑤) = (𝐴 +o 𝑤)) |
17 | 13, 16 | eqeqan12d 2754 | . . . . . 6 ⊢ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) ↔ (𝐴 +o 𝑧) = (𝐴 +o 𝑤))) |
18 | elnn 7718 | . . . . . . . 8 ⊢ ((𝑧 ∈ 𝐵 ∧ 𝐵 ∈ ω) → 𝑧 ∈ ω) | |
19 | 5, 18 | mpan2 688 | . . . . . . 7 ⊢ (𝑧 ∈ 𝐵 → 𝑧 ∈ ω) |
20 | elnn 7718 | . . . . . . . 8 ⊢ ((𝑤 ∈ 𝐵 ∧ 𝐵 ∈ ω) → 𝑤 ∈ ω) | |
21 | 5, 20 | mpan2 688 | . . . . . . 7 ⊢ (𝑤 ∈ 𝐵 → 𝑤 ∈ ω) |
22 | nnacan 8451 | . . . . . . 7 ⊢ ((𝐴 ∈ ω ∧ 𝑧 ∈ ω ∧ 𝑤 ∈ ω) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤)) | |
23 | 4, 19, 21, 22 | mp3an3an 1466 | . . . . . 6 ⊢ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐴 +o 𝑧) = (𝐴 +o 𝑤) ↔ 𝑧 = 𝑤)) |
24 | 17, 23 | bitrd 278 | . . . . 5 ⊢ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) ↔ 𝑧 = 𝑤)) |
25 | 24 | biimpd 228 | . . . 4 ⊢ ((𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵) → ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤)) |
26 | 25 | rgen2 3129 | . . 3 ⊢ ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤) |
27 | dff13 7125 | . . 3 ⊢ (𝐹:𝐵–1-1→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹:𝐵⟶((𝐴 +o 𝐵) ∖ 𝐴) ∧ ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 ((𝐹‘𝑧) = (𝐹‘𝑤) → 𝑧 = 𝑤))) | |
28 | 10, 26, 27 | mpbir2an 708 | . 2 ⊢ 𝐹:𝐵–1-1→((𝐴 +o 𝐵) ∖ 𝐴) |
29 | df-f1o 6439 | . 2 ⊢ (𝐹:𝐵–1-1-onto→((𝐴 +o 𝐵) ∖ 𝐴) ↔ (𝐹:𝐵–1-1→((𝐴 +o 𝐵) ∖ 𝐴) ∧ 𝐹:𝐵–onto→((𝐴 +o 𝐵) ∖ 𝐴))) | |
30 | 28, 8, 29 | mpbir2an 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-1→wf1 6429 –onto→wfo 6430 –1-1-onto→wf1o 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 |