HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem unfilem3 3440
Description: Lemma for proving that the union of two finite sets is finite.
Assertion
Ref Expression
unfilem3 |- ((A e. om /\ B e. om) -> B ~~ ((A +o B) \ A))

Proof of Theorem unfilem3
StepHypRef Expression
1 f1oeq1 2795 . . . 4 |- (f = {<.x, y>. | (x e. B /\ y = (A +o x))} -> (f:B-1-1-onto->((A +o B) \ A) <-> {<.x, y>. | (x e. B /\ y = (A +o x))}:B-1-1-onto->((A +o B) \ A)))
21cla4egv 1397 . . 3 |- ({<.x, y>. | (x e. B /\ y = (A +o x))} e. V -> ({<.x, y>. | (x e. B /\ y = (A +o x))}:B-1-1-onto->((A +o B) \ A) -> E.f f:B-1-1-onto->((A +o B) \ A)))
3 opreq1 3006 . . . . . . . . . . 11 |- (A = if(A e. om, A, (/)) -> (A +o x) = (if(A e. om, A, (/)) +o x))
43cleq2d 1112 . . . . . . . . . 10 |- (A = if(A e. om, A, (/)) -> (y = (A +o x) <-> y = (if(A e. om, A, (/)) +o x)))
54anbi2d 468 . . . . . . . . 9 |- (A = if(A e. om, A, (/)) -> ((x e. B /\ y = (A +o x)) <-> (x e. B /\ y = (if(A e. om, A, (/)) +o x))))
65biopabdv 2102 . . . . . . . 8 |- (A = if(A e. om, A, (/)) -> {<.x, y>. | (x e. B /\ y = (A +o x))} = {<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))})
7 f1oeq1 2795 . . . . . . . 8 |- ({<.x, y>. | (x e. B /\ y = (A +o x))} = {<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))} -> ({<.x, y>. | (x e. B /\ y = (A +o x))}:B-1-1-onto->((A +o B) \ A) <-> {<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((A +o B) \ A)))
86, 7syl 12 . . . . . . 7 |- (A = if(A e. om, A, (/)) -> ({<.x, y>. | (x e. B /\ y = (A +o x))}:B-1-1-onto->((A +o B) \ A) <-> {<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((A +o B) \ A)))
9 opreq1 3006 . . . . . . . . . 10 |- (A = if(A e. om, A, (/)) -> (A +o B) = (if(A e. om, A, (/)) +o B))
109difeq1d 1587 . . . . . . . . 9 |- (A = if(A e. om, A, (/)) -> ((A +o B) \ A) = ((if(A e. om, A, (/)) +o B) \ A))
11 difeq2 1583 . . . . . . . . 9 |- (A = if(A e. om, A, (/)) -> ((if(A e. om, A, (/)) +o B) \ A) = ((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/))))
1210, 11eqtrd 1128 . . . . . . . 8 |- (A = if(A e. om, A, (/)) -> ((A +o B) \ A) = ((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/))))
13 f1oeq3 2797 . . . . . . . 8 |- (((A +o B) \ A) = ((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/))) -> ({<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((A +o B) \ A) <-> {<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/)))))
1412, 13syl 12 . . . . . . 7 |- (A = if(A e. om, A, (/)) -> ({<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((A +o B) \ A) <-> {<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/)))))
158, 14bitrd 406 . . . . . 6 |- (A = if(A e. om, A, (/)) -> ({<.x, y>. | (x e. B /\ y = (A +o x))}:B-1-1-onto->((A +o B) \ A) <-> {<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/)))))
16 eleq2 1150 . . . . . . . . . 10 |- (B = if(B e. om, B, (/)) -> (x e. B <-> x e. if(B e. om, B, (/))))
1716anbi1d 469 . . . . . . . . 9 |- (B = if(B e. om, B, (/)) -> ((x e. B /\ y = (if(A e. om, A, (/)) +o x)) <-> (x e. if(B e. om, B, (/)) /\ y = (if(A e. om, A, (/)) +o x))))
1817biopabdv 2102 . . . . . . . 8 |- (B = if(B e. om, B, (/)) -> {<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))} = {<.x, y>. | (x e. if(B e. om, B, (/)) /\ y = (if(A e. om, A, (/)) +o x))})
19 f1oeq1 2795 . . . . . . . 8 |- ({<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))} = {<.x, y>. | (x e. if(B e. om, B, (/)) /\ y = (if(A e. om, A, (/)) +o x))} -> ({<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/))) <-> {<.x, y>. | (x e. if(B e. om, B, (/)) /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/)))))
2018, 19syl 12 . . . . . . 7 |- (B = if(B e. om, B, (/)) -> ({<.x, y>. | (x e. B /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/))) <-> {<.x, y>. | (x e. if(B e. om, B, (/)) /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/)))))
21 f1oeq2 2796 . . . . . . 7 |- (B = if(B e. om, B, (/)) -> ({<.x, y>. | (x e. if(B e. om, B, (/)) /\ y = (if(A e. om, A, (/)) +o x))}:B-1-1-onto->((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/))) <-> {<.x, y>. | (x e. if(B e. om, B, (/)) /\ y = (if(A e. om, A, (/)) +o x))}:if(B e. om, B, (/))-1-1-onto->((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/)))))
22 opreq2 3007 . . . . . . . . 9 |- (B = if(B e. om, B, (/)) -> (if(A e. om, A, (/)) +o B) = (if(A e. om, A, (/)) +o if(B e. om, B, (/))))
2322difeq1d 1587 . . . . . . . 8 |- (B = if(B e. om, B, (/)) -> ((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/))) = ((if(A e. om, A, (/)) +o if(B e. om, B, (/))) \ if(A e. om, A, (/))))
24 f1oeq3 2797 . . . . . . . 8 |- (((if(A e. om, A, (/)) +o B) \ if(A e. om, A, (/))) = ((if(A e. om, A, (/)) +o if(B e. om, B, (/))) \ if(A e. om, A, (/))) -> ({<.x, y>. | (x e. if(B e. om, B, (/)) /\ y = (if(A e. om, A, (/)) +o x))}:if(B e. om, B, (/))-1-1-onto->((if(A e. om, A, (/)) +o B) \ if(A e. om,