Users' Mathboxes Mathbox for Jeff Hankins < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  subtr2 Structured version   Unicode version

Theorem subtr2 26319
Description: Transitivity of implicit substitution into a wff. (Contributed by Jeff Hankins, 19-Sep-2009.) (Proof shortened by Mario Carneiro, 11-Dec-2016.)
Hypotheses
Ref Expression
subtr.1  |-  F/_ x A
subtr.2  |-  F/_ x B
subtr2.3  |-  F/ x ps
subtr2.4  |-  F/ x ch
subtr2.5  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
subtr2.6  |-  ( x  =  B  ->  ( ph 
<->  ch ) )
Assertion
Ref Expression
subtr2  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( A  =  B  ->  ( ps  <->  ch )
) )

Proof of Theorem subtr2
StepHypRef Expression
1 subtr.1 . . 3  |-  F/_ x A
2 subtr.2 . . . . 5  |-  F/_ x B
31, 2nfeq 2580 . . . 4  |-  F/ x  A  =  B
4 subtr2.3 . . . . 5  |-  F/ x ps
5 subtr2.4 . . . . 5  |-  F/ x ch
64, 5nfbi 1857 . . . 4  |-  F/ x
( ps  <->  ch )
73, 6nfim 1833 . . 3  |-  F/ x
( A  =  B  ->  ( ps  <->  ch )
)
8 eqeq1 2443 . . . 4  |-  ( x  =  A  ->  (
x  =  B  <->  A  =  B ) )
9 subtr2.5 . . . . 5  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
109bibi1d 312 . . . 4  |-  ( x  =  A  ->  (
( ph  <->  ch )  <->  ( ps  <->  ch ) ) )
118, 10imbi12d 313 . . 3  |-  ( x  =  A  ->  (
( x  =  B  ->  ( ph  <->  ch )
)  <->  ( A  =  B  ->  ( ps  <->  ch ) ) ) )
12 subtr2.6 . . 3  |-  ( x  =  B  ->  ( ph 
<->  ch ) )
131, 7, 11, 12vtoclgf 3011 . 2  |-  ( A  e.  C  ->  ( A  =  B  ->  ( ps  <->  ch ) ) )
1413adantr 453 1  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( A  =  B  ->  ( ps  <->  ch )
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 178    /\ wa 360   F/wnf 1554    = wceq 1653    e. wcel 1726   F/_wnfc 2560
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2418
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-clab 2424  df-cleq 2430  df-clel 2433  df-nfc 2562  df-v 2959
  Copyright terms: Public domain W3C validator