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

Theorem fmucndlem 19825
Description: Lemma for fmucnd 19826. (Contributed by Thierry Arnoux, 19-Nov-2017.)
Assertion
Ref Expression
fmucndlem  |-  ( ( F  Fn  X  /\  A  C_  X )  -> 
( ( x  e.  X ,  y  e.  X  |->  <. ( F `  x ) ,  ( F `  y )
>. ) " ( A  X.  A ) )  =  ( ( F
" A )  X.  ( F " A
) ) )
Distinct variable groups:    x, y, A    x, F, y    x, X, y

Proof of Theorem fmucndlem
Dummy variable  p is distinct from all other variables.
StepHypRef Expression
1 df-ima 4849 . . 3  |-  ( ( x  e.  X , 
y  e.  X  |->  <.
( F `  x
) ,  ( F `
 y ) >.
) " ( A  X.  A ) )  =  ran  ( ( x  e.  X , 
y  e.  X  |->  <.
( F `  x
) ,  ( F `
 y ) >.
)  |`  ( A  X.  A ) )
2 simpr 458 . . . . 5  |-  ( ( F  Fn  X  /\  A  C_  X )  ->  A  C_  X )
3 resmpt2 6187 . . . . 5  |-  ( ( A  C_  X  /\  A  C_  X )  -> 
( ( x  e.  X ,  y  e.  X  |->  <. ( F `  x ) ,  ( F `  y )
>. )  |`  ( A  X.  A ) )  =  ( x  e.  A ,  y  e.  A  |->  <. ( F `  x ) ,  ( F `  y )
>. ) )
42, 3sylancom 662 . . . 4  |-  ( ( F  Fn  X  /\  A  C_  X )  -> 
( ( x  e.  X ,  y  e.  X  |->  <. ( F `  x ) ,  ( F `  y )
>. )  |`  ( A  X.  A ) )  =  ( x  e.  A ,  y  e.  A  |->  <. ( F `  x ) ,  ( F `  y )
>. ) )
54rneqd 5063 . . 3  |-  ( ( F  Fn  X  /\  A  C_  X )  ->  ran  ( ( x  e.  X ,  y  e.  X  |->  <. ( F `  x ) ,  ( F `  y )
>. )  |`  ( A  X.  A ) )  =  ran  ( x  e.  A ,  y  e.  A  |->  <. ( F `  x ) ,  ( F `  y ) >. )
)
61, 5syl5eq 2485 . 2  |-  ( ( F  Fn  X  /\  A  C_  X )  -> 
( ( x  e.  X ,  y  e.  X  |->  <. ( F `  x ) ,  ( F `  y )
>. ) " ( A  X.  A ) )  =  ran  ( x  e.  A ,  y  e.  A  |->  <. ( F `  x ) ,  ( F `  y ) >. )
)
7 vex 2973 . . . . . . . . . . . . 13  |-  x  e. 
_V
8 vex 2973 . . . . . . . . . . . . 13  |-  y  e. 
_V
97, 8op1std 6586 . . . . . . . . . . . 12  |-  ( p  =  <. x ,  y
>.  ->  ( 1st `  p
)  =  x )
109fveq2d 5692 . . . . . . . . . . 11  |-  ( p  =  <. x ,  y
>.  ->  ( F `  ( 1st `  p ) )  =  ( F `
 x ) )
117, 8op2ndd 6587 . . . . . . . . . . . 12  |-  ( p  =  <. x ,  y
>.  ->  ( 2nd `  p
)  =  y )
1211fveq2d 5692 . . . . . . . . . . 11  |-  ( p  =  <. x ,  y
>.  ->  ( F `  ( 2nd `  p ) )  =  ( F `
 y ) )
1310, 12opeq12d 4064 . . . . . . . . . 10  |-  ( p  =  <. x ,  y
>.  ->  <. ( F `  ( 1st `  p ) ) ,  ( F `
 ( 2nd `  p
) ) >.  =  <. ( F `  x ) ,  ( F `  y ) >. )
1413mpt2mpt 6181 . . . . . . . . 9  |-  ( p  e.  ( A  X.  A )  |->  <. ( F `  ( 1st `  p ) ) ,  ( F `  ( 2nd `  p ) )
>. )  =  (
x  e.  A , 
y  e.  A  |->  <.
( F `  x
) ,  ( F `
 y ) >.
)
1514eqcomi 2445 . . . . . . . 8  |-  ( x  e.  A ,  y  e.  A  |->  <. ( F `  x ) ,  ( F `  y ) >. )  =  ( p  e.  ( A  X.  A
)  |->  <. ( F `  ( 1st `  p ) ) ,  ( F `
 ( 2nd `  p
) ) >. )
1615rneqi 5062 . . . . . . 7  |-  ran  (
x  e.  A , 
y  e.  A  |->  <.
( F `  x
) ,  ( F `
 y ) >.
)  =  ran  (
p  e.  ( A  X.  A )  |->  <.
( F `  ( 1st `  p ) ) ,  ( F `  ( 2nd `  p ) ) >. )
17 fvex 5698 . . . . . . . 8  |-  ( F `
 ( 1st `  p
) )  e.  _V
1817a1i 11 . . . . . . 7  |-  ( ( T.  /\  p  e.  ( A  X.  A
) )  ->  ( F `  ( 1st `  p ) )  e. 
_V )
19 fvex 5698 . . . . . . . 8  |-  ( F `
 ( 2nd `  p
) )  e.  _V
2019a1i 11 . . . . . . 7  |-  ( ( T.  /\  p  e.  ( A  X.  A
) )  ->  ( F `  ( 2nd `  p ) )  e. 
_V )
2116, 18, 20fliftrel 5998 . . . . . 6  |-  ( T. 
->  ran  ( x  e.  A ,  y  e.  A  |->  <. ( F `  x ) ,  ( F `  y )
>. )  C_  ( _V 
X.  _V ) )
2221trud 1373 . . . . 5  |-  ran  (
x  e.  A , 
y  e.  A  |->  <.
( F `  x
) ,  ( F `
 y ) >.
)  C_  ( _V  X.  _V )
2322sseli 3349 . . . 4  |-  ( p  e.  ran  ( x  e.  A ,  y  e.  A  |->  <. ( F `  x ) ,  ( F `  y ) >. )  ->  p  e.  ( _V 
X.  _V ) )
2423adantl 463 . . 3  |-  ( ( ( F  Fn  X  /\  A  C_  X )  /\  p  e.  ran  ( x  e.  A ,  y  e.  A  |-> 
<. ( F `  x
) ,  ( F `
 y ) >.
) )  ->  p  e.  ( _V  X.  _V ) )
25 xpss 4942 . . . . 5  |-  ( ( F " A )  X.  ( F " A ) )  C_  ( _V  X.  _V )
2625sseli 3349 . . . 4  |-  ( p  e.  ( ( F
" A )  X.  ( F " A
) )  ->  p  e.  ( _V  X.  _V ) )
2726adantl 463 . . 3  |-  ( ( ( F  Fn  X  /\  A  C_  X )  /\  p  e.  ( ( F " A
)  X.  ( F
" A ) ) )  ->  p  e.  ( _V  X.  _V )
)
28 fvelimab 5744 . . . . . . . 8  |-  ( ( F  Fn  X  /\  A  C_  X )  -> 
( ( 1st `  p
)  e.  ( F
" A )  <->  E. x  e.  A  ( F `  x )  =  ( 1st `  p ) ) )
29 fvelimab 5744 . . . . . . . 8  |-  ( ( F  Fn  X  /\  A  C_  X )  -> 
( ( 2nd `  p
)  e.  ( F
" A )  <->  E. y  e.  A  ( F `  y )  =  ( 2nd `  p ) ) )
3028, 29anbi12d 705 . . . . . . 7  |-  ( ( F  Fn  X  /\  A  C_  X )  -> 
( ( ( 1st `  p )  e.  ( F " A )  /\  ( 2nd `  p
)  e.  ( F
" A ) )  <-> 
( E. x  e.  A  ( F `  x )  =  ( 1st `  p )  /\  E. y  e.  A  ( F `  y )  =  ( 2nd `  p ) ) ) )
31 eqid 2441 . . . . . . . . 9  |-  ( x  e.  A ,  y  e.  A  |->  <. ( F `  x ) ,  ( F `  y ) >. )  =  ( x  e.  A ,  y  e.  A  |->  <. ( F `  x ) ,  ( F `  y )
>. )
32 opex 4553 . . . . . . . . 9  |-  <. ( F `  x ) ,  ( F `  y ) >.  e.  _V
3331, 32elrnmpt2 6202 . . . . . . . 8  |-  ( <.
( 1st `  p
) ,  ( 2nd `  p ) >.  e.  ran  ( x  e.  A ,  y  e.  A  |-> 
<. ( F `  x
) ,  ( F `
 y ) >.
)  <->  E. x  e.  A  E. y  e.  A  <. ( 1st `  p
) ,  ( 2nd `  p ) >.  =  <. ( F `  x ) ,  ( F `  y ) >. )
34 eqcom 2443 . . . . . . . . . 10  |-  ( <.
( 1st `  p
) ,  ( 2nd `  p ) >.  =  <. ( F `  x ) ,  ( F `  y ) >.  <->  <. ( F `
 x ) ,  ( F `  y
) >.  =  <. ( 1st `  p ) ,  ( 2nd `  p
) >. )
35 fvex 5698 . . . . . . . . . . 11  |-  ( 1st `  p )  e.  _V
36 fvex 5698 . . . . . . . . . . 11  |-  ( 2nd `  p )  e.  _V
3735, 36opth2 4567 . . . . . . . . . 10  |-  ( <.
( F `  x
) ,  ( F `
 y ) >.  =  <. ( 1st `  p
) ,  ( 2nd `  p ) >.  <->  ( ( F `  x )  =  ( 1st `  p
)  /\  ( F `  y )  =  ( 2nd `  p ) ) )
3834, 37bitri 249 . . . . . . . . 9  |-  ( <.
( 1st `  p
) ,  ( 2nd `  p ) >.  =  <. ( F `  x ) ,  ( F `  y ) >.  <->  ( ( F `  x )  =  ( 1st `  p
)  /\  ( F `  y )  =  ( 2nd `  p ) ) )
39382rexbii 2740 . . . . . . . 8  |-  ( E. x  e.  A  E. y  e.  A  <. ( 1st `  p ) ,  ( 2nd `  p
) >.  =  <. ( F `  x ) ,  ( F `  y ) >.  <->  E. x  e.  A  E. y  e.  A  ( ( F `  x )  =  ( 1st `  p
)  /\  ( F `  y )  =  ( 2nd `  p ) ) )
40 reeanv 2886 . . . . . . . 8  |-  ( E. x  e.  A  E. y  e.  A  (
( F `  x
)  =  ( 1st `  p )  /\  ( F `  y )  =  ( 2nd `  p
) )  <->  ( E. x  e.  A  ( F `  x )  =  ( 1st `  p
)  /\  E. y  e.  A  ( F `  y )  =  ( 2nd `  p ) ) )
4133, 39, 403bitri 271 . . . . . . 7  |-  ( <.
( 1st `  p
) ,  ( 2nd `  p ) >.  e.  ran  ( x  e.  A ,  y  e.  A  |-> 
<. ( F `  x
) ,  ( F `
 y ) >.
)  <->  ( E. x  e.  A  ( F `  x )  =  ( 1st `  p )  /\  E. y  e.  A  ( F `  y )  =  ( 2nd `  p ) ) )
4230, 41syl6rbbr 264 . . . . . 6  |-  ( ( F  Fn  X  /\  A  C_  X )  -> 
( <. ( 1st `  p
) ,  ( 2nd `  p ) >.  e.  ran  ( x  e.  A ,  y  e.  A  |-> 
<. ( F `  x
) ,  ( F `
 y ) >.
)  <->  ( ( 1st `  p )  e.  ( F " A )  /\  ( 2nd `  p
)  e.  ( F
" A ) ) ) )
43 opelxp 4865 . . . . . 6  |-  ( <.
( 1st `  p
) ,  ( 2nd `  p ) >.  e.  ( ( F " A
)  X.  ( F
" A ) )  <-> 
( ( 1st `  p
)  e.  ( F
" A )  /\  ( 2nd `  p )  e.  ( F " A ) ) )
4442, 43syl6bbr 263 . . . . 5  |-  ( ( F  Fn  X  /\  A  C_  X )  -> 
( <. ( 1st `  p
) ,  ( 2nd `  p ) >.  e.  ran  ( x  e.  A ,  y  e.  A  |-> 
<. ( F `  x
) ,  ( F `
 y ) >.
)  <->  <. ( 1st `  p
) ,  ( 2nd `  p ) >.  e.  ( ( F " A
)  X.  ( F
" A ) ) ) )
4544adantr 462 . . . 4  |-  ( ( ( F  Fn  X  /\  A  C_  X )  /\  p  e.  ( _V  X.  _V )
)  ->  ( <. ( 1st `  p ) ,  ( 2nd `  p
) >.  e.  ran  (
x  e.  A , 
y  e.  A  |->  <.
( F `  x
) ,  ( F `
 y ) >.
)  <->  <. ( 1st `  p
) ,  ( 2nd `  p ) >.  e.  ( ( F " A
)  X.  ( F
" A ) ) ) )
46 1st2nd2 6612 . . . . . 6  |-  ( p  e.  ( _V  X.  _V )  ->  p  = 
<. ( 1st `  p
) ,  ( 2nd `  p ) >. )
4746adantl 463 . . . . 5  |-  ( ( ( F  Fn  X  /\  A  C_  X )  /\  p  e.  ( _V  X.  _V )
)  ->  p  =  <. ( 1st `  p
) ,  ( 2nd `  p ) >. )
4847eleq1d 2507 . . . 4  |-  ( ( ( F  Fn  X  /\  A  C_  X )  /\  p  e.  ( _V  X.  _V )
)  ->  ( p  e.  ran  ( x  e.  A ,  y  e.  A  |->  <. ( F `  x ) ,  ( F `  y )
>. )  <->  <. ( 1st `  p
) ,  ( 2nd `  p ) >.  e.  ran  ( x  e.  A ,  y  e.  A  |-> 
<. ( F `  x
) ,  ( F `
 y ) >.
) ) )
4947eleq1d 2507 . . . 4  |-  ( ( ( F  Fn  X  /\  A  C_  X )  /\  p  e.  ( _V  X.  _V )
)  ->  ( p  e.  ( ( F " A )  X.  ( F " A ) )  <->  <. ( 1st `  p
) ,  ( 2nd `  p ) >.  e.  ( ( F " A
)  X.  ( F
" A ) ) ) )
5045, 48, 493bitr4d 285 . . 3  |-  ( ( ( F  Fn  X  /\  A  C_  X )  /\  p  e.  ( _V  X.  _V )
)  ->  ( p  e.  ran  ( x  e.  A ,  y  e.  A  |->  <. ( F `  x ) ,  ( F `  y )
>. )  <->  p  e.  (
( F " A
)  X.  ( F
" A ) ) ) )
5124, 27, 50eqrdav 2440 . 2  |-  ( ( F  Fn  X  /\  A  C_  X )  ->  ran  ( x  e.  A ,  y  e.  A  |-> 
<. ( F `  x
) ,  ( F `
 y ) >.
)  =  ( ( F " A )  X.  ( F " A ) ) )
526, 51eqtrd 2473 1  |-  ( ( F  Fn  X  /\  A  C_  X )  -> 
( ( x  e.  X ,  y  e.  X  |->  <. ( F `  x ) ,  ( F `  y )
>. ) " ( A  X.  A ) )  =  ( ( F
" A )  X.  ( F " A
) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1364   T. wtru 1365    e. wcel 1761   E.wrex 2714   _Vcvv 2970    C_ wss 3325   <.cop 3880    e. cmpt 4347    X. cxp 4834   ran crn 4837    |` cres 4838   "cima 4839    Fn wfn 5410   ` cfv 5415    e. cmpt2 6092   1stc1st 6574   2ndc2nd 6575
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 1713  ax-7 1733  ax-8 1763  ax-9 1765  ax-10 1780  ax-11 1785  ax-12 1797  ax-13 1948  ax-ext 2422  ax-sep 4410  ax-nul 4418  ax-pow 4467  ax-pr 4528  ax-un 6371
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 962  df-tru 1367  df-ex 1592  df-nf 1595  df-sb 1706  df-eu 2261  df-mo 2262  df-clab 2428  df-cleq 2434  df-clel 2437  df-nfc 2566  df-ne 2606  df-ral 2718  df-rex 2719  df-rab 2722  df-v 2972  df-sbc 3184  df-csb 3286  df-dif 3328  df-un 3330  df-in 3332  df-ss 3339  df-nul 3635  df-if 3789  df-sn 3875  df-pr 3877  df-op 3881  df-uni 4089  df-iun 4170  df-br 4290  df-opab 4348  df-mpt 4349  df-id 4632  df-xp 4842  df-rel 4843  df-cnv 4844  df-co 4845  df-dm 4846  df-rn 4847  df-res 4848  df-ima 4849  df-iota 5378  df-fun 5417  df-fn 5418  df-f 5419  df-fv 5423  df-oprab 6094  df-mpt2 6095  df-1st 6576  df-2nd 6577
This theorem is referenced by:  fmucnd  19826
  Copyright terms: Public domain W3C validator