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

Theorem elmptrab 17624
Description: Membership in a one-parameter class of sets. (Contributed by Stefan O'Rear, 28-Jul-2015.)
Hypotheses
Ref Expression
elmptrab.f  |-  F  =  ( x  e.  D  |->  { y  e.  B  |  ph } )
elmptrab.s1  |-  ( ( x  =  X  /\  y  =  Y )  ->  ( ph  <->  ps )
)
elmptrab.s2  |-  ( x  =  X  ->  B  =  C )
elmptrab.ex  |-  ( x  e.  D  ->  B  e.  V )
Assertion
Ref Expression
elmptrab  |-  ( Y  e.  ( F `  X )  <->  ( X  e.  D  /\  Y  e.  C  /\  ps )
)
Distinct variable groups:    x, y, X    y, B    x, C, y    x, D    x, V, y    x, Y, y    ps, x, y
Allowed substitution hints:    ph( x, y)    B( x)    D( y)    F( x, y)

Proof of Theorem elmptrab
Dummy variables  w  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elmptrab.f . . . 4  |-  F  =  ( x  e.  D  |->  { y  e.  B  |  ph } )
21dmmptss 5251 . . 3  |-  dom  F  C_  D
3 elfvdm 5637 . . 3  |-  ( Y  e.  ( F `  X )  ->  X  e.  dom  F )
42, 3sseldi 3254 . 2  |-  ( Y  e.  ( F `  X )  ->  X  e.  D )
5 simp1 955 . 2  |-  ( ( X  e.  D  /\  Y  e.  C  /\  ps )  ->  X  e.  D )
6 csbeq1 3160 . . . . . 6  |-  ( z  =  X  ->  [_ z  /  x ]_ B  = 
[_ X  /  x ]_ B )
7 dfsbcq 3069 . . . . . 6  |-  ( z  =  X  ->  ( [. z  /  x ]. [. w  /  y ]. ph  <->  [. X  /  x ]. [. w  /  y ]. ph ) )
86, 7rabeqbidv 2859 . . . . 5  |-  ( z  =  X  ->  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph }  =  { w  e.  [_ X  /  x ]_ B  |  [. X  /  x ]. [. w  /  y ]. ph } )
9 nfcv 2494 . . . . . . 7  |-  F/_ z { y  e.  B  |  ph }
10 nfsbc1v 3086 . . . . . . . 8  |-  F/ x [. z  /  x ]. [. w  /  y ]. ph
11 nfcsb1v 3189 . . . . . . . 8  |-  F/_ x [_ z  /  x ]_ B
1210, 11nfrab 2797 . . . . . . 7  |-  F/_ x { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph }
13 csbeq1a 3165 . . . . . . . . 9  |-  ( x  =  z  ->  B  =  [_ z  /  x ]_ B )
14 sbceq1a 3077 . . . . . . . . 9  |-  ( x  =  z  ->  ( ph 
<-> 
[. z  /  x ]. ph ) )
1513, 14rabeqbidv 2859 . . . . . . . 8  |-  ( x  =  z  ->  { y  e.  B  |  ph }  =  { y  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. ph }
)
16 nfcv 2494 . . . . . . . . 9  |-  F/_ w [_ z  /  x ]_ B
17 nfcv 2494 . . . . . . . . 9  |-  F/_ y [_ z  /  x ]_ B
18 nfcv 2494 . . . . . . . . . 10  |-  F/_ y
z
19 nfsbc1v 3086 . . . . . . . . . 10  |-  F/ y
[. w  /  y ]. ph
2018, 19nfsbc 3088 . . . . . . . . 9  |-  F/ y
[. z  /  x ]. [. w  /  y ]. ph
21 nfv 1619 . . . . . . . . 9  |-  F/ w [. z  /  x ]. ph
22 sbceq1a 3077 . . . . . . . . . . 11  |-  ( y  =  w  ->  ( [. z  /  x ]. ph  <->  [. w  /  y ]. [. z  /  x ]. ph ) )
2322equcoms 1681 . . . . . . . . . 10  |-  ( w  =  y  ->  ( [. z  /  x ]. ph  <->  [. w  /  y ]. [. z  /  x ]. ph ) )
24 sbccom 3138 . . . . . . . . . 10  |-  ( [. z  /  x ]. [. w  /  y ]. ph  <->  [. w  / 
y ]. [. z  /  x ]. ph )
2523, 24syl6rbbr 255 . . . . . . . . 9  |-  ( w  =  y  ->  ( [. z  /  x ]. [. w  /  y ]. ph  <->  [. z  /  x ]. ph ) )
2616, 17, 20, 21, 25cbvrab 2862 . . . . . . . 8  |-  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph }  =  { y  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. ph }
2715, 26syl6eqr 2408 . . . . . . 7  |-  ( x  =  z  ->  { y  e.  B  |  ph }  =  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph }
)
289, 12, 27cbvmpt 4191 . . . . . 6  |-  ( x  e.  D  |->  { y  e.  B  |  ph } )  =  ( z  e.  D  |->  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph } )
291, 28eqtri 2378 . . . . 5  |-  F  =  ( z  e.  D  |->  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph } )
30 nfv 1619 . . . . . . . 8  |-  F/ x  z  e.  D
3111nfel1 2504 . . . . . . . 8  |-  F/ x [_ z  /  x ]_ B  e.  V
3230, 31nfim 1815 . . . . . . 7  |-  F/ x
( z  e.  D  ->  [_ z  /  x ]_ B  e.  V
)
33 eleq1 2418 . . . . . . . 8  |-  ( x  =  z  ->  (
x  e.  D  <->  z  e.  D ) )
3413eleq1d 2424 . . . . . . . 8  |-  ( x  =  z  ->  ( B  e.  V  <->  [_ z  /  x ]_ B  e.  V
) )
3533, 34imbi12d 311 . . . . . . 7  |-  ( x  =  z  ->  (
( x  e.  D  ->  B  e.  V )  <-> 
( z  e.  D  ->  [_ z  /  x ]_ B  e.  V
) ) )
36 elmptrab.ex . . . . . . 7  |-  ( x  e.  D  ->  B  e.  V )
3732, 35, 36chvar 1991 . . . . . 6  |-  ( z  e.  D  ->  [_ z  /  x ]_ B  e.  V )
38 rabexg 4245 . . . . . 6  |-  ( [_ z  /  x ]_ B  e.  V  ->  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph }  e.  _V )
3937, 38syl 15 . . . . 5  |-  ( z  e.  D  ->  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph }  e.  _V )
408, 29, 39fvmpt3 5687 . . . 4  |-  ( X  e.  D  ->  ( F `  X )  =  { w  e.  [_ X  /  x ]_ B  |  [. X  /  x ]. [. w  /  y ]. ph } )
4140eleq2d 2425 . . 3  |-  ( X  e.  D  ->  ( Y  e.  ( F `  X )  <->  Y  e.  { w  e.  [_ X  /  x ]_ B  |  [. X  /  x ]. [. w  /  y ]. ph } ) )
42 dfsbcq 3069 . . . . . . 7  |-  ( w  =  Y  ->  ( [. w  /  y ]. ph  <->  [. Y  /  y ]. ph ) )
4342sbcbidv 3121 . . . . . 6  |-  ( w  =  Y  ->  ( [. X  /  x ]. [. w  /  y ]. ph  <->  [. X  /  x ]. [. Y  /  y ]. ph ) )
4443elrab 2999 . . . . 5  |-  ( Y  e.  { w  e. 
[_ X  /  x ]_ B  |  [. X  /  x ]. [. w  /  y ]. ph }  <->  ( Y  e.  [_ X  /  x ]_ B  /\  [. X  /  x ]. [. Y  /  y ]. ph ) )
4544a1i 10 . . . 4  |-  ( X  e.  D  ->  ( Y  e.  { w  e.  [_ X  /  x ]_ B  |  [. X  /  x ]. [. w  /  y ]. ph }  <->  ( Y  e.  [_ X  /  x ]_ B  /\  [. X  /  x ]. [. Y  /  y ]. ph ) ) )
46 nfcvd 2495 . . . . . . 7  |-  ( X  e.  D  ->  F/_ x C )
47 elmptrab.s2 . . . . . . 7  |-  ( x  =  X  ->  B  =  C )
4846, 47csbiegf 3197 . . . . . 6  |-  ( X  e.  D  ->  [_ X  /  x ]_ B  =  C )
4948eleq2d 2425 . . . . 5  |-  ( X  e.  D  ->  ( Y  e.  [_ X  /  x ]_ B  <->  Y  e.  C ) )
5049anbi1d 685 . . . 4  |-  ( X  e.  D  ->  (
( Y  e.  [_ X  /  x ]_ B  /\  [. X  /  x ]. [. Y  /  y ]. ph )  <->  ( Y  e.  C  /\  [. X  /  x ]. [. Y  /  y ]. ph )
) )
51 nfv 1619 . . . . . 6  |-  F/ x ps
52 nfv 1619 . . . . . 6  |-  F/ y ps
53 nfv 1619 . . . . . 6  |-  F/ x  Y  e.  C
54 elmptrab.s1 . . . . . 6  |-  ( ( x  =  X  /\  y  =  Y )  ->  ( ph  <->  ps )
)
5551, 52, 53, 54sbc2iegf 3133 . . . . 5  |-  ( ( X  e.  D  /\  Y  e.  C )  ->  ( [. X  /  x ]. [. Y  / 
y ]. ph  <->  ps )
)
5655pm5.32da 622 . . . 4  |-  ( X  e.  D  ->  (
( Y  e.  C  /\  [. X  /  x ]. [. Y  /  y ]. ph )  <->  ( Y  e.  C  /\  ps )
) )
5745, 50, 563bitrd 270 . . 3  |-  ( X  e.  D  ->  ( Y  e.  { w  e.  [_ X  /  x ]_ B  |  [. X  /  x ]. [. w  /  y ]. ph }  <->  ( Y  e.  C  /\  ps ) ) )
58 3anass 938 . . . 4  |-  ( ( X  e.  D  /\  Y  e.  C  /\  ps )  <->  ( X  e.  D  /\  ( Y  e.  C  /\  ps ) ) )
5958baibr 872 . . 3  |-  ( X  e.  D  ->  (
( Y  e.  C  /\  ps )  <->  ( X  e.  D  /\  Y  e.  C  /\  ps )
) )
6041, 57, 593bitrd 270 . 2  |-  ( X  e.  D  ->  ( Y  e.  ( F `  X )  <->  ( X  e.  D  /\  Y  e.  C  /\  ps )
) )
614, 5, 60pm5.21nii 342 1  |-  ( Y  e.  ( F `  X )  <->  ( X  e.  D  /\  Y  e.  C  /\  ps )
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934    = wceq 1642    e. wcel 1710   {crab 2623   _Vcvv 2864   [.wsbc 3067   [_csb 3157    e. cmpt 4158   dom cdm 4771   ` cfv 5337
This theorem is referenced by:  elmptrab2  17625  isfbas  17626
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1546  ax-5 1557  ax-17 1616  ax-9 1654  ax-8 1675  ax-13 1712  ax-14 1714  ax-6 1729  ax-7 1734  ax-11 1746  ax-12 1930  ax-ext 2339  ax-sep 4222  ax-nul 4230  ax-pow 4269  ax-pr 4295
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1319  df-ex 1542  df-nf 1545  df-sb 1649  df-eu 2213  df-mo 2214  df-clab 2345  df-cleq 2351  df-clel 2354  df-nfc 2483  df-ne 2523  df-ral 2624  df-rex 2625  df-rab 2628  df-v 2866  df-sbc 3068  df-csb 3158  df-dif 3231  df-un 3233  df-in 3235  df-ss 3242  df-nul 3532  df-if 3642  df-sn 3722  df-pr 3723  df-op 3725  df-uni 3909  df-br 4105  df-opab 4159  df-mpt 4160  df-id 4391  df-xp 4777  df-rel 4778  df-cnv 4779  df-co 4780  df-dm 4781  df-rn 4782  df-res 4783  df-ima 4784  df-iota 5301  df-fun 5339  df-fv 5345
  Copyright terms: Public domain W3C validator