NFE Home New Foundations Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  NFE Home  >  Th. List  >  ncdisjun GIF version

Theorem ncdisjun 6137
Description: Cardinality of disjoint union of two sets. (Contributed by SF, 24-Feb-2015.)
Hypotheses
Ref Expression
ncdisjun.1 A V
ncdisjun.2 B V
Assertion
Ref Expression
ncdisjun ((AB) = Nc (AB) = ( Nc A +c Nc B))

Proof of Theorem ncdisjun
Dummy variables p q r x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elnc 6126 . . 3 (x Nc (AB) ↔ x ≈ (AB))
2 bren 6031 . . . . 5 (x ≈ (AB) ↔ r r:x1-1-onto→(AB))
3 f1ocnv 5300 . . . . . . 7 (r:x1-1-onto→(AB) → r:(AB)–1-1-ontox)
4 imaundi 5040 . . . . . . . . . . 11 (r “ (AB)) = ((rA) ∪ (rB))
5 imadmrn 5009 . . . . . . . . . . . . 13 (r “ dom r) = ran r
65a1i 10 . . . . . . . . . . . 12 (r:(AB)–1-1-ontox → (r “ dom r) = ran r)
7 f1odm 5291 . . . . . . . . . . . . 13 (r:(AB)–1-1-ontox → dom r = (AB))
87imaeq2d 4943 . . . . . . . . . . . 12 (r:(AB)–1-1-ontox → (r “ dom r) = (r “ (AB)))
9 f1ofo 5294 . . . . . . . . . . . . 13 (r:(AB)–1-1-ontoxr:(AB)–ontox)
10 forn 5273 . . . . . . . . . . . . 13 (r:(AB)–ontox → ran r = x)
119, 10syl 15 . . . . . . . . . . . 12 (r:(AB)–1-1-ontox → ran r = x)
126, 8, 113eqtr3d 2393 . . . . . . . . . . 11 (r:(AB)–1-1-ontox → (r “ (AB)) = x)
134, 12syl5eqr 2399 . . . . . . . . . 10 (r:(AB)–1-1-ontox → ((rA) ∪ (rB)) = x)
1413adantl 452 . . . . . . . . 9 (((AB) = r:(AB)–1-1-ontox) → ((rA) ∪ (rB)) = x)
15 f1of1 5287 . . . . . . . . . . . . . 14 (r:(AB)–1-1-ontoxr:(AB)–1-1x)
16 ssun1 3427 . . . . . . . . . . . . . 14 A (AB)
17 f1ores 5301 . . . . . . . . . . . . . 14 ((r:(AB)–1-1x A (AB)) → (r A):A1-1-onto→(rA))
1815, 16, 17sylancl 643 . . . . . . . . . . . . 13 (r:(AB)–1-1-ontox → (r A):A1-1-onto→(rA))
19 f1ocnv 5300 . . . . . . . . . . . . 13 ((r A):A1-1-onto→(rA) → (r A):(rA)–1-1-ontoA)
20 vex 2863 . . . . . . . . . . . . . . . . 17 r V
2120cnvex 5103 . . . . . . . . . . . . . . . 16 r V
22 ncdisjun.1 . . . . . . . . . . . . . . . 16 A V
2321, 22resex 5118 . . . . . . . . . . . . . . 15 (r A) V
2423cnvex 5103 . . . . . . . . . . . . . 14 (r A) V
2524f1oen 6034 . . . . . . . . . . . . 13 ((r A):(rA)–1-1-ontoA → (rA) ≈ A)
2618, 19, 253syl 18 . . . . . . . . . . . 12 (r:(AB)–1-1-ontox → (rA) ≈ A)
27 elnc 6126 . . . . . . . . . . . 12 ((rA) Nc A ↔ (rA) ≈ A)
2826, 27sylibr 203 . . . . . . . . . . 11 (r:(AB)–1-1-ontox → (rA) Nc A)
2928adantl 452 . . . . . . . . . 10 (((AB) = r:(AB)–1-1-ontox) → (rA) Nc A)
30 ssun2 3428 . . . . . . . . . . . . . 14 B (AB)
31 f1ores 5301 . . . . . . . . . . . . . 14 ((r:(AB)–1-1x B (AB)) → (r B):B1-1-onto→(rB))
3215, 30, 31sylancl 643 . . . . . . . . . . . . 13 (r:(AB)–1-1-ontox → (r B):B1-1-onto→(rB))
33 f1ocnv 5300 . . . . . . . . . . . . 13 ((r B):B1-1-onto→(rB) → (r B):(rB)–1-1-ontoB)
34 ncdisjun.2 . . . . . . . . . . . . . . . 16 B V
3521, 34resex 5118 . . . . . . . . . . . . . . 15 (r B) V
3635cnvex 5103 . . . . . . . . . . . . . 14 (r B) V
3736f1oen 6034 . . . . . . . . . . . . 13 ((r B):(rB)–1-1-ontoB → (rB) ≈ B)
3832, 33, 373syl 18 . . . . . . . . . . . 12 (r:(AB)–1-1-ontox → (rB) ≈ B)
3938adantl 452 . . . . . . . . . . 11 (((AB) = r:(AB)–1-1-ontox) → (rB) ≈ B)
40 elnc 6126 . . . . . . . . . . 11 ((rB) Nc B ↔ (rB) ≈ B)
4139, 40sylibr 203 . . . . . . . . . 10 (((AB) = r:(AB)–1-1-ontox) → (rB) Nc B)
42 df-f1 4793 . . . . . . . . . . . . . 14 (r:(AB)–1-1x ↔ (r:(AB)–→x Fun r))
4342simprbi 450 . . . . . . . . . . . . 13 (r:(AB)–1-1x → Fun r)
44 imain 5173 . . . . . . . . . . . . 13 (Fun r → (r “ (AB)) = ((rA) ∩ (rB)))
4515, 43, 443syl 18 . . . . . . . . . . . 12 (r:(AB)–1-1-ontox → (r “ (AB)) = ((rA) ∩ (rB)))
4645adantl 452 . . . . . . . . . . 11 (((AB) = r:(AB)–1-1-ontox) → (r “ (AB)) = ((rA) ∩ (rB)))
47 imaeq2 4939 . . . . . . . . . . . . 13 ((AB) = → (r “ (AB)) = (r))
48 ima0 5014 . . . . . . . . . . . . 13 (r) =
4947, 48syl6eq 2401 . . . . . . . . . . . 12 ((AB) = → (r “ (AB)) = )
5049adantr 451 . . . . . . . . . . 11 (((AB) = r:(AB)–1-1-ontox) → (r “ (AB)) = )
5146, 50eqtr3d 2387 . . . . . . . . . 10 (((AB) = r:(AB)–1-1-ontox) → ((rA) ∩ (rB)) = )
52 eladdci 4400 . . . . . . . . . 10 (((rA) Nc A (rB) Nc B ((rA) ∩ (rB)) = ) → ((rA) ∪ (rB)) ( Nc A +c Nc B))
5329, 41, 51, 52syl3anc 1182 . . . . . . . . 9 (((AB) = r:(AB)–1-1-ontox) → ((rA) ∪ (rB)) ( Nc A +c Nc B))
5414, 53eqeltrrd 2428 . . . . . . . 8 (((AB) = r:(AB)–1-1-ontox) → x ( Nc A +c Nc B))
5554ex 423 . . . . . . 7 ((AB) = → (r:(AB)–1-1-ontoxx ( Nc A +c Nc B)))
563, 55syl5 28 . . . . . 6 ((AB) = → (r:x1-1-onto→(AB) → x ( Nc A +c Nc B)))
5756exlimdv 1636 . . . . 5 ((AB) = → (r r:x1-1-onto→(AB) → x ( Nc A +c Nc B)))
582, 57syl5bi 208 . . . 4 ((AB) = → (x ≈ (AB) → x ( Nc A +c Nc B)))
59 eladdc 4399 . . . . 5 (x ( Nc A +c Nc B) ↔ p Nc Aq Nc B((pq) = x = (pq)))
60 simplrl 736 . . . . . . . . . 10 ((((AB) = (p Nc A q Nc B)) (pq) = ) → p Nc A)
61 elnc 6126 . . . . . . . . . 10 (p Nc ApA)
6260, 61sylib 188 . . . . . . . . 9 ((((AB) = (p Nc A q Nc B)) (pq) = ) → pA)
63 simplrr 737 . . . . . . . . . 10 ((((AB) = (p Nc A q Nc B)) (pq) = ) → q Nc B)
64 elnc 6126 . . . . . . . . . 10 (q Nc BqB)
6563, 64sylib 188 . . . . . . . . 9 ((((AB) = (p Nc A q Nc B)) (pq) = ) → qB)
66 simpr 447 . . . . . . . . 9 ((((AB) = (p Nc A q Nc B)) (pq) = ) → (pq) = )
67 simpll 730 . . . . . . . . 9 ((((AB) = (p Nc A q Nc B)) (pq) = ) → (AB) = )
68 unen 6049 . . . . . . . . 9 (((pA qB) ((pq) = (AB) = )) → (pq) ≈ (AB))
6962, 65, 66, 67, 68syl22anc 1183 . . . . . . . 8 ((((AB) = (p Nc A q Nc B)) (pq) = ) → (pq) ≈ (AB))
70 breq1 4643 . . . . . . . 8 (x = (pq) → (x ≈ (AB) ↔ (pq) ≈ (AB)))
7169, 70syl5ibrcom 213 . . . . . . 7 ((((AB) = (p Nc A q Nc B)) (pq) = ) → (x = (pq) → x ≈ (AB)))
7271expimpd 586 . . . . . 6 (((AB) = (p Nc A q Nc B)) → (((pq) = x = (pq)) → x ≈ (AB)))
7372rexlimdvva 2746 . . . . 5 ((AB) = → (p Nc Aq Nc B((pq) = x = (pq)) → x ≈ (AB)))
7459, 73syl5bi 208 . . . 4 ((AB) = → (x ( Nc A +c Nc B) → x ≈ (AB)))
7558, 74impbid 183 . . 3 ((AB) = → (x ≈ (AB) ↔ x ( Nc A +c Nc B)))
761, 75syl5bb 248 . 2 ((AB) = → (x Nc (AB) ↔ x ( Nc A +c Nc B)))
7776eqrdv 2351 1 ((AB) = Nc (AB) = ( Nc A +c Nc B))
Colors of variables: wff setvar class
Syntax hints:  wi 4   wa 358  wex 1541   = wceq 1642   wcel 1710  wrex 2616  Vcvv 2860  cun 3208  cin 3209   wss 3258  c0 3551   +c cplc 4376   class class class wbr 4640  cima 4723  ccnv 4772  dom cdm 4773  ran crn 4774   cres 4775  Fun wfun 4776  –→wf 4778  1-1wf1 4779  ontowfo 4780  1-1-ontowf1o 4781  cen 6029   Nc cnc 6092
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1546  ax-5 1557  ax-17 1616  ax-9 1654  ax-8 1675  ax-13 1712  ax-14 1714  ax-6 1729  ax-7 1734  ax-11 1746  ax-12 1925  ax-ext 2334  ax-nin 4079  ax-xp 4080  ax-cnv 4081  ax-1c 4082  ax-sset 4083  ax-si 4084  ax-ins2 4085  ax-ins3 4086  ax-typlower 4087  ax-sn 4088
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-nan 1288  df-tru 1319  df-ex 1542  df-nf 1545  df-sb 1649  df-eu 2208  df-mo 2209  df-clab 2340  df-cleq 2346  df-clel 2349  df-nfc 2479  df-ne 2519  df-ral 2620  df-rex 2621  df-reu 2622  df-rmo 2623  df-rab 2624  df-v 2862  df-sbc 3048  df-nin 3212  df-compl 3213  df-in 3214  df-un 3215  df-dif 3216  df-symdif 3217  df-ss 3260  df-pss 3262  df-nul 3552  df-if 3664  df-pw 3725  df-sn 3742  df-pr 3743  df-uni 3893  df-int 3928  df-opk 4059  df-1c 4137  df-pw1 4138  df-uni1 4139  df-xpk 4186  df-cnvk 4187  df-ins2k 4188  df-ins3k 4189  df-imak 4190  df-cok 4191  df-p6 4192  df-sik 4193  df-ssetk 4194  df-imagek 4195  df-idk 4196  df-iota 4340  df-0c 4378  df-addc 4379  df-nnc 4380  df-fin 4381  df-lefin 4441  df-ltfin 4442  df-ncfin 4443  df-tfin 4444  df-evenfin 4445  df-oddfin 4446  df-sfin 4447  df-spfin 4448  df-phi 4566  df-op 4567  df-proj1 4568  df-proj2 4569  df-opab 4624  df-br 4641  df-1st 4724  df-swap 4725  df-sset 4726  df-co 4727  df-ima 4728  df-si 4729  df-id 4768  df-xp 4785  df-cnv 4786  df-rn 4787  df-dm 4788  df-res 4789  df-fun 4790  df-fn 4791  df-f 4792  df-f1 4793  df-fo 4794  df-f1o 4795  df-2nd 4798  df-txp 5737  df-ins2 5751  df-ins3 5753  df-image 5755  df-ins4 5757  df-si3 5759  df-funs 5761  df-fns 5763  df-trans 5900  df-sym 5909  df-er 5910  df-ec 5948  df-en 6030  df-nc 6102
This theorem is referenced by:  ncaddccl  6145  1p1e2c  6156  2p1e3c  6157  dflec2  6211  addcdi  6251  nchoicelem7  6296  nchoicelem14  6303
  Copyright terms: Public domain W3C validator