Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fcnvgreu Structured version   Unicode version

Theorem fcnvgreu 25942
Description: If the converse of a relation  A is a function, exactly one point of its graph has a given second element (that is, function value) (Contributed by Thierry Arnoux, 1-Apr-2018.)
Assertion
Ref Expression
fcnvgreu  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  Y  e.  ran  A )  ->  E! p  e.  A  Y  =  ( 2nd `  p ) )
Distinct variable groups:    A, p    Y, p

Proof of Theorem fcnvgreu
Dummy variables  q 
r are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-rn 4846 . . . 4  |-  ran  A  =  dom  `' A
21eleq2i 2502 . . 3  |-  ( Y  e.  ran  A  <->  Y  e.  dom  `' A )
3 fgreu 25941 . . . 4  |-  ( ( Fun  `' A  /\  Y  e.  dom  `' A
)  ->  E! q  e.  `'  A Y  =  ( 1st `  q ) )
43adantll 713 . . 3  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  Y  e.  dom  `' A )  ->  E! q  e.  `'  A Y  =  ( 1st `  q ) )
52, 4sylan2b 475 . 2  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  Y  e.  ran  A )  ->  E! q  e.  `'  A Y  =  ( 1st `  q ) )
6 cnvcnvss 5287 . . . . . 6  |-  `' `' A  C_  A
7 cnvssrndm 5354 . . . . . . . . . . 11  |-  `' A  C_  ( ran  A  X.  dom  A )
87sseli 3347 . . . . . . . . . 10  |-  ( q  e.  `' A  -> 
q  e.  ( ran 
A  X.  dom  A
) )
9 dfdm4 5027 . . . . . . . . . . 11  |-  dom  A  =  ran  `' A
101, 9xpeq12i 4857 . . . . . . . . . 10  |-  ( ran 
A  X.  dom  A
)  =  ( dom  `' A  X.  ran  `' A )
118, 10syl6eleq 2528 . . . . . . . . 9  |-  ( q  e.  `' A  -> 
q  e.  ( dom  `' A  X.  ran  `' A ) )
12 2nd1st 6614 . . . . . . . . 9  |-  ( q  e.  ( dom  `' A  X.  ran  `' A
)  ->  U. `' {
q }  =  <. ( 2nd `  q ) ,  ( 1st `  q
) >. )
1311, 12syl 16 . . . . . . . 8  |-  ( q  e.  `' A  ->  U. `' { q }  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )
1413eqcomd 2443 . . . . . . 7  |-  ( q  e.  `' A  ->  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  =  U. `' { q } )
15 relcnv 5201 . . . . . . . 8  |-  Rel  `' A
16 cnvf1olem 6665 . . . . . . . . 9  |-  ( ( Rel  `' A  /\  ( q  e.  `' A  /\  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  =  U. `' { q } ) )  ->  ( <. ( 2nd `  q ) ,  ( 1st `  q
) >.  e.  `' `' A  /\  q  =  U. `' { <. ( 2nd `  q
) ,  ( 1st `  q ) >. } ) )
1716simpld 459 . . . . . . . 8  |-  ( ( Rel  `' A  /\  ( q  e.  `' A  /\  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  =  U. `' { q } ) )  ->  <. ( 2nd `  q ) ,  ( 1st `  q )
>.  e.  `' `' A
)
1815, 17mpan 670 . . . . . . 7  |-  ( ( q  e.  `' A  /\  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  =  U. `' { q } )  ->  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  e.  `' `' A )
1914, 18mpdan 668 . . . . . 6  |-  ( q  e.  `' A  ->  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  e.  `' `' A )
206, 19sseldi 3349 . . . . 5  |-  ( q  e.  `' A  ->  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  e.  A
)
2120adantl 466 . . . 4  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  q  e.  `' A )  ->  <. ( 2nd `  q ) ,  ( 1st `  q
) >.  e.  A )
22 simpl 457 . . . . . . . 8  |-  ( ( Rel  A  /\  Fun  `' A )  ->  Rel  A )
2322adantr 465 . . . . . . 7  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  p  e.  A )  ->  Rel  A )
24 simpr 461 . . . . . . 7  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  p  e.  A )  ->  p  e.  A )
25 relssdmrn 5353 . . . . . . . . . . 11  |-  ( Rel 
A  ->  A  C_  ( dom  A  X.  ran  A
) )
2622, 25syl 16 . . . . . . . . . 10  |-  ( ( Rel  A  /\  Fun  `' A )  ->  A  C_  ( dom  A  X.  ran  A ) )
2726sselda 3351 . . . . . . . . 9  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  p  e.  A )  ->  p  e.  ( dom  A  X.  ran  A ) )
28 2nd1st 6614 . . . . . . . . 9  |-  ( p  e.  ( dom  A  X.  ran  A )  ->  U. `' { p }  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )
2927, 28syl 16 . . . . . . . 8  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  p  e.  A )  ->  U. `' { p }  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )
3029eqcomd 2443 . . . . . . 7  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  p  e.  A )  ->  <. ( 2nd `  p ) ,  ( 1st `  p
) >.  =  U. `' { p } )
31 cnvf1olem 6665 . . . . . . . 8  |-  ( ( Rel  A  /\  (
p  e.  A  /\  <.
( 2nd `  p
) ,  ( 1st `  p ) >.  =  U. `' { p } ) )  ->  ( <. ( 2nd `  p ) ,  ( 1st `  p
) >.  e.  `' A  /\  p  =  U. `' { <. ( 2nd `  p
) ,  ( 1st `  p ) >. } ) )
3231simpld 459 . . . . . . 7  |-  ( ( Rel  A  /\  (
p  e.  A  /\  <.
( 2nd `  p
) ,  ( 1st `  p ) >.  =  U. `' { p } ) )  ->  <. ( 2nd `  p ) ,  ( 1st `  p )
>.  e.  `' A )
3323, 24, 30, 32syl12anc 1216 . . . . . 6  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  p  e.  A )  ->  <. ( 2nd `  p ) ,  ( 1st `  p
) >.  e.  `' A
)
3415a1i 11 . . . . . . . . . 10  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )  ->  Rel  `' A )
35 simplr 754 . . . . . . . . . 10  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )  ->  q  e.  `' A
)
3614ad2antlr 726 . . . . . . . . . 10  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )  -> 
<. ( 2nd `  q
) ,  ( 1st `  q ) >.  =  U. `' { q } )
3716simprd 463 . . . . . . . . . 10  |-  ( ( Rel  `' A  /\  ( q  e.  `' A  /\  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  =  U. `' { q } ) )  ->  q  =  U. `' { <. ( 2nd `  q
) ,  ( 1st `  q ) >. } )
3834, 35, 36, 37syl12anc 1216 . . . . . . . . 9  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )  ->  q  =  U. `' { <. ( 2nd `  q
) ,  ( 1st `  q ) >. } )
39 simpr 461 . . . . . . . . . . . 12  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )  ->  p  =  <. ( 2nd `  q ) ,  ( 1st `  q
) >. )
4039sneqd 3884 . . . . . . . . . . 11  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )  ->  { p }  =  { <. ( 2nd `  q
) ,  ( 1st `  q ) >. } )
4140cnveqd 5010 . . . . . . . . . 10  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )  ->  `' { p }  =  `' { <. ( 2nd `  q
) ,  ( 1st `  q ) >. } )
4241unieqd 4096 . . . . . . . . 9  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )  ->  U. `' { p }  =  U. `' { <. ( 2nd `  q
) ,  ( 1st `  q ) >. } )
4329ad2antrr 725 . . . . . . . . 9  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )  ->  U. `' { p }  =  <. ( 2nd `  p ) ,  ( 1st `  p )
>. )
4438, 42, 433eqtr2d 2476 . . . . . . . 8  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )  ->  q  =  <. ( 2nd `  p ) ,  ( 1st `  p
) >. )
4531simprd 463 . . . . . . . . . . 11  |-  ( ( Rel  A  /\  (
p  e.  A  /\  <.
( 2nd `  p
) ,  ( 1st `  p ) >.  =  U. `' { p } ) )  ->  p  =  U. `' { <. ( 2nd `  p
) ,  ( 1st `  p ) >. } )
4623, 24, 30, 45syl12anc 1216 . . . . . . . . . 10  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  p  e.  A )  ->  p  =  U. `' { <. ( 2nd `  p ) ,  ( 1st `  p
) >. } )
4746ad2antrr 725 . . . . . . . . 9  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )  ->  p  =  U. `' { <. ( 2nd `  p
) ,  ( 1st `  p ) >. } )
48 simpr 461 . . . . . . . . . . . 12  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )  ->  q  =  <. ( 2nd `  p ) ,  ( 1st `  p
) >. )
4948sneqd 3884 . . . . . . . . . . 11  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )  ->  { q }  =  { <. ( 2nd `  p
) ,  ( 1st `  p ) >. } )
5049cnveqd 5010 . . . . . . . . . 10  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )  ->  `' { q }  =  `' { <. ( 2nd `  p
) ,  ( 1st `  p ) >. } )
5150unieqd 4096 . . . . . . . . 9  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )  ->  U. `' { q }  =  U. `' { <. ( 2nd `  p
) ,  ( 1st `  p ) >. } )
5213ad2antlr 726 . . . . . . . . 9  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )  ->  U. `' { q }  =  <. ( 2nd `  q ) ,  ( 1st `  q
) >. )
5347, 51, 523eqtr2d 2476 . . . . . . . 8  |-  ( ( ( ( ( Rel 
A  /\  Fun  `' A
)  /\  p  e.  A )  /\  q  e.  `' A )  /\  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )  ->  p  =  <. ( 2nd `  q ) ,  ( 1st `  q
) >. )
5444, 53impbida 828 . . . . . . 7  |-  ( ( ( ( Rel  A  /\  Fun  `' A )  /\  p  e.  A
)  /\  q  e.  `' A )  ->  (
p  =  <. ( 2nd `  q ) ,  ( 1st `  q
) >. 
<->  q  =  <. ( 2nd `  p ) ,  ( 1st `  p
) >. ) )
5554ralrimiva 2794 . . . . . 6  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  p  e.  A )  ->  A. q  e.  `'  A ( p  = 
<. ( 2nd `  q
) ,  ( 1st `  q ) >.  <->  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )
)
56 biidd 237 . . . . . . . . . . 11  |-  ( r  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >.  ->  (
p  =  <. ( 2nd `  q ) ,  ( 1st `  q
) >. 
<->  p  =  <. ( 2nd `  q ) ,  ( 1st `  q
) >. ) )
57 eqeq2 2447 . . . . . . . . . . 11  |-  ( r  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >.  ->  (
q  =  r  <->  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )
)
5856, 57bibi12d 321 . . . . . . . . . 10  |-  ( r  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >.  ->  (
( p  =  <. ( 2nd `  q ) ,  ( 1st `  q
) >. 
<->  q  =  r )  <-> 
( p  =  <. ( 2nd `  q ) ,  ( 1st `  q
) >. 
<->  q  =  <. ( 2nd `  p ) ,  ( 1st `  p
) >. ) ) )
5958ralrimivw 2795 . . . . . . . . 9  |-  ( r  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >.  ->  A. q  e.  `'  A ( ( p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  <->  q  =  r )  <->  ( p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  <->  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )
) )
6059r19.21bi 2809 . . . . . . . 8  |-  ( ( r  =  <. ( 2nd `  p ) ,  ( 1st `  p
) >.  /\  q  e.  `' A )  ->  (
( p  =  <. ( 2nd `  q ) ,  ( 1st `  q
) >. 
<->  q  =  r )  <-> 
( p  =  <. ( 2nd `  q ) ,  ( 1st `  q
) >. 
<->  q  =  <. ( 2nd `  p ) ,  ( 1st `  p
) >. ) ) )
6160ralbidva 2726 . . . . . . 7  |-  ( r  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >.  ->  ( A. q  e.  `'  A ( p  = 
<. ( 2nd `  q
) ,  ( 1st `  q ) >.  <->  q  =  r )  <->  A. q  e.  `'  A ( p  = 
<. ( 2nd `  q
) ,  ( 1st `  q ) >.  <->  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )
) )
6261rspcev 3068 . . . . . 6  |-  ( (
<. ( 2nd `  p
) ,  ( 1st `  p ) >.  e.  `' A  /\  A. q  e.  `'  A ( p  = 
<. ( 2nd `  q
) ,  ( 1st `  q ) >.  <->  q  =  <. ( 2nd `  p
) ,  ( 1st `  p ) >. )
)  ->  E. r  e.  `'  A A. q  e.  `'  A ( p  = 
<. ( 2nd `  q
) ,  ( 1st `  q ) >.  <->  q  =  r ) )
6333, 55, 62syl2anc 661 . . . . 5  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  p  e.  A )  ->  E. r  e.  `'  A A. q  e.  `'  A ( p  = 
<. ( 2nd `  q
) ,  ( 1st `  q ) >.  <->  q  =  r ) )
64 reu6 3143 . . . . 5  |-  ( E! q  e.  `'  A p  =  <. ( 2nd `  q ) ,  ( 1st `  q )
>. 
<->  E. r  e.  `'  A A. q  e.  `'  A ( p  = 
<. ( 2nd `  q
) ,  ( 1st `  q ) >.  <->  q  =  r ) )
6563, 64sylibr 212 . . . 4  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  p  e.  A )  ->  E! q  e.  `'  A p  =  <. ( 2nd `  q ) ,  ( 1st `  q )
>. )
66 fvex 5696 . . . . . . 7  |-  ( 2nd `  q )  e.  _V
67 fvex 5696 . . . . . . 7  |-  ( 1st `  q )  e.  _V
6866, 67op2ndd 6583 . . . . . 6  |-  ( p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  ->  ( 2nd `  p )  =  ( 1st `  q
) )
6968eqeq2d 2449 . . . . 5  |-  ( p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >.  ->  ( Y  =  ( 2nd `  p )  <->  Y  =  ( 1st `  q ) ) )
7069adantl 466 . . . 4  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  p  =  <. ( 2nd `  q
) ,  ( 1st `  q ) >. )  ->  ( Y  =  ( 2nd `  p )  <-> 
Y  =  ( 1st `  q ) ) )
7121, 65, 70reuxfr4d 25825 . . 3  |-  ( ( Rel  A  /\  Fun  `' A )  ->  ( E! p  e.  A  Y  =  ( 2nd `  p )  <->  E! q  e.  `'  A Y  =  ( 1st `  q ) ) )
7271adantr 465 . 2  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  Y  e.  ran  A )  -> 
( E! p  e.  A  Y  =  ( 2nd `  p )  <-> 
E! q  e.  `'  A Y  =  ( 1st `  q ) ) )
735, 72mpbird 232 1  |-  ( ( ( Rel  A  /\  Fun  `' A )  /\  Y  e.  ran  A )  ->  E! p  e.  A  Y  =  ( 2nd `  p ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369    e. wcel 1756   A.wral 2710   E.wrex 2711   E!wreu 2712    C_ wss 3323   {csn 3872   <.cop 3878   U.cuni 4086    X. cxp 4833   `'ccnv 4834   dom cdm 4835   ran crn 4836   Rel wrel 4840   Fun wfun 5407   ` cfv 5413   1stc1st 6570   2ndc2nd 6571
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 2419  ax-sep 4408  ax-nul 4416  ax-pow 4465  ax-pr 4526  ax-un 6367
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 2256  df-mo 2257  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2715  df-rex 2716  df-reu 2717  df-rmo 2718  df-rab 2719  df-v 2969  df-sbc 3182  df-dif 3326  df-un 3328  df-in 3330  df-ss 3337  df-nul 3633  df-if 3787  df-sn 3873  df-pr 3875  df-op 3879  df-uni 4087  df-br 4288  df-opab 4346  df-mpt 4347  df-id 4631  df-xp 4841  df-rel 4842  df-cnv 4843  df-co 4844  df-dm 4845  df-rn 4846  df-iota 5376  df-fun 5415  df-fn 5416  df-fv 5421  df-1st 6572  df-2nd 6573
This theorem is referenced by:  gsummpt2co  26200
  Copyright terms: Public domain W3C validator