ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  releldm2 Unicode version

Theorem releldm2 6091
Description: Two ways of expressing membership in the domain of a relation. (Contributed by NM, 22-Sep-2013.)
Assertion
Ref Expression
releldm2  |-  ( Rel 
A  ->  ( B  e.  dom  A  <->  E. x  e.  A  ( 1st `  x )  =  B ) )
Distinct variable groups:    x, A    x, B

Proof of Theorem releldm2
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 elex 2700 . . 3  |-  ( B  e.  dom  A  ->  B  e.  _V )
21anim2i 340 . 2  |-  ( ( Rel  A  /\  B  e.  dom  A )  -> 
( Rel  A  /\  B  e.  _V )
)
3 id 19 . . . . 5  |-  ( ( 1st `  x )  =  B  ->  ( 1st `  x )  =  B )
4 vex 2692 . . . . . 6  |-  x  e. 
_V
5 1stexg 6073 . . . . . 6  |-  ( x  e.  _V  ->  ( 1st `  x )  e. 
_V )
64, 5ax-mp 5 . . . . 5  |-  ( 1st `  x )  e.  _V
73, 6eqeltrrdi 2232 . . . 4  |-  ( ( 1st `  x )  =  B  ->  B  e.  _V )
87rexlimivw 2548 . . 3  |-  ( E. x  e.  A  ( 1st `  x )  =  B  ->  B  e.  _V )
98anim2i 340 . 2  |-  ( ( Rel  A  /\  E. x  e.  A  ( 1st `  x )  =  B )  ->  ( Rel  A  /\  B  e. 
_V ) )
10 eldm2g 4743 . . . 4  |-  ( B  e.  _V  ->  ( B  e.  dom  A  <->  E. y <. B ,  y >.  e.  A ) )
1110adantl 275 . . 3  |-  ( ( Rel  A  /\  B  e.  _V )  ->  ( B  e.  dom  A  <->  E. y <. B ,  y >.  e.  A ) )
12 df-rel 4554 . . . . . . . . 9  |-  ( Rel 
A  <->  A  C_  ( _V 
X.  _V ) )
13 ssel 3096 . . . . . . . . 9  |-  ( A 
C_  ( _V  X.  _V )  ->  ( x  e.  A  ->  x  e.  ( _V  X.  _V ) ) )
1412, 13sylbi 120 . . . . . . . 8  |-  ( Rel 
A  ->  ( x  e.  A  ->  x  e.  ( _V  X.  _V ) ) )
1514imp 123 . . . . . . 7  |-  ( ( Rel  A  /\  x  e.  A )  ->  x  e.  ( _V  X.  _V ) )
16 op1steq 6085 . . . . . . 7  |-  ( x  e.  ( _V  X.  _V )  ->  ( ( 1st `  x )  =  B  <->  E. y  x  =  <. B , 
y >. ) )
1715, 16syl 14 . . . . . 6  |-  ( ( Rel  A  /\  x  e.  A )  ->  (
( 1st `  x
)  =  B  <->  E. y  x  =  <. B , 
y >. ) )
1817rexbidva 2435 . . . . 5  |-  ( Rel 
A  ->  ( E. x  e.  A  ( 1st `  x )  =  B  <->  E. x  e.  A  E. y  x  =  <. B ,  y >.
) )
1918adantr 274 . . . 4  |-  ( ( Rel  A  /\  B  e.  _V )  ->  ( E. x  e.  A  ( 1st `  x )  =  B  <->  E. x  e.  A  E. y  x  =  <. B , 
y >. ) )
20 rexcom4 2712 . . . . 5  |-  ( E. x  e.  A  E. y  x  =  <. B ,  y >.  <->  E. y E. x  e.  A  x  =  <. B , 
y >. )
21 risset 2466 . . . . . 6  |-  ( <. B ,  y >.  e.  A  <->  E. x  e.  A  x  =  <. B , 
y >. )
2221exbii 1585 . . . . 5  |-  ( E. y <. B ,  y
>.  e.  A  <->  E. y E. x  e.  A  x  =  <. B , 
y >. )
2320, 22bitr4i 186 . . . 4  |-  ( E. x  e.  A  E. y  x  =  <. B ,  y >.  <->  E. y <. B ,  y >.  e.  A )
2419, 23syl6bb 195 . . 3  |-  ( ( Rel  A  /\  B  e.  _V )  ->  ( E. x  e.  A  ( 1st `  x )  =  B  <->  E. y <. B ,  y >.  e.  A ) )
2511, 24bitr4d 190 . 2  |-  ( ( Rel  A  /\  B  e.  _V )  ->  ( B  e.  dom  A  <->  E. x  e.  A  ( 1st `  x )  =  B ) )
262, 9, 25pm5.21nd 902 1  |-  ( Rel 
A  ->  ( B  e.  dom  A  <->  E. x  e.  A  ( 1st `  x )  =  B ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1332   E.wex 1469    e. wcel 1481   E.wrex 2418   _Vcvv 2689    C_ wss 3076   <.cop 3535    X. cxp 4545   dom cdm 4547   Rel wrel 4552   ` cfv 5131   1stc1st 6044
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-13 1492  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054  ax-pow 4106  ax-pr 4139  ax-un 4363
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-v 2691  df-sbc 2914  df-un 3080  df-in 3082  df-ss 3089  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-uni 3745  df-br 3938  df-opab 3998  df-mpt 3999  df-id 4223  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-rn 4558  df-iota 5096  df-fun 5133  df-fn 5134  df-f 5135  df-fo 5137  df-fv 5139  df-1st 6046  df-2nd 6047
This theorem is referenced by:  reldm  6092
  Copyright terms: Public domain W3C validator