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

Theorem fparlem4 6237
Description: Lemma for fpar 6238. (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 5198 . 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 3402 . . . . 5  |-  ( dom 
G  i^i  ran  ( 2nd  |`  ( _V  X.  _V ) ) )  C_  dom  G
3 fndm 5359 . . . . 5  |-  ( G  Fn  B  ->  dom  G  =  B )
42, 3syl5sseq 3239 . . . 4  |-  ( G  Fn  B  ->  ( dom  G  i^i  ran  ( 2nd  |`  ( _V  X.  _V ) ) )  C_  B )
5 dfco2a 5189 . . . 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 15 . . 3  |-  ( G  Fn  B  ->  ( G  o.  ( 2nd  |`  ( _V  X.  _V ) ) )  = 
U_ y  e.  B  ( ( `' ( 2nd  |`  ( _V  X.  _V ) ) " { y } )  X.  ( G " { y } ) ) )
76coeq2d 4862 . 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 3402 . . . . . . . . 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 5123 . . . . . . . . 9  |-  dom  ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  C_  { ( G `  y
) }
108, 9sstri 3201 . . . . . . . 8  |-  ( dom  ( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  i^i  ran  ( 2nd  |`  ( _V  X.  _V ) ) )  C_  { ( G `  y
) }
11 dfco2a 5189 . . . . . . . 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 8 . . . . . . 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 5555 . . . . . . . 8  |-  ( G `
 y )  e. 
_V
14 fparlem2 6235 . . . . . . . . . 10  |-  ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { x }
)  =  ( _V 
X.  { x }
)
15 sneq 3664 . . . . . . . . . . 11  |-  ( x  =  ( G `  y )  ->  { x }  =  { ( G `  y ) } )
1615xpeq2d 4729 . . . . . . . . . 10  |-  ( x  =  ( G `  y )  ->  ( _V  X.  { x }
)  =  ( _V 
X.  { ( G `
 y ) } ) )
1714, 16syl5eq 2340 . . . . . . . . 9  |-  ( x  =  ( G `  y )  ->  ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { x }
)  =  ( _V 
X.  { ( G `
 y ) } ) )
1815imaeq2d 5028 . . . . . . . . . 10  |-  ( x  =  ( G `  y )  ->  (
( { ( G `
 y ) }  X.  ( _V  X.  { y } ) ) " { x } )  =  ( ( { ( G `
 y ) }  X.  ( _V  X.  { y } ) ) " { ( G `  y ) } ) )
19 df-ima 4718 . . . . . . . . . . 11  |-  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) ) " { ( G `  y ) } )  =  ran  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  |`  { ( G `  y ) } )
20 ssid 3210 . . . . . . . . . . . . . 14  |-  { ( G `  y ) }  C_  { ( G `  y ) }
21 xpssres 5005 . . . . . . . . . . . . . 14  |-  ( { ( G `  y
) }  C_  { ( G `  y ) }  ->  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  |`  { ( G `  y ) } )  =  ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) ) )
2220, 21ax-mp 8 . . . . . . . . . . . . 13  |-  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  |`  { ( G `  y ) } )  =  ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) )
2322rneqi 4921 . . . . . . . . . . . 12  |-  ran  (
( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  |`  { ( G `  y ) } )  =  ran  ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )
2413snnz 3757 . . . . . . . . . . . . 13  |-  { ( G `  y ) }  =/=  (/)
25 rnxp 5122 . . . . . . . . . . . . 13  |-  ( { ( G `  y
) }  =/=  (/)  ->  ran  ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  =  ( _V  X.  {
y } ) )
2624, 25ax-mp 8 . . . . . . . . . . . 12  |-  ran  ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  =  ( _V  X.  {
y } )
2723, 26eqtri 2316 . . . . . . . . . . 11  |-  ran  (
( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  |`  { ( G `  y ) } )  =  ( _V  X.  { y } )
2819, 27eqtri 2316 . . . . . . . . . 10  |-  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) ) " { ( G `  y ) } )  =  ( _V  X.  { y } )
2918, 28syl6eq 2344 . . . . . . . . 9  |-  ( x  =  ( G `  y )  ->  (
( { ( G `
 y ) }  X.  ( _V  X.  { y } ) ) " { x } )  =  ( _V  X.  { y } ) )
3017, 29xpeq12d 4730 . . . . . . . 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 3997 . . . . . . 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 2316 . . . . . 6  |-  ( ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )  o.  ( 2nd  |`  ( _V  X.  _V ) ) )  =  ( ( _V  X.  { ( G `  y ) } )  X.  ( _V  X.  { y } ) )
3332cnveqi 4872 . . . . 5  |-  `' ( ( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  o.  ( 2nd  |`  ( _V  X.  _V ) ) )  =  `' ( ( _V 
X.  { ( G `
 y ) } )  X.  ( _V 
X.  { y } ) )
34 cnvco 4881 . . . . 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 5113 . . . . 5  |-  `' ( ( _V  X.  {
( G `  y
) } )  X.  ( _V  X.  {
y } ) )  =  ( ( _V 
X.  { y } )  X.  ( _V 
X.  { ( G `
 y ) } ) )
3633, 34, 353eqtr3i 2324 . . . 4  |-  ( `' ( 2nd  |`  ( _V  X.  _V ) )  o.  `' ( { ( G `  y
) }  X.  ( _V  X.  { y } ) ) )  =  ( ( _V  X.  { y } )  X.  ( _V  X.  { ( G `  y ) } ) )
37 fparlem2 6235 . . . . . . . . 9  |-  ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } )  =  ( _V 
X.  { y } )
3837xpeq2i 4726 . . . . . . . 8  |-  ( { ( G `  y
) }  X.  ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } ) )  =  ( { ( G `  y ) }  X.  ( _V  X.  { y } ) )
39 fnsnfv 5598 . . . . . . . . 9  |-  ( ( G  Fn  B  /\  y  e.  B )  ->  { ( G `  y ) }  =  ( G " { y } ) )
4039xpeq1d 4728 . . . . . . . 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 2342 . . . . . . 7  |-  ( ( G  Fn  B  /\  y  e.  B )  ->  ( { ( G `
 y ) }  X.  ( _V  X.  { y } ) )  =  ( ( G " { y } )  X.  ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } ) ) )
4241cnveqd 4873 . . . . . 6  |-  ( ( G  Fn  B  /\  y  e.  B )  ->  `' ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) )  =  `' ( ( G " { y } )  X.  ( `' ( 2nd  |`  ( _V  X.  _V ) ) " { y } ) ) )
43 cnvxp 5113 . . . . . 6  |-  `' ( ( G " {
y } )  X.  ( `' ( 2nd  |`  ( _V  X.  _V ) ) " {
y } ) )  =  ( ( `' ( 2nd  |`  ( _V  X.  _V ) )
" { y } )  X.  ( G
" { y } ) )
4442, 43syl6eq 2344 . . . . 5  |-  ( ( G  Fn  B  /\  y  e.  B )  ->  `' ( { ( G `  y ) }  X.  ( _V 
X.  { y } ) )  =  ( ( `' ( 2nd  |`  ( _V  X.  _V ) ) " {
y } )  X.  ( G " {
y } ) ) )
4544coeq2d 4862 . . . 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 2342 . . 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 3942 . 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 2354 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 set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1632    e. wcel 1696    =/= wne 2459   _Vcvv 2801    i^i cin 3164    C_ wss 3165   (/)c0 3468   {csn 3653   U_ciun 3921    X. cxp 4703   `'ccnv 4704   dom cdm 4705   ran crn 4706    |` cres 4707   "cima 4708    o. ccom 4709    Fn wfn 5266   ` cfv 5271   2ndc2nd 6137
This theorem is referenced by:  fpar  6238
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-fv 5279  df-1st 6138  df-2nd 6139
  Copyright terms: Public domain W3C validator