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

Theorem dfoprab4f 6178
Description: Operation class abstraction expressed without existential quantifiers. (Unnecessary distinct variable restrictions were removed by David Abernethy, 19-Jun-2012.) (Contributed by NM, 20-Dec-2008.) (Revised by Mario Carneiro, 31-Aug-2015.)
Hypotheses
Ref Expression
dfoprab4f.x  |-  F/ x ph
dfoprab4f.y  |-  F/ y
ph
dfoprab4f.1  |-  ( w  =  <. x ,  y
>.  ->  ( ph  <->  ps )
)
Assertion
Ref Expression
dfoprab4f  |-  { <. w ,  z >.  |  ( w  e.  ( A  X.  B )  /\  ph ) }  =  { <. <. x ,  y
>. ,  z >.  |  ( ( x  e.  A  /\  y  e.  B )  /\  ps ) }
Distinct variable groups:    x, w, y, z    w, A, x, y    w, B, x, y    ps, w
Allowed substitution hints:    ph( x, y, z, w)    ps( x, y, z)    A( z)    B( z)

Proof of Theorem dfoprab4f
Dummy variables  u  t are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfv 1605 . . . . 5  |-  F/ x  w  =  <. t ,  u >.
2 dfoprab4f.x . . . . . 6  |-  F/ x ph
3 nfs1v 2045 . . . . . 6  |-  F/ x [ t  /  x ] [ u  /  y ] ps
42, 3nfbi 1772 . . . . 5  |-  F/ x
( ph  <->  [ t  /  x ] [ u  /  y ] ps )
51, 4nfim 1769 . . . 4  |-  F/ x
( w  =  <. t ,  u >.  ->  ( ph 
<->  [ t  /  x ] [ u  /  y ] ps ) )
6 opeq1 3796 . . . . . 6  |-  ( x  =  t  ->  <. x ,  u >.  =  <. t ,  u >. )
76eqeq2d 2294 . . . . 5  |-  ( x  =  t  ->  (
w  =  <. x ,  u >.  <->  w  =  <. t ,  u >. )
)
8 sbequ12 1860 . . . . . 6  |-  ( x  =  t  ->  ( [ u  /  y ] ps  <->  [ t  /  x ] [ u  /  y ] ps ) )
98bibi2d 309 . . . . 5  |-  ( x  =  t  ->  (
( ph  <->  [ u  /  y ] ps )  <->  ( ph  <->  [ t  /  x ] [ u  /  y ] ps ) ) )
107, 9imbi12d 311 . . . 4  |-  ( x  =  t  ->  (
( w  =  <. x ,  u >.  ->  ( ph 
<->  [ u  /  y ] ps ) )  <->  ( w  =  <. t ,  u >.  ->  ( ph  <->  [ t  /  x ] [ u  /  y ] ps ) ) ) )
11 nfv 1605 . . . . . 6  |-  F/ y  w  =  <. x ,  u >.
12 dfoprab4f.y . . . . . . 7  |-  F/ y
ph
13 nfs1v 2045 . . . . . . 7  |-  F/ y [ u  /  y ] ps
1412, 13nfbi 1772 . . . . . 6  |-  F/ y ( ph  <->  [ u  /  y ] ps )
1511, 14nfim 1769 . . . . 5  |-  F/ y ( w  =  <. x ,  u >.  ->  ( ph 
<->  [ u  /  y ] ps ) )
16 opeq2 3797 . . . . . . 7  |-  ( y  =  u  ->  <. x ,  y >.  =  <. x ,  u >. )
1716eqeq2d 2294 . . . . . 6  |-  ( y  =  u  ->  (
w  =  <. x ,  y >.  <->  w  =  <. x ,  u >. ) )
18 sbequ12 1860 . . . . . . 7  |-  ( y  =  u  ->  ( ps 
<->  [ u  /  y ] ps ) )
1918bibi2d 309 . . . . . 6  |-  ( y  =  u  ->  (
( ph  <->  ps )  <->  ( ph  <->  [ u  /  y ] ps ) ) )
2017, 19imbi12d 311 . . . . 5  |-  ( y  =  u  ->  (
( w  =  <. x ,  y >.  ->  ( ph 
<->  ps ) )  <->  ( w  =  <. x ,  u >.  ->  ( ph  <->  [ u  /  y ] ps ) ) ) )
21 dfoprab4f.1 . . . . 5  |-  ( w  =  <. x ,  y
>.  ->  ( ph  <->  ps )
)
2215, 20, 21chvar 1926 . . . 4  |-  ( w  =  <. x ,  u >.  ->  ( ph  <->  [ u  /  y ] ps ) )
235, 10, 22chvar 1926 . . 3  |-  ( w  =  <. t ,  u >.  ->  ( ph  <->  [ t  /  x ] [ u  /  y ] ps ) )
2423dfoprab4 6177 . 2  |-  { <. w ,  z >.  |  ( w  e.  ( A  X.  B )  /\  ph ) }  =  { <. <. t ,  u >. ,  z >.  |  ( ( t  e.  A  /\  u  e.  B
)  /\  [ t  /  x ] [ u  /  y ] ps ) }
25 nfv 1605 . . 3  |-  F/ t ( ( x  e.  A  /\  y  e.  B )  /\  ps )
26 nfv 1605 . . 3  |-  F/ u
( ( x  e.  A  /\  y  e.  B )  /\  ps )
27 nfv 1605 . . . 4  |-  F/ x
( t  e.  A  /\  u  e.  B
)
2827, 3nfan 1771 . . 3  |-  F/ x
( ( t  e.  A  /\  u  e.  B )  /\  [
t  /  x ] [ u  /  y ] ps )
29 nfv 1605 . . . 4  |-  F/ y ( t  e.  A  /\  u  e.  B
)
3013nfsb 2048 . . . 4  |-  F/ y [ t  /  x ] [ u  /  y ] ps
3129, 30nfan 1771 . . 3  |-  F/ y ( ( t  e.  A  /\  u  e.  B )  /\  [
t  /  x ] [ u  /  y ] ps )
32 eleq1 2343 . . . . 5  |-  ( x  =  t  ->  (
x  e.  A  <->  t  e.  A ) )
33 eleq1 2343 . . . . 5  |-  ( y  =  u  ->  (
y  e.  B  <->  u  e.  B ) )
3432, 33bi2anan9 843 . . . 4  |-  ( ( x  =  t  /\  y  =  u )  ->  ( ( x  e.  A  /\  y  e.  B )  <->  ( t  e.  A  /\  u  e.  B ) ) )
3518, 8sylan9bbr 681 . . . 4  |-  ( ( x  =  t  /\  y  =  u )  ->  ( ps  <->  [ t  /  x ] [ u  /  y ] ps ) )
3634, 35anbi12d 691 . . 3  |-  ( ( x  =  t  /\  y  =  u )  ->  ( ( ( x  e.  A  /\  y  e.  B )  /\  ps ) 
<->  ( ( t  e.  A  /\  u  e.  B )  /\  [
t  /  x ] [ u  /  y ] ps ) ) )
3725, 26, 28, 31, 36cbvoprab12 5920 . 2  |-  { <. <.
x ,  y >. ,  z >.  |  ( ( x  e.  A  /\  y  e.  B
)  /\  ps ) }  =  { <. <. t ,  u >. ,  z >.  |  ( ( t  e.  A  /\  u  e.  B )  /\  [
t  /  x ] [ u  /  y ] ps ) }
3824, 37eqtr4i 2306 1  |-  { <. w ,  z >.  |  ( w  e.  ( A  X.  B )  /\  ph ) }  =  { <. <. x ,  y
>. ,  z >.  |  ( ( x  e.  A  /\  y  e.  B )  /\  ps ) }
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358   F/wnf 1531    = wceq 1623   [wsb 1629    e. wcel 1684   <.cop 3643   {copab 4076    X. cxp 4687   {coprab 5859
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-iota 5219  df-fun 5257  df-fv 5263  df-oprab 5862  df-1st 6122  df-2nd 6123
  Copyright terms: Public domain W3C validator