![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > unfilem3 | Structured version Visualization version GIF version |
Description: Lemma for proving that the union of two finite sets is finite. (Contributed by NM, 16-Nov-2002.) (Revised by Mario Carneiro, 31-Aug-2015.) |
Ref | Expression |
---|---|
unfilem3 | ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → 𝐵 ≈ ((𝐴 +o 𝐵) ∖ 𝐴)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | oveq1 7150 | . . . 4 ⊢ (𝐴 = if(𝐴 ∈ ω, 𝐴, ∅) → (𝐴 +o 𝐵) = (if(𝐴 ∈ ω, 𝐴, ∅) +o 𝐵)) | |
2 | id 22 | . . . 4 ⊢ (𝐴 = if(𝐴 ∈ ω, 𝐴, ∅) → 𝐴 = if(𝐴 ∈ ω, 𝐴, ∅)) | |
3 | 1, 2 | difeq12d 4025 | . . 3 ⊢ (𝐴 = if(𝐴 ∈ ω, 𝐴, ∅) → ((𝐴 +o 𝐵) ∖ 𝐴) = ((if(𝐴 ∈ ω, 𝐴, ∅) +o 𝐵) ∖ if(𝐴 ∈ ω, 𝐴, ∅))) |
4 | 3 | breq2d 5037 | . 2 ⊢ (𝐴 = if(𝐴 ∈ ω, 𝐴, ∅) → (𝐵 ≈ ((𝐴 +o 𝐵) ∖ 𝐴) ↔ 𝐵 ≈ ((if(𝐴 ∈ ω, 𝐴, ∅) +o 𝐵) ∖ if(𝐴 ∈ ω, 𝐴, ∅)))) |
5 | id 22 | . . 3 ⊢ (𝐵 = if(𝐵 ∈ ω, 𝐵, ∅) → 𝐵 = if(𝐵 ∈ ω, 𝐵, ∅)) | |
6 | oveq2 7151 | . . . 4 ⊢ (𝐵 = if(𝐵 ∈ ω, 𝐵, ∅) → (if(𝐴 ∈ ω, 𝐴, ∅) +o 𝐵) = (if(𝐴 ∈ ω, 𝐴, ∅) +o if(𝐵 ∈ ω, 𝐵, ∅))) | |
7 | 6 | difeq1d 4023 | . . 3 ⊢ (𝐵 = if(𝐵 ∈ ω, 𝐵, ∅) → ((if(𝐴 ∈ ω, 𝐴, ∅) +o 𝐵) ∖ if(𝐴 ∈ ω, 𝐴, ∅)) = ((if(𝐴 ∈ ω, 𝐴, ∅) +o if(𝐵 ∈ ω, 𝐵, ∅)) ∖ if(𝐴 ∈ ω, 𝐴, ∅))) |
8 | 5, 7 | breq12d 5038 | . 2 ⊢ (𝐵 = if(𝐵 ∈ ω, 𝐵, ∅) → (𝐵 ≈ ((if(𝐴 ∈ ω, 𝐴, ∅) +o 𝐵) ∖ if(𝐴 ∈ ω, 𝐴, ∅)) ↔ if(𝐵 ∈ ω, 𝐵, ∅) ≈ ((if(𝐴 ∈ ω, 𝐴, ∅) +o if(𝐵 ∈ ω, 𝐵, ∅)) ∖ if(𝐴 ∈ ω, 𝐴, ∅)))) |
9 | peano1 7593 | . . . 4 ⊢ ∅ ∈ ω | |
10 | 9 | elimel 4482 | . . 3 ⊢ if(𝐵 ∈ ω, 𝐵, ∅) ∈ ω |
11 | ovex 7176 | . . . 4 ⊢ (if(𝐴 ∈ ω, 𝐴, ∅) +o if(𝐵 ∈ ω, 𝐵, ∅)) ∈ V | |
12 | 11 | difexi 5191 | . . 3 ⊢ ((if(𝐴 ∈ ω, 𝐴, ∅) +o if(𝐵 ∈ ω, 𝐵, ∅)) ∖ if(𝐴 ∈ ω, 𝐴, ∅)) ∈ V |
13 | 9 | elimel 4482 | . . . 4 ⊢ if(𝐴 ∈ ω, 𝐴, ∅) ∈ ω |
14 | eqid 2759 | . . . 4 ⊢ (𝑥 ∈ if(𝐵 ∈ ω, 𝐵, ∅) ↦ (if(𝐴 ∈ ω, 𝐴, ∅) +o 𝑥)) = (𝑥 ∈ if(𝐵 ∈ ω, 𝐵, ∅) ↦ (if(𝐴 ∈ ω, 𝐴, ∅) +o 𝑥)) | |
15 | 13, 10, 14 | unfilem2 8801 | . . 3 ⊢ (𝑥 ∈ if(𝐵 ∈ ω, 𝐵, ∅) ↦ (if(𝐴 ∈ ω, 𝐴, ∅) +o 𝑥)):if(𝐵 ∈ ω, 𝐵, ∅)–1-1-onto→((if(𝐴 ∈ ω, 𝐴, ∅) +o if(𝐵 ∈ ω, 𝐵, ∅)) ∖ if(𝐴 ∈ ω, 𝐴, ∅)) |
16 | f1oen2g 8537 | . . 3 ⊢ ((if(𝐵 ∈ ω, 𝐵, ∅) ∈ ω ∧ ((if(𝐴 ∈ ω, 𝐴, ∅) +o if(𝐵 ∈ ω, 𝐵, ∅)) ∖ if(𝐴 ∈ ω, 𝐴, ∅)) ∈ V ∧ (𝑥 ∈ if(𝐵 ∈ ω, 𝐵, ∅) ↦ (if(𝐴 ∈ ω, 𝐴, ∅) +o 𝑥)):if(𝐵 ∈ ω, 𝐵, ∅)–1-1-onto→((if(𝐴 ∈ ω, 𝐴, ∅) +o if(𝐵 ∈ ω, 𝐵, ∅)) ∖ if(𝐴 ∈ ω, 𝐴, ∅))) → if(𝐵 ∈ ω, 𝐵, ∅) ≈ ((if(𝐴 ∈ ω, 𝐴, ∅) +o if(𝐵 ∈ ω, 𝐵, ∅)) ∖ if(𝐴 ∈ ω, 𝐴, ∅))) | |
17 | 10, 12, 15, 16 | mp3an 1459 | . 2 ⊢ if(𝐵 ∈ ω, 𝐵, ∅) ≈ ((if(𝐴 ∈ ω, 𝐴, ∅) +o if(𝐵 ∈ ω, 𝐵, ∅)) ∖ if(𝐴 ∈ ω, 𝐴, ∅)) |
18 | 4, 8, 17 | dedth2h 4472 | 1 ⊢ ((𝐴 ∈ ω ∧ 𝐵 ∈ ω) → 𝐵 ≈ ((𝐴 +o 𝐵) ∖ 𝐴)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 400 = wceq 1539 ∈ wcel 2112 Vcvv 3407 ∖ cdif 3851 ∅c0 4221 ifcif 4413 class class class wbr 5025 ↦ cmpt 5105 –1-1-onto→wf1o 6327 (class class class)co 7143 ωcom 7572 +o coa 8102 ≈ cen 8517 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1912 ax-6 1971 ax-7 2016 ax-8 2114 ax-9 2122 ax-10 2143 ax-11 2159 ax-12 2176 ax-ext 2730 ax-sep 5162 ax-nul 5169 ax-pow 5227 ax-pr 5291 ax-un 7452 |
This theorem depends on definitions: df-bi 210 df-an 401 df-or 846 df-3or 1086 df-3an 1087 df-tru 1542 df-fal 1552 df-ex 1783 df-nf 1787 df-sb 2071 df-mo 2558 df-eu 2589 df-clab 2737 df-cleq 2751 df-clel 2831 df-nfc 2899 df-ne 2950 df-ral 3073 df-rex 3074 df-reu 3075 df-rab 3077 df-v 3409 df-sbc 3694 df-csb 3802 df-dif 3857 df-un 3859 df-in 3861 df-ss 3871 df-pss 3873 df-nul 4222 df-if 4414 df-pw 4489 df-sn 4516 df-pr 4518 df-tp 4520 df-op 4522 df-uni 4792 df-int 4832 df-iun 4878 df-br 5026 df-opab 5088 df-mpt 5106 df-tr 5132 df-id 5423 df-eprel 5428 df-po 5436 df-so 5437 df-fr 5476 df-we 5478 df-xp 5523 df-rel 5524 df-cnv 5525 df-co 5526 df-dm 5527 df-rn 5528 df-res 5529 df-ima 5530 df-pred 6119 df-ord 6165 df-on 6166 df-lim 6167 df-suc 6168 df-iota 6287 df-fun 6330 df-fn 6331 df-f 6332 df-f1 6333 df-fo 6334 df-f1o 6335 df-fv 6336 df-ov 7146 df-oprab 7147 df-mpo 7148 df-om 7573 df-wrecs 7950 df-recs 8011 df-rdg 8049 df-oadd 8109 df-en 8521 |
This theorem is referenced by: unfi 8803 |
Copyright terms: Public domain | W3C validator |