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

Theorem elmptrab 17859
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 5366 . . 3  |-  dom  F  C_  D
3 elfvdm 5757 . . 3  |-  ( Y  e.  ( F `  X )  ->  X  e.  dom  F )
42, 3sseldi 3346 . 2  |-  ( Y  e.  ( F `  X )  ->  X  e.  D )
5 simp1 957 . 2  |-  ( ( X  e.  D  /\  Y  e.  C  /\  ps )  ->  X  e.  D )
6 csbeq1 3254 . . . . . 6  |-  ( z  =  X  ->  [_ z  /  x ]_ B  = 
[_ X  /  x ]_ B )
7 dfsbcq 3163 . . . . . 6  |-  ( z  =  X  ->  ( [. z  /  x ]. [. w  /  y ]. ph  <->  [. X  /  x ]. [. w  /  y ]. ph ) )
86, 7rabeqbidv 2951 . . . . 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 2572 . . . . . . 7  |-  F/_ z { y  e.  B  |  ph }
10 nfsbc1v 3180 . . . . . . . 8  |-  F/ x [. z  /  x ]. [. w  /  y ]. ph
11 nfcsb1v 3283 . . . . . . . 8  |-  F/_ x [_ z  /  x ]_ B
1210, 11nfrab 2889 . . . . . . 7  |-  F/_ x { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph }
13 csbeq1a 3259 . . . . . . . . 9  |-  ( x  =  z  ->  B  =  [_ z  /  x ]_ B )
14 sbceq1a 3171 . . . . . . . . 9  |-  ( x  =  z  ->  ( ph 
<-> 
[. z  /  x ]. ph ) )
1513, 14rabeqbidv 2951 . . . . . . . 8  |-  ( x  =  z  ->  { y  e.  B  |  ph }  =  { y  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. ph }
)
16 nfcv 2572 . . . . . . . . 9  |-  F/_ w [_ z  /  x ]_ B
17 nfcv 2572 . . . . . . . . 9  |-  F/_ y [_ z  /  x ]_ B
18 nfcv 2572 . . . . . . . . . 10  |-  F/_ y
z
19 nfsbc1v 3180 . . . . . . . . . 10  |-  F/ y
[. w  /  y ]. ph
2018, 19nfsbc 3182 . . . . . . . . 9  |-  F/ y
[. z  /  x ]. [. w  /  y ]. ph
21 nfv 1629 . . . . . . . . 9  |-  F/ w [. z  /  x ]. ph
22 sbceq1a 3171 . . . . . . . . . . 11  |-  ( y  =  w  ->  ( [. z  /  x ]. ph  <->  [. w  /  y ]. [. z  /  x ]. ph ) )
2322equcoms 1693 . . . . . . . . . 10  |-  ( w  =  y  ->  ( [. z  /  x ]. ph  <->  [. w  /  y ]. [. z  /  x ]. ph ) )
24 sbccom 3232 . . . . . . . . . 10  |-  ( [. z  /  x ]. [. w  /  y ]. ph  <->  [. w  / 
y ]. [. z  /  x ]. ph )
2523, 24syl6rbbr 256 . . . . . . . . 9  |-  ( w  =  y  ->  ( [. z  /  x ]. [. w  /  y ]. ph  <->  [. z  /  x ]. ph ) )
2616, 17, 20, 21, 25cbvrab 2954 . . . . . . . 8  |-  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph }  =  { y  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. ph }
2715, 26syl6eqr 2486 . . . . . . 7  |-  ( x  =  z  ->  { y  e.  B  |  ph }  =  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph }
)
289, 12, 27cbvmpt 4299 . . . . . 6  |-  ( x  e.  D  |->  { y  e.  B  |  ph } )  =  ( z  e.  D  |->  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph } )
291, 28eqtri 2456 . . . . 5  |-  F  =  ( z  e.  D  |->  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph } )
30 nfv 1629 . . . . . . . 8  |-  F/ x  z  e.  D
3111nfel1 2582 . . . . . . . 8  |-  F/ x [_ z  /  x ]_ B  e.  V
3230, 31nfim 1832 . . . . . . 7  |-  F/ x
( z  e.  D  ->  [_ z  /  x ]_ B  e.  V
)
33 eleq1 2496 . . . . . . . 8  |-  ( x  =  z  ->  (
x  e.  D  <->  z  e.  D ) )
3413eleq1d 2502 . . . . . . . 8  |-  ( x  =  z  ->  ( B  e.  V  <->  [_ z  /  x ]_ B  e.  V
) )
3533, 34imbi12d 312 . . . . . . 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 1968 . . . . . 6  |-  ( z  e.  D  ->  [_ z  /  x ]_ B  e.  V )
38 rabexg 4353 . . . . . 6  |-  ( [_ z  /  x ]_ B  e.  V  ->  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph }  e.  _V )
3937, 38syl 16 . . . . 5  |-  ( z  e.  D  ->  { w  e.  [_ z  /  x ]_ B  |  [. z  /  x ]. [. w  /  y ]. ph }  e.  _V )
408, 29, 39fvmpt3 5808 . . . 4  |-  ( X  e.  D  ->  ( F `  X )  =  { w  e.  [_ X  /  x ]_ B  |  [. X  /  x ]. [. w  /  y ]. ph } )
4140eleq2d 2503 . . 3  |-  ( X  e.  D  ->  ( Y  e.  ( F `  X )  <->  Y  e.  { w  e.  [_ X  /  x ]_ B  |  [. X  /  x ]. [. w  /  y ]. ph } ) )
42 dfsbcq 3163 . . . . . . 7  |-  ( w  =  Y  ->  ( [. w  /  y ]. ph  <->  [. Y  /  y ]. ph ) )
4342sbcbidv 3215 . . . . . 6  |-  ( w  =  Y  ->  ( [. X  /  x ]. [. w  /  y ]. ph  <->  [. X  /  x ]. [. Y  /  y ]. ph ) )
4443elrab 3092 . . . . 5  |-  ( Y  e.  { w  e. 
[_ X  /  x ]_ B  |  [. X  /  x ]. [. w  /  y ]. ph }  <->  ( Y  e.  [_ X  /  x ]_ B  /\  [. X  /  x ]. [. Y  /  y ]. ph ) )
4544a1i 11 . . . 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 2573 . . . . . . 7  |-  ( X  e.  D  ->  F/_ x C )
47 elmptrab.s2 . . . . . . 7  |-  ( x  =  X  ->  B  =  C )
4846, 47csbiegf 3291 . . . . . 6  |-  ( X  e.  D  ->  [_ X  /  x ]_ B  =  C )
4948eleq2d 2503 . . . . 5  |-  ( X  e.  D  ->  ( Y  e.  [_ X  /  x ]_ B  <->  Y  e.  C ) )
5049anbi1d 686 . . . 4  |-  ( X  e.  D  ->  (
( Y  e.  [_ X  /  x ]_ B  /\  [. X  /  x ]. [. Y  /  y ]. ph )  <->  ( Y  e.  C  /\  [. X  /  x ]. [. Y  /  y ]. ph )
) )
51 nfv 1629 . . . . . 6  |-  F/ x ps
52 nfv 1629 . . . . . 6  |-  F/ y ps
53 nfv 1629 . . . . . 6  |-  F/ x  Y  e.  C
54 elmptrab.s1 . . . . . 6  |-  ( ( x  =  X  /\  y  =  Y )  ->  ( ph  <->  ps )
)
5551, 52, 53, 54sbc2iegf 3227 . . . . 5  |-  ( ( X  e.  D  /\  Y  e.  C )  ->  ( [. X  /  x ]. [. Y  / 
y ]. ph  <->  ps )
)
5655pm5.32da 623 . . . 4  |-  ( X  e.  D  ->  (
( Y  e.  C  /\  [. X  /  x ]. [. Y  /  y ]. ph )  <->  ( Y  e.  C  /\  ps )
) )
5745, 50, 563bitrd 271 . . 3  |-  ( X  e.  D  ->  ( Y  e.  { w  e.  [_ X  /  x ]_ B  |  [. X  /  x ]. [. w  /  y ]. ph }  <->  ( Y  e.  C  /\  ps ) ) )
58 3anass 940 . . . 4  |-  ( ( X  e.  D  /\  Y  e.  C  /\  ps )  <->  ( X  e.  D  /\  ( Y  e.  C  /\  ps ) ) )
5958baibr 873 . . 3  |-  ( X  e.  D  ->  (
( Y  e.  C  /\  ps )  <->  ( X  e.  D  /\  Y  e.  C  /\  ps )
) )
6041, 57, 593bitrd 271 . 2  |-  ( X  e.  D  ->  ( Y  e.  ( F `  X )  <->  ( X  e.  D  /\  Y  e.  C  /\  ps )
) )
614, 5, 60pm5.21nii 343 1  |-  ( Y  e.  ( F `  X )  <->  ( X  e.  D  /\  Y  e.  C  /\  ps )
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725   {crab 2709   _Vcvv 2956   [.wsbc 3161   [_csb 3251    e. cmpt 4266   dom cdm 4878   ` cfv 5454
This theorem is referenced by:  elmptrab2  17860  isfbas  17861
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-sep 4330  ax-nul 4338  ax-pow 4377  ax-pr 4403
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-ral 2710  df-rex 2711  df-rab 2714  df-v 2958  df-sbc 3162  df-csb 3252  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-nul 3629  df-if 3740  df-sn 3820  df-pr 3821  df-op 3823  df-uni 4016  df-br 4213  df-opab 4267  df-mpt 4268  df-id 4498  df-xp 4884  df-rel 4885  df-cnv 4886  df-co 4887  df-dm 4888  df-rn 4889  df-res 4890  df-ima 4891  df-iota 5418  df-fun 5456  df-fv 5462
  Copyright terms: Public domain W3C validator