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

Theorem setsvalg 13447
Description: Value of the structure replacement function. (Contributed by Mario Carneiro, 30-Apr-2015.)
Assertion
Ref Expression
setsvalg  |-  ( ( S  e.  V  /\  A  e.  W )  ->  ( S sSet  A )  =  ( ( S  |`  ( _V  \  dom  { A } ) )  u.  { A }
) )

Proof of Theorem setsvalg
Dummy variables  e 
s are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elex 2924 . 2  |-  ( S  e.  V  ->  S  e.  _V )
2 elex 2924 . 2  |-  ( A  e.  W  ->  A  e.  _V )
3 resexg 5144 . . . . 5  |-  ( S  e.  _V  ->  ( S  |`  ( _V  \  dom  { A } ) )  e.  _V )
43adantr 452 . . . 4  |-  ( ( S  e.  _V  /\  A  e.  _V )  ->  ( S  |`  ( _V  \  dom  { A } ) )  e. 
_V )
5 snex 4365 . . . 4  |-  { A }  e.  _V
6 unexg 4669 . . . 4  |-  ( ( ( S  |`  ( _V  \  dom  { A } ) )  e. 
_V  /\  { A }  e.  _V )  ->  ( ( S  |`  ( _V  \  dom  { A } ) )  u. 
{ A } )  e.  _V )
74, 5, 6sylancl 644 . . 3  |-  ( ( S  e.  _V  /\  A  e.  _V )  ->  ( ( S  |`  ( _V  \  dom  { A } ) )  u. 
{ A } )  e.  _V )
8 simpl 444 . . . . . 6  |-  ( ( s  =  S  /\  e  =  A )  ->  s  =  S )
9 simpr 448 . . . . . . . . 9  |-  ( ( s  =  S  /\  e  =  A )  ->  e  =  A )
109sneqd 3787 . . . . . . . 8  |-  ( ( s  =  S  /\  e  =  A )  ->  { e }  =  { A } )
1110dmeqd 5031 . . . . . . 7  |-  ( ( s  =  S  /\  e  =  A )  ->  dom  { e }  =  dom  { A } )
1211difeq2d 3425 . . . . . 6  |-  ( ( s  =  S  /\  e  =  A )  ->  ( _V  \  dom  { e } )  =  ( _V  \  dom  { A } ) )
138, 12reseq12d 5106 . . . . 5  |-  ( ( s  =  S  /\  e  =  A )  ->  ( s  |`  ( _V  \  dom  { e } ) )  =  ( S  |`  ( _V  \  dom  { A } ) ) )
1413, 10uneq12d 3462 . . . 4  |-  ( ( s  =  S  /\  e  =  A )  ->  ( ( s  |`  ( _V  \  dom  {
e } ) )  u.  { e } )  =  ( ( S  |`  ( _V  \  dom  { A }
) )  u.  { A } ) )
15 df-sets 13430 . . . 4  |- sSet  =  ( s  e.  _V , 
e  e.  _V  |->  ( ( s  |`  ( _V  \  dom  { e } ) )  u. 
{ e } ) )
1614, 15ovmpt2ga 6162 . . 3  |-  ( ( S  e.  _V  /\  A  e.  _V  /\  (
( S  |`  ( _V  \  dom  { A } ) )  u. 
{ A } )  e.  _V )  -> 
( S sSet  A )  =  ( ( S  |`  ( _V  \  dom  { A } ) )  u.  { A }
) )
177, 16mpd3an3 1280 . 2  |-  ( ( S  e.  _V  /\  A  e.  _V )  ->  ( S sSet  A )  =  ( ( S  |`  ( _V  \  dom  { A } ) )  u.  { A }
) )
181, 2, 17syl2an 464 1  |-  ( ( S  e.  V  /\  A  e.  W )  ->  ( S sSet  A )  =  ( ( S  |`  ( _V  \  dom  { A } ) )  u.  { A }
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    = wceq 1649    e. wcel 1721   _Vcvv 2916    \ cdif 3277    u. cun 3278   {csn 3774   dom cdm 4837    |` cres 4839  (class class class)co 6040   sSet csts 13422
This theorem is referenced by:  setsval  13448  wunsets  13449  setsres  13450
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-13 1723  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2385  ax-sep 4290  ax-nul 4298  ax-pr 4363  ax-un 4660
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2258  df-mo 2259  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ne 2569  df-ral 2671  df-rex 2672  df-rab 2675  df-v 2918  df-sbc 3122  df-dif 3283  df-un 3285  df-in 3287  df-ss 3294  df-nul 3589  df-if 3700  df-sn 3780  df-pr 3781  df-op 3783  df-uni 3976  df-br 4173  df-opab 4227  df-id 4458  df-xp 4843  df-rel 4844  df-cnv 4845  df-co 4846  df-dm 4847  df-res 4849  df-iota 5377  df-fun 5415  df-fv 5421  df-ov 6043  df-oprab 6044  df-mpt2 6045  df-sets 13430
  Copyright terms: Public domain W3C validator