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

Theorem subtr 28514
Description: Transitivity of implicit substitution. (Contributed by Jeff Hankins, 13-Sep-2009.) (Proof shortened by Mario Carneiro, 11-Dec-2016.)
Hypotheses
Ref Expression
subtr.1  |-  F/_ x A
subtr.2  |-  F/_ x B
subtr.3  |-  F/_ x Y
subtr.4  |-  F/_ x Z
subtr.5  |-  ( x  =  A  ->  X  =  Y )
subtr.6  |-  ( x  =  B  ->  X  =  Z )
Assertion
Ref Expression
subtr  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( A  =  B  ->  Y  =  Z ) )

Proof of Theorem subtr
StepHypRef Expression
1 subtr.1 . . 3  |-  F/_ x A
2 subtr.2 . . . . 5  |-  F/_ x B
31, 2nfeq 2591 . . . 4  |-  F/ x  A  =  B
4 subtr.3 . . . . 5  |-  F/_ x Y
5 subtr.4 . . . . 5  |-  F/_ x Z
64, 5nfeq 2591 . . . 4  |-  F/ x  Y  =  Z
73, 6nfim 1853 . . 3  |-  F/ x
( A  =  B  ->  Y  =  Z )
8 eqeq1 2449 . . . 4  |-  ( x  =  A  ->  (
x  =  B  <->  A  =  B ) )
9 subtr.5 . . . . 5  |-  ( x  =  A  ->  X  =  Y )
109eqeq1d 2451 . . . 4  |-  ( x  =  A  ->  ( X  =  Z  <->  Y  =  Z ) )
118, 10imbi12d 320 . . 3  |-  ( x  =  A  ->  (
( x  =  B  ->  X  =  Z )  <->  ( A  =  B  ->  Y  =  Z ) ) )
12 subtr.6 . . 3  |-  ( x  =  B  ->  X  =  Z )
131, 7, 11, 12vtoclgf 3033 . 2  |-  ( A  e.  C  ->  ( A  =  B  ->  Y  =  Z ) )
1413adantr 465 1  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( A  =  B  ->  Y  =  Z ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1369    e. wcel 1756   F/_wnfc 2571
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-or 370  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 2573  df-v 2979
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator