MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  usgrafilem1 Structured version   Unicode version

Theorem usgrafilem1 24075
Description: The domain of the edge function is the union of the arguments/indices of all edges containing a specific vertex and the arguments/indices of all edges not containing this vertex. (Contributed by Alexander van der Vekens, 4-Jan-2018.)
Hypothesis
Ref Expression
usgrafis.f  |-  F  =  ( E  |`  { x  e.  dom  E  |  N  e/  ( E `  x
) } )
Assertion
Ref Expression
usgrafilem1  |-  dom  E  =  ( dom  F  u.  { x  e.  dom  E  |  N  e.  ( E `  x ) } )
Distinct variable groups:    x, E    x, N
Allowed substitution hint:    F( x)

Proof of Theorem usgrafilem1
StepHypRef Expression
1 uncom 3643 . 2  |-  ( { x  e.  dom  E  |  N  e.  ( E `  x ) }  u.  { x  e.  dom  E  |  N  e/  ( E `  x
) } )  =  ( { x  e. 
dom  E  |  N  e/  ( E `  x
) }  u.  {
x  e.  dom  E  |  N  e.  ( E `  x ) } )
2 rabxm 3803 . . 3  |-  dom  E  =  ( { x  e.  dom  E  |  N  e.  ( E `  x
) }  u.  {
x  e.  dom  E  |  -.  N  e.  ( E `  x ) } )
3 df-nel 2660 . . . . . . 7  |-  ( N  e/  ( E `  x )  <->  -.  N  e.  ( E `  x
) )
43bicomi 202 . . . . . 6  |-  ( -.  N  e.  ( E `
 x )  <->  N  e/  ( E `  x ) )
54a1i 11 . . . . 5  |-  ( x  e.  dom  E  -> 
( -.  N  e.  ( E `  x
)  <->  N  e/  ( E `  x )
) )
65rabbiia 3097 . . . 4  |-  { x  e.  dom  E  |  -.  N  e.  ( E `  x ) }  =  { x  e.  dom  E  |  N  e/  ( E `  x ) }
76uneq2i 3650 . . 3  |-  ( { x  e.  dom  E  |  N  e.  ( E `  x ) }  u.  { x  e.  dom  E  |  -.  N  e.  ( E `  x ) } )  =  ( { x  e.  dom  E  |  N  e.  ( E `  x
) }  u.  {
x  e.  dom  E  |  N  e/  ( E `  x ) } )
82, 7eqtri 2491 . 2  |-  dom  E  =  ( { x  e.  dom  E  |  N  e.  ( E `  x
) }  u.  {
x  e.  dom  E  |  N  e/  ( E `  x ) } )
9 usgrafis.f . . . . 5  |-  F  =  ( E  |`  { x  e.  dom  E  |  N  e/  ( E `  x
) } )
109dmeqi 5197 . . . 4  |-  dom  F  =  dom  ( E  |`  { x  e.  dom  E  |  N  e/  ( E `  x ) } )
11 ssrab2 3580 . . . . 5  |-  { x  e.  dom  E  |  N  e/  ( E `  x
) }  C_  dom  E
12 ssdmres 5288 . . . . 5  |-  ( { x  e.  dom  E  |  N  e/  ( E `  x ) }  C_  dom  E  <->  dom  ( E  |`  { x  e.  dom  E  |  N  e/  ( E `  x ) } )  =  {
x  e.  dom  E  |  N  e/  ( E `  x ) } )
1311, 12mpbi 208 . . . 4  |-  dom  ( E  |`  { x  e. 
dom  E  |  N  e/  ( E `  x
) } )  =  { x  e.  dom  E  |  N  e/  ( E `  x ) }
1410, 13eqtri 2491 . . 3  |-  dom  F  =  { x  e.  dom  E  |  N  e/  ( E `  x ) }
1514uneq1i 3649 . 2  |-  ( dom 
F  u.  { x  e.  dom  E  |  N  e.  ( E `  x
) } )  =  ( { x  e. 
dom  E  |  N  e/  ( E `  x
) }  u.  {
x  e.  dom  E  |  N  e.  ( E `  x ) } )
161, 8, 153eqtr4i 2501 1  |-  dom  E  =  ( dom  F  u.  { x  e.  dom  E  |  N  e.  ( E `  x ) } )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    <-> wb 184    = wceq 1374    e. wcel 1762    e/ wnel 2658   {crab 2813    u. cun 3469    C_ wss 3471   dom cdm 4994    |` cres 4996   ` cfv 5581
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1596  ax-4 1607  ax-5 1675  ax-6 1714  ax-7 1734  ax-9 1766  ax-10 1781  ax-11 1786  ax-12 1798  ax-13 1963  ax-ext 2440  ax-sep 4563  ax-nul 4571  ax-pr 4681
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 970  df-tru 1377  df-ex 1592  df-nf 1595  df-sb 1707  df-clab 2448  df-cleq 2454  df-clel 2457  df-nfc 2612  df-ne 2659  df-nel 2660  df-ral 2814  df-rex 2815  df-rab 2818  df-v 3110  df-dif 3474  df-un 3476  df-in 3478  df-ss 3485  df-nul 3781  df-if 3935  df-sn 4023  df-pr 4025  df-op 4029  df-br 4443  df-opab 4501  df-xp 5000  df-dm 5004  df-res 5006
This theorem is referenced by:  usgrafilem2  24076  cusgrasizeindslem1  24137
  Copyright terms: Public domain W3C validator