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

Theorem subtr2 28522
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 2599 . . . 4  |-  F/ x  A  =  B
4 subtr2.3 . . . . 5  |-  F/ x ps
5 subtr2.4 . . . . 5  |-  F/ x ch
64, 5nfbi 1867 . . . 4  |-  F/ x
( ps  <->  ch )
73, 6nfim 1853 . . 3  |-  F/ x
( A  =  B  ->  ( ps  <->  ch )
)
8 eqeq1 2449 . . . 4  |-  ( x  =  A  ->  (
x  =  B  <->  A  =  B ) )
9 subtr2.5 . . . . 5  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
109bibi1d 319 . . . 4  |-  ( x  =  A  ->  (
( ph  <->  ch )  <->  ( ps  <->  ch ) ) )
118, 10imbi12d 320 . . 3  |-  ( x  =  A  ->  (
( x  =  B  ->  ( ph  <->  ch )
)  <->  ( A  =  B  ->  ( ps  <->  ch ) ) ) )
12 subtr2.6 . . 3  |-  ( x  =  B  ->  ( ph 
<->  ch ) )
131, 7, 11, 12vtoclgf 3040 . 2  |-  ( A  e.  C  ->  ( A  =  B  ->  ( ps  <->  ch ) ) )
1413adantr 465 1  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( A  =  B  ->  ( ps  <->  ch )
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369   F/wnf 1589    e. wcel 1756   F/_wnfc 2575
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423
This theorem depends on definitions:  df-bi 185  df-an 371  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2577  df-v 2986
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator