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

Theorem fparlem4 6886
Description: Lemma for fpar 6887. (Contributed by NM, 22-Dec-2008.) (Revised by Mario Carneiro, 28-Apr-2015.)
Assertion
Ref Expression
fparlem4  |-  ( G  Fn  B  ->  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  ( G  o.  ( 2nd  |`  ( _V  X.  _V ) ) ) )  =  U_ y  e.  B  ( ( _V  X.  { y } )  X.  ( _V 
X.  { ( G `
 y ) } ) ) )
Distinct variable groups:    y, B    y, G

Proof of Theorem fparlem4
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 coiun 5517 . 2  |-  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  U_ y  e.  B  ( ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } )  X.  ( G
" { y } ) ) )  = 
U_ y  e.  B  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  ( ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } )  X.  ( G
" { y } ) ) )
2 inss1 3718 . . . . 5  |-  ( dom 
G  i^i  ran  ( 2nd  |`  ( _V  X.  _V ) ) )  C_  dom  G
3 fndm 5680 . . . . 5  |-  ( G  Fn  B  ->  dom  G  =  B )
42, 3syl5sseq 3552 . . . 4  |-  ( G  Fn  B  ->  ( dom  G  i^i  ran  ( 2nd  |`  ( _V  X.  _V ) ) )  C_  B )
5 dfco2a 5507 . . . 4  |-  ( ( dom  G  i^i  ran  ( 2nd  |`  ( _V  X.  _V ) ) ) 
C_  B  ->  ( G  o.  ( 2nd  |`  ( _V  X.  _V ) ) )  = 
U_ y  e.  B  ( ( `' ( 2nd  |`  ( _V  X.  _V ) ) " { y } )  X.  ( G " { y } ) ) )
64, 5syl 16 . . 3  |-  ( G  Fn  B  ->  ( G  o.  ( 2nd  |`  ( _V  X.  _V ) ) )  = 
U_ y  e.  B  ( ( `' ( 2nd  |`  ( _V  X.  _V ) ) " { y } )  X.  ( G " { y } ) ) )
76coeq2d 5165 . 2  |-  ( G  Fn  B  ->  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  ( G  o.  ( 2nd  |`  ( _V  X.  _V ) ) ) )  =  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  U_ y  e.  B  ( ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } )  X.  ( G
" { y } ) ) ) )
8 inss1 3718 . . . . . . . . 9  |-  ( dom  ( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  i^i  ran  ( 2nd  |`  ( _V  X.  _V ) ) )  C_  dom  ( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )
9 dmxpss 5438 . . . . . . . . 9  |-  dom  ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  C_  { ( G `  y
) }
108, 9sstri 3513 . . . . . . . 8  |-  ( dom  ( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  i^i  ran  ( 2nd  |`  ( _V  X.  _V ) ) )  C_  { ( G `  y
) }
11 dfco2a 5507 . . . . . . . 8  |-  ( ( dom  ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) )  i^i  ran  ( 2nd  |`  ( _V  X.  _V ) ) ) 
C_  { ( G `
 y ) }  ->  ( ( { ( G `  y
) }  X.  ( _V  X.  { y } ) )  o.  ( 2nd  |`  ( _V  X.  _V ) ) )  = 
U_ x  e.  {
( G `  y
) }  ( ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { x }
)  X.  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) ) " { x } ) ) )
1210, 11ax-mp 5 . . . . . . 7  |-  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  o.  ( 2nd  |`  ( _V  X.  _V ) ) )  =  U_ x  e.  { ( G `  y ) }  (
( `' ( 2nd  |`  ( _V  X.  _V ) ) " {
x } )  X.  ( ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) ) " {
x } ) )
13 fvex 5876 . . . . . . . 8  |-  ( G `
 y )  e. 
_V
14 fparlem2 6884 . . . . . . . . . 10  |-  ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { x }
)  =  ( _V 
X.  { x }
)
15 sneq 4037 . . . . . . . . . . 11  |-  ( x  =  ( G `  y )  ->  { x }  =  { ( G `  y ) } )
1615xpeq2d 5023 . . . . . . . . . 10  |-  ( x  =  ( G `  y )  ->  ( _V  X.  { x }
)  =  ( _V 
X.  { ( G `
 y ) } ) )
1714, 16syl5eq 2520 . . . . . . . . 9  |-  ( x  =  ( G `  y )  ->  ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { x }
)  =  ( _V 
X.  { ( G `
 y ) } ) )
1815imaeq2d 5337 . . . . . . . . . 10  |-  ( x  =  ( G `  y )  ->  (
( { ( G `
 y ) }  X.  ( _V  X.  { y } ) ) " { x } )  =  ( ( { ( G `
 y ) }  X.  ( _V  X.  { y } ) ) " { ( G `  y ) } ) )
19 df-ima 5012 . . . . . . . . . . 11  |-  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) ) " { ( G `  y ) } )  =  ran  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  |`  { ( G `  y ) } )
20 ssid 3523 . . . . . . . . . . . . . 14  |-  { ( G `  y ) }  C_  { ( G `  y ) }
21 xpssres 5308 . . . . . . . . . . . . . 14  |-  ( { ( G `  y
) }  C_  { ( G `  y ) }  ->  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  |`  { ( G `  y ) } )  =  ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) ) )
2220, 21ax-mp 5 . . . . . . . . . . . . 13  |-  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  |`  { ( G `  y ) } )  =  ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) )
2322rneqi 5229 . . . . . . . . . . . 12  |-  ran  (
( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  |`  { ( G `  y ) } )  =  ran  ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )
2413snnz 4145 . . . . . . . . . . . . 13  |-  { ( G `  y ) }  =/=  (/)
25 rnxp 5437 . . . . . . . . . . . . 13  |-  ( { ( G `  y
) }  =/=  (/)  ->  ran  ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  =  ( _V  X.  {
y } ) )
2624, 25ax-mp 5 . . . . . . . . . . . 12  |-  ran  ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  =  ( _V  X.  {
y } )
2723, 26eqtri 2496 . . . . . . . . . . 11  |-  ran  (
( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  |`  { ( G `  y ) } )  =  ( _V  X.  { y } )
2819, 27eqtri 2496 . . . . . . . . . 10  |-  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) ) " { ( G `  y ) } )  =  ( _V  X.  { y } )
2918, 28syl6eq 2524 . . . . . . . . 9  |-  ( x  =  ( G `  y )  ->  (
( { ( G `
 y ) }  X.  ( _V  X.  { y } ) ) " { x } )  =  ( _V  X.  { y } ) )
3017, 29xpeq12d 5024 . . . . . . . 8  |-  ( x  =  ( G `  y )  ->  (
( `' ( 2nd  |`  ( _V  X.  _V ) ) " {
x } )  X.  ( ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) ) " {
x } ) )  =  ( ( _V 
X.  { ( G `
 y ) } )  X.  ( _V 
X.  { y } ) ) )
3113, 30iunxsn 4405 . . . . . . 7  |-  U_ x  e.  { ( G `  y ) }  (
( `' ( 2nd  |`  ( _V  X.  _V ) ) " {
x } )  X.  ( ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) ) " {
x } ) )  =  ( ( _V 
X.  { ( G `
 y ) } )  X.  ( _V 
X.  { y } ) )
3212, 31eqtri 2496 . . . . . 6  |-  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  o.  ( 2nd  |`  ( _V  X.  _V ) ) )  =  ( ( _V  X.  { ( G `  y ) } )  X.  ( _V  X.  { y } ) )
3332cnveqi 5177 . . . . 5  |-  `' ( ( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  o.  ( 2nd  |`  ( _V  X.  _V ) ) )  =  `' ( ( _V 
X.  { ( G `
 y ) } )  X.  ( _V 
X.  { y } ) )
34 cnvco 5188 . . . . 5  |-  `' ( ( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  o.  ( 2nd  |`  ( _V  X.  _V ) ) )  =  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  `' ( { ( G `  y ) }  X.  ( _V  X.  { y } ) ) )
35 cnvxp 5424 . . . . 5  |-  `' ( ( _V  X.  {
( G `  y
) } )  X.  ( _V  X.  {
y } ) )  =  ( ( _V 
X.  { y } )  X.  ( _V 
X.  { ( G `
 y ) } ) )
3633, 34, 353eqtr3i 2504 . . . 4  |-  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  `' ( { ( G `  y
) }  X.  ( _V  X.  { y } ) ) )  =  ( ( _V  X.  { y } )  X.  ( _V  X.  { ( G `  y ) } ) )
37 fparlem2 6884 . . . . . . . . 9  |-  ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } )  =  ( _V 
X.  { y } )
3837xpeq2i 5020 . . . . . . . 8  |-  ( { ( G `  y
) }  X.  ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } ) )  =  ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )
39 fnsnfv 5927 . . . . . . . . 9  |-  ( ( G  Fn  B  /\  y  e.  B )  ->  { ( G `  y ) }  =  ( G " { y } ) )
4039xpeq1d 5022 . . . . . . . 8  |-  ( ( G  Fn  B  /\  y  e.  B )  ->  ( { ( G `
 y ) }  X.  ( `' ( 2nd  |`  ( _V  X.  _V ) ) " { y } ) )  =  ( ( G " { y } )  X.  ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } ) ) )
4138, 40syl5eqr 2522 . . . . . . 7  |-  ( ( G  Fn  B  /\  y  e.  B )  ->  ( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  =  ( ( G " { y } )  X.  ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } ) ) )
4241cnveqd 5178 . . . . . 6  |-  ( ( G  Fn  B  /\  y  e.  B )  ->  `' ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) )  =  `' ( ( G " { y } )  X.  ( `' ( 2nd  |`  ( _V  X.  _V ) ) " { y } ) ) )
43 cnvxp 5424 . . . . . 6  |-  `' ( ( G " {
y } )  X.  ( `' ( 2nd  |`  ( _V  X.  _V ) ) " {
y } ) )  =  ( ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } )  X.  ( G
" { y } ) )
4442, 43syl6eq 2524 . . . . 5  |-  ( ( G  Fn  B  /\  y  e.  B )  ->  `' ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) )  =  ( ( `' ( 2nd  |`  ( _V  X.  _V ) ) " {
y } )  X.  ( G " {
y } ) ) )
4544coeq2d 5165 . . . 4  |-  ( ( G  Fn  B  /\  y  e.  B )  ->  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  `' ( { ( G `  y ) }  X.  ( _V  X.  { y } ) ) )  =  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  ( ( `' ( 2nd  |`  ( _V  X.  _V ) ) " { y } )  X.  ( G " { y } ) ) ) )
4636, 45syl5eqr 2522 . . 3  |-  ( ( G  Fn  B  /\  y  e.  B )  ->  ( ( _V  X.  { y } )  X.  ( _V  X.  { ( G `  y ) } ) )  =  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  ( ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } )  X.  ( G
" { y } ) ) ) )
4746iuneq2dv 4347 . 2  |-  ( G  Fn  B  ->  U_ y  e.  B  ( ( _V  X.  { y } )  X.  ( _V 
X.  { ( G `
 y ) } ) )  =  U_ y  e.  B  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  ( ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } )  X.  ( G
" { y } ) ) ) )
481, 7, 473eqtr4a 2534 1  |-  ( G  Fn  B  ->  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  ( G  o.  ( 2nd  |`  ( _V  X.  _V ) ) ) )  =  U_ y  e.  B  ( ( _V  X.  { y } )  X.  ( _V 
X.  { ( G `
 y ) } ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1379    e. wcel 1767    =/= wne 2662   _Vcvv 3113    i^i cin 3475    C_ wss 3476   (/)c0 3785   {csn 4027   U_ciun 4325    X. cxp 4997   `'ccnv 4998   dom cdm 4999   ran crn 5000    |` cres 5001   "cima 5002    o. ccom 5003    Fn wfn 5583   ` cfv 5588   2ndc2nd 6783
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6576
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-ral 2819  df-rex 2820  df-rab 2823  df-v 3115  df-sbc 3332  df-csb 3436  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-nul 3786  df-if 3940  df-sn 4028  df-pr 4030  df-op 4034  df-uni 4246  df-iun 4327  df-br 4448  df-opab 4506  df-mpt 4507  df-id 4795  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-res 5011  df-ima 5012  df-iota 5551  df-fun 5590  df-fn 5591  df-f 5592  df-fv 5596  df-1st 6784  df-2nd 6785
This theorem is referenced by:  fpar  6887
  Copyright terms: Public domain W3C validator