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

Theorem sbcralt 3397
Description: Interchange class substitution and restricted quantifier. (Contributed by NM, 1-Mar-2008.) (Revised by David Abernethy, 22-Feb-2010.)
Assertion
Ref Expression
sbcralt  |-  ( ( A  e.  V  /\  F/_ y A )  -> 
( [. A  /  x ]. A. y  e.  B  ph  <->  A. y  e.  B  [. A  /  x ]. ph )
)
Distinct variable groups:    x, y    x, B
Allowed substitution hints:    ph( x, y)    A( x, y)    B( y)    V( x, y)

Proof of Theorem sbcralt
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 sbcco 3347 . 2  |-  ( [. A  /  z ]. [. z  /  x ]. A. y  e.  B  ph  <->  [. A  /  x ]. A. y  e.  B  ph )
2 simpl 455 . . 3  |-  ( ( A  e.  V  /\  F/_ y A )  ->  A  e.  V )
3 sbsbc 3328 . . . . 5  |-  ( [ z  /  x ] A. y  e.  B  ph  <->  [. z  /  x ]. A. y  e.  B  ph )
4 nfcv 2616 . . . . . . 7  |-  F/_ x B
5 nfs1v 2183 . . . . . . 7  |-  F/ x [ z  /  x ] ph
64, 5nfral 2840 . . . . . 6  |-  F/ x A. y  e.  B  [ z  /  x ] ph
7 sbequ12 1997 . . . . . . 7  |-  ( x  =  z  ->  ( ph 
<->  [ z  /  x ] ph ) )
87ralbidv 2893 . . . . . 6  |-  ( x  =  z  ->  ( A. y  e.  B  ph  <->  A. y  e.  B  [
z  /  x ] ph ) )
96, 8sbie 2151 . . . . 5  |-  ( [ z  /  x ] A. y  e.  B  ph  <->  A. y  e.  B  [
z  /  x ] ph )
103, 9bitr3i 251 . . . 4  |-  ( [. z  /  x ]. A. y  e.  B  ph  <->  A. y  e.  B  [ z  /  x ] ph )
11 nfnfc1 2619 . . . . . . 7  |-  F/ y
F/_ y A
12 nfcvd 2617 . . . . . . . 8  |-  ( F/_ y A  ->  F/_ y
z )
13 id 22 . . . . . . . 8  |-  ( F/_ y A  ->  F/_ y A )
1412, 13nfeqd 2623 . . . . . . 7  |-  ( F/_ y A  ->  F/ y  z  =  A )
1511, 14nfan1 1932 . . . . . 6  |-  F/ y ( F/_ y A  /\  z  =  A )
16 dfsbcq2 3327 . . . . . . 7  |-  ( z  =  A  ->  ( [ z  /  x ] ph  <->  [. A  /  x ]. ph ) )
1716adantl 464 . . . . . 6  |-  ( (
F/_ y A  /\  z  =  A )  ->  ( [ z  /  x ] ph  <->  [. A  /  x ]. ph ) )
1815, 17ralbid 2888 . . . . 5  |-  ( (
F/_ y A  /\  z  =  A )  ->  ( A. y  e.  B  [ z  /  x ] ph  <->  A. y  e.  B  [. A  /  x ]. ph ) )
1918adantll 711 . . . 4  |-  ( ( ( A  e.  V  /\  F/_ y A )  /\  z  =  A )  ->  ( A. y  e.  B  [
z  /  x ] ph 
<-> 
A. y  e.  B  [. A  /  x ]. ph ) )
2010, 19syl5bb 257 . . 3  |-  ( ( ( A  e.  V  /\  F/_ y A )  /\  z  =  A )  ->  ( [. z  /  x ]. A. y  e.  B  ph  <->  A. y  e.  B  [. A  /  x ]. ph ) )
212, 20sbcied 3361 . 2  |-  ( ( A  e.  V  /\  F/_ y A )  -> 
( [. A  /  z ]. [. z  /  x ]. A. y  e.  B  ph  <->  A. y  e.  B  [. A  /  x ]. ph )
)
221, 21syl5bbr 259 1  |-  ( ( A  e.  V  /\  F/_ y A )  -> 
( [. A  /  x ]. A. y  e.  B  ph  <->  A. y  e.  B  [. A  /  x ]. ph )
)
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 367    = wceq 1398   [wsb 1744    e. wcel 1823   F/_wnfc 2602   A.wral 2804   [.wsbc 3324
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1623  ax-4 1636  ax-5 1709  ax-6 1752  ax-7 1795  ax-10 1842  ax-11 1847  ax-12 1859  ax-13 2004  ax-ext 2432
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3an 973  df-tru 1401  df-ex 1618  df-nf 1622  df-sb 1745  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ral 2809  df-v 3108  df-sbc 3325
This theorem is referenced by:  sbcrext  3398  sbcralg  3399
  Copyright terms: Public domain W3C validator