Metamath Proof Explorer


Definition df-sets

Description: Set a component of an extensible structure. This function is useful for taking an existing structure and "overriding" one of its components. For example, df-ress adjusts the base set to match its second argument, which has the effect of making subgroups, subspaces, subrings etc. from the original structures. Or df-mgp , which takes a ring and overrides its addition operation with the multiplicative operation, so that we can consider the "multiplicative group" using group and monoid theorems, which expect the operation to be in the +g slot instead of the .r slot. (Contributed by Mario Carneiro, 1-Dec-2014)

Ref Expression
Assertion df-sets
|- sSet = ( s e. _V , e e. _V |-> ( ( s |` ( _V \ dom { e } ) ) u. { e } ) )

Detailed syntax breakdown

Step Hyp Ref Expression
0 csts
 |-  sSet
1 vs
 |-  s
2 cvv
 |-  _V
3 ve
 |-  e
4 1 cv
 |-  s
5 3 cv
 |-  e
6 5 csn
 |-  { e }
7 6 cdm
 |-  dom { e }
8 2 7 cdif
 |-  ( _V \ dom { e } )
9 4 8 cres
 |-  ( s |` ( _V \ dom { e } ) )
10 9 6 cun
 |-  ( ( s |` ( _V \ dom { e } ) ) u. { e } )
11 1 3 2 2 10 cmpo
 |-  ( s e. _V , e e. _V |-> ( ( s |` ( _V \ dom { e } ) ) u. { e } ) )
12 0 11 wceq
 |-  sSet = ( s e. _V , e e. _V |-> ( ( s |` ( _V \ dom { e } ) ) u. { e } ) )