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

Theorem ovmptss 6391
Description: If all the values of the mapping are subsets of a class  X, then so is any evaluation of the mapping. (Contributed by Mario Carneiro, 24-Dec-2016.)
Hypothesis
Ref Expression
ovmptss.1  |-  F  =  ( x  e.  A ,  y  e.  B  |->  C )
Assertion
Ref Expression
ovmptss  |-  ( A. x  e.  A  A. y  e.  B  C  C_  X  ->  ( E F G )  C_  X
)
Distinct variable groups:    x, y, A    y, B    x, X, y
Allowed substitution hints:    B( x)    C( x, y)    E( x, y)    F( x, y)    G( x, y)

Proof of Theorem ovmptss
Dummy variables  v  u  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ovmptss.1 . . . 4  |-  F  =  ( x  e.  A ,  y  e.  B  |->  C )
2 mpt2mptsx 6377 . . . 4  |-  ( x  e.  A ,  y  e.  B  |->  C )  =  ( z  e. 
U_ x  e.  A  ( { x }  X.  B )  |->  [_ ( 1st `  z )  /  x ]_ [_ ( 2nd `  z )  /  y ]_ C )
31, 2eqtri 2428 . . 3  |-  F  =  ( z  e.  U_ x  e.  A  ( { x }  X.  B )  |->  [_ ( 1st `  z )  /  x ]_ [_ ( 2nd `  z )  /  y ]_ C )
43fvmptss 5776 . 2  |-  ( A. z  e.  U_  x  e.  A  ( { x }  X.  B ) [_ ( 1st `  z )  /  x ]_ [_ ( 2nd `  z )  / 
y ]_ C  C_  X  ->  ( F `  <. E ,  G >. )  C_  X )
5 vex 2923 . . . . . . . 8  |-  u  e. 
_V
6 vex 2923 . . . . . . . 8  |-  v  e. 
_V
75, 6op1std 6320 . . . . . . 7  |-  ( z  =  <. u ,  v
>.  ->  ( 1st `  z
)  =  u )
87csbeq1d 3221 . . . . . 6  |-  ( z  =  <. u ,  v
>.  ->  [_ ( 1st `  z
)  /  x ]_ [_ ( 2nd `  z
)  /  y ]_ C  =  [_ u  /  x ]_ [_ ( 2nd `  z )  /  y ]_ C )
95, 6op2ndd 6321 . . . . . . . 8  |-  ( z  =  <. u ,  v
>.  ->  ( 2nd `  z
)  =  v )
109csbeq1d 3221 . . . . . . 7  |-  ( z  =  <. u ,  v
>.  ->  [_ ( 2nd `  z
)  /  y ]_ C  =  [_ v  / 
y ]_ C )
1110csbeq2dv 3240 . . . . . 6  |-  ( z  =  <. u ,  v
>.  ->  [_ u  /  x ]_ [_ ( 2nd `  z
)  /  y ]_ C  =  [_ u  /  x ]_ [_ v  / 
y ]_ C )
128, 11eqtrd 2440 . . . . 5  |-  ( z  =  <. u ,  v
>.  ->  [_ ( 1st `  z
)  /  x ]_ [_ ( 2nd `  z
)  /  y ]_ C  =  [_ u  /  x ]_ [_ v  / 
y ]_ C )
1312sseq1d 3339 . . . 4  |-  ( z  =  <. u ,  v
>.  ->  ( [_ ( 1st `  z )  /  x ]_ [_ ( 2nd `  z )  /  y ]_ C  C_  X  <->  [_ u  /  x ]_ [_ v  / 
y ]_ C  C_  X
) )
1413raliunxp 4977 . . 3  |-  ( A. z  e.  U_  u  e.  A  ( { u }  X.  [_ u  /  x ]_ B ) [_ ( 1st `  z )  /  x ]_ [_ ( 2nd `  z )  / 
y ]_ C  C_  X  <->  A. u  e.  A  A. v  e.  [_  u  /  x ]_ B [_ u  /  x ]_ [_ v  /  y ]_ C  C_  X )
15 nfcv 2544 . . . . 5  |-  F/_ u
( { x }  X.  B )
16 nfcv 2544 . . . . . 6  |-  F/_ x { u }
17 nfcsb1v 3247 . . . . . 6  |-  F/_ x [_ u  /  x ]_ B
1816, 17nfxp 4867 . . . . 5  |-  F/_ x
( { u }  X.  [_ u  /  x ]_ B )
19 sneq 3789 . . . . . 6  |-  ( x  =  u  ->  { x }  =  { u } )
20 csbeq1a 3223 . . . . . 6  |-  ( x  =  u  ->  B  =  [_ u  /  x ]_ B )
2119, 20xpeq12d 4866 . . . . 5  |-  ( x  =  u  ->  ( { x }  X.  B )  =  ( { u }  X.  [_ u  /  x ]_ B ) )
2215, 18, 21cbviun 4092 . . . 4  |-  U_ x  e.  A  ( {
x }  X.  B
)  =  U_ u  e.  A  ( {
u }  X.  [_ u  /  x ]_ B
)
2322raleqi 2872 . . 3  |-  ( A. z  e.  U_  x  e.  A  ( { x }  X.  B ) [_ ( 1st `  z )  /  x ]_ [_ ( 2nd `  z )  / 
y ]_ C  C_  X  <->  A. z  e.  U_  u  e.  A  ( {
u }  X.  [_ u  /  x ]_ B
) [_ ( 1st `  z
)  /  x ]_ [_ ( 2nd `  z
)  /  y ]_ C  C_  X )
24 nfv 1626 . . . 4  |-  F/ u A. y  e.  B  C  C_  X
25 nfcsb1v 3247 . . . . . 6  |-  F/_ x [_ u  /  x ]_ [_ v  /  y ]_ C
26 nfcv 2544 . . . . . 6  |-  F/_ x X
2725, 26nfss 3305 . . . . 5  |-  F/ x [_ u  /  x ]_ [_ v  /  y ]_ C  C_  X
2817, 27nfral 2723 . . . 4  |-  F/ x A. v  e.  [_  u  /  x ]_ B [_ u  /  x ]_ [_ v  /  y ]_ C  C_  X
29 nfv 1626 . . . . . 6  |-  F/ v  C  C_  X
30 nfcsb1v 3247 . . . . . . 7  |-  F/_ y [_ v  /  y ]_ C
31 nfcv 2544 . . . . . . 7  |-  F/_ y X
3230, 31nfss 3305 . . . . . 6  |-  F/ y
[_ v  /  y ]_ C  C_  X
33 csbeq1a 3223 . . . . . . 7  |-  ( y  =  v  ->  C  =  [_ v  /  y ]_ C )
3433sseq1d 3339 . . . . . 6  |-  ( y  =  v  ->  ( C  C_  X  <->  [_ v  / 
y ]_ C  C_  X
) )
3529, 32, 34cbvral 2892 . . . . 5  |-  ( A. y  e.  B  C  C_  X  <->  A. v  e.  B  [_ v  /  y ]_ C  C_  X )
36 csbeq1a 3223 . . . . . . 7  |-  ( x  =  u  ->  [_ v  /  y ]_ C  =  [_ u  /  x ]_ [_ v  /  y ]_ C )
3736sseq1d 3339 . . . . . 6  |-  ( x  =  u  ->  ( [_ v  /  y ]_ C  C_  X  <->  [_ u  /  x ]_ [_ v  / 
y ]_ C  C_  X
) )
3820, 37raleqbidv 2880 . . . . 5  |-  ( x  =  u  ->  ( A. v  e.  B  [_ v  /  y ]_ C  C_  X  <->  A. v  e.  [_  u  /  x ]_ B [_ u  /  x ]_ [_ v  / 
y ]_ C  C_  X
) )
3935, 38syl5bb 249 . . . 4  |-  ( x  =  u  ->  ( A. y  e.  B  C  C_  X  <->  A. v  e.  [_  u  /  x ]_ B [_ u  /  x ]_ [_ v  / 
y ]_ C  C_  X
) )
4024, 28, 39cbvral 2892 . . 3  |-  ( A. x  e.  A  A. y  e.  B  C  C_  X  <->  A. u  e.  A  A. v  e.  [_  u  /  x ]_ B [_ u  /  x ]_ [_ v  /  y ]_ C  C_  X )
4114, 23, 403bitr4ri 270 . 2  |-  ( A. x  e.  A  A. y  e.  B  C  C_  X  <->  A. z  e.  U_  x  e.  A  ( { x }  X.  B ) [_ ( 1st `  z )  /  x ]_ [_ ( 2nd `  z )  /  y ]_ C  C_  X )
42 df-ov 6047 . . 3  |-  ( E F G )  =  ( F `  <. E ,  G >. )
4342sseq1i 3336 . 2  |-  ( ( E F G ) 
C_  X  <->  ( F `  <. E ,  G >. )  C_  X )
444, 41, 433imtr4i 258 1  |-  ( A. x  e.  A  A. y  e.  B  C  C_  X  ->  ( E F G )  C_  X
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    = wceq 1649   A.wral 2670   [_csb 3215    C_ wss 3284   {csn 3778   <.cop 3781   U_ciun 4057    e. cmpt 4230    X. cxp 4839   ` cfv 5417  (class class class)co 6044    e. cmpt2 6046   1stc1st 6310   2ndc2nd 6311
This theorem is referenced by:  relmpt2opab  6392  relxpchom  14237  reldv  19714
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 2389  ax-sep 4294  ax-nul 4302  ax-pow 4341  ax-pr 4367  ax-un 4664
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 2262  df-mo 2263  df-clab 2395  df-cleq 2401  df-clel 2404  df-nfc 2533  df-ne 2573  df-ral 2675  df-rex 2676  df-rab 2679  df-v 2922  df-sbc 3126  df-csb 3216  df-dif 3287  df-un 3289  df-in 3291  df-ss 3298  df-nul 3593  df-if 3704  df-sn 3784  df-pr 3785  df-op 3787  df-uni 3980  df-iun 4059  df-br 4177  df-opab 4231  df-mpt 4232  df-id 4462  df-xp 4847  df-rel 4848  df-cnv 4849  df-co 4850  df-dm 4851  df-rn 4852  df-res 4853  df-ima 4854  df-iota 5381  df-fun 5419  df-fv 5425  df-ov 6047  df-oprab 6048  df-mpt2 6049  df-1st 6312  df-2nd 6313
  Copyright terms: Public domain W3C validator