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

Theorem sbralie 2777
Description: Implicit to explicit substitution that swaps variables in a quantified expression. (Contributed by NM, 5-Sep-2004.)
Hypothesis
Ref Expression
sbralie.1  |-  ( x  =  y  ->  ( ph 
<->  ps ) )
Assertion
Ref Expression
sbralie  |-  ( [ x  /  y ] A. x  e.  y 
ph 
<-> 
A. y  e.  x  ps )
Distinct variable groups:    x, y    ph, y    ps, x
Allowed substitution hints:    ph( x)    ps( y)

Proof of Theorem sbralie
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 cbvralsv 2775 . . . 4  |-  ( A. x  e.  y  ph  <->  A. z  e.  y  [
z  /  x ] ph )
21sbbii 1634 . . 3  |-  ( [ x  /  y ] A. x  e.  y 
ph 
<->  [ x  /  y ] A. z  e.  y  [ z  /  x ] ph )
3 nfv 1605 . . . 4  |-  F/ y A. z  e.  x  [ z  /  x ] ph
4 raleq 2736 . . . 4  |-  ( y  =  x  ->  ( A. z  e.  y  [ z  /  x ] ph  <->  A. z  e.  x  [ z  /  x ] ph ) )
53, 4sbie 1978 . . 3  |-  ( [ x  /  y ] A. z  e.  y  [ z  /  x ] ph  <->  A. z  e.  x  [ z  /  x ] ph )
62, 5bitri 240 . 2  |-  ( [ x  /  y ] A. x  e.  y 
ph 
<-> 
A. z  e.  x  [ z  /  x ] ph )
7 cbvralsv 2775 . . 3  |-  ( A. z  e.  x  [
z  /  x ] ph 
<-> 
A. y  e.  x  [ y  /  z ] [ z  /  x ] ph )
8 nfv 1605 . . . . . 6  |-  F/ z
ph
98sbco2 2026 . . . . 5  |-  ( [ y  /  z ] [ z  /  x ] ph  <->  [ y  /  x ] ph )
10 nfv 1605 . . . . . 6  |-  F/ x ps
11 sbralie.1 . . . . . 6  |-  ( x  =  y  ->  ( ph 
<->  ps ) )
1210, 11sbie 1978 . . . . 5  |-  ( [ y  /  x ] ph 
<->  ps )
139, 12bitri 240 . . . 4  |-  ( [ y  /  z ] [ z  /  x ] ph  <->  ps )
1413ralbii 2567 . . 3  |-  ( A. y  e.  x  [
y  /  z ] [ z  /  x ] ph  <->  A. y  e.  x  ps )
157, 14bitri 240 . 2  |-  ( A. z  e.  x  [
z  /  x ] ph 
<-> 
A. y  e.  x  ps )
166, 15bitri 240 1  |-  ( [ x  /  y ] A. x  e.  y 
ph 
<-> 
A. y  e.  x  ps )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176   [wsb 1629   A.wral 2543
This theorem is referenced by:  tfinds2  4654
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-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ral 2548
  Copyright terms: Public domain W3C validator