Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fgraphxp Structured version   Unicode version

Theorem fgraphxp 29591
Description: Express a function as a subset of the Cartesian product. (Contributed by Stefan O'Rear, 25-Jan-2015.)
Assertion
Ref Expression
fgraphxp  |-  ( F : A --> B  ->  F  =  { x  e.  ( A  X.  B
)  |  ( F `
 ( 1st `  x
) )  =  ( 2nd `  x ) } )
Distinct variable groups:    x, F    x, A    x, B

Proof of Theorem fgraphxp
Dummy variables  a 
b are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fgraphopab 29590 . 2  |-  ( F : A --> B  ->  F  =  { <. a ,  b >.  |  ( ( a  e.  A  /\  b  e.  B
)  /\  ( F `  a )  =  b ) } )
2 vex 2987 . . . . . . 7  |-  a  e. 
_V
3 vex 2987 . . . . . . 7  |-  b  e. 
_V
42, 3op1std 6599 . . . . . 6  |-  ( x  =  <. a ,  b
>.  ->  ( 1st `  x
)  =  a )
54fveq2d 5707 . . . . 5  |-  ( x  =  <. a ,  b
>.  ->  ( F `  ( 1st `  x ) )  =  ( F `
 a ) )
62, 3op2ndd 6600 . . . . 5  |-  ( x  =  <. a ,  b
>.  ->  ( 2nd `  x
)  =  b )
75, 6eqeq12d 2457 . . . 4  |-  ( x  =  <. a ,  b
>.  ->  ( ( F `
 ( 1st `  x
) )  =  ( 2nd `  x )  <-> 
( F `  a
)  =  b ) )
87rabxp 4887 . . 3  |-  { x  e.  ( A  X.  B
)  |  ( F `
 ( 1st `  x
) )  =  ( 2nd `  x ) }  =  { <. a ,  b >.  |  ( a  e.  A  /\  b  e.  B  /\  ( F `  a )  =  b ) }
9 df-3an 967 . . . 4  |-  ( ( a  e.  A  /\  b  e.  B  /\  ( F `  a )  =  b )  <->  ( (
a  e.  A  /\  b  e.  B )  /\  ( F `  a
)  =  b ) )
109opabbii 4368 . . 3  |-  { <. a ,  b >.  |  ( a  e.  A  /\  b  e.  B  /\  ( F `  a )  =  b ) }  =  { <. a ,  b >.  |  ( ( a  e.  A  /\  b  e.  B
)  /\  ( F `  a )  =  b ) }
118, 10eqtri 2463 . 2  |-  { x  e.  ( A  X.  B
)  |  ( F `
 ( 1st `  x
) )  =  ( 2nd `  x ) }  =  { <. a ,  b >.  |  ( ( a  e.  A  /\  b  e.  B
)  /\  ( F `  a )  =  b ) }
121, 11syl6eqr 2493 1  |-  ( F : A --> B  ->  F  =  { x  e.  ( A  X.  B
)  |  ( F `
 ( 1st `  x
) )  =  ( 2nd `  x ) } )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    /\ w3a 965    = wceq 1369    e. wcel 1756   {crab 2731   <.cop 3895   {copab 4361    X. cxp 4850   -->wf 5426   ` cfv 5430   1stc1st 6587   2ndc2nd 6588
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4425  ax-nul 4433  ax-pow 4482  ax-pr 4543  ax-un 6384
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2577  df-ne 2620  df-ral 2732  df-rex 2733  df-rab 2736  df-v 2986  df-sbc 3199  df-dif 3343  df-un 3345  df-in 3347  df-ss 3354  df-nul 3650  df-if 3804  df-sn 3890  df-pr 3892  df-op 3896  df-uni 4104  df-br 4305  df-opab 4363  df-mpt 4364  df-id 4648  df-xp 4858  df-rel 4859  df-cnv 4860  df-co 4861  df-dm 4862  df-rn 4863  df-iota 5393  df-fun 5432  df-fn 5433  df-f 5434  df-fv 5438  df-1st 6589  df-2nd 6590
This theorem is referenced by:  hausgraph  29592
  Copyright terms: Public domain W3C validator