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

Theorem subtr 37310
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 Ⅎ𝑥𝐴
subtr.2 Ⅎ𝑥𝐵
subtr.3 Ⅎ𝑥𝑌
subtr.4 Ⅎ𝑥𝑍
subtr.5 (𝑥 = 𝐴 → 𝑋 = 𝑌)
subtr.6 (𝑥 = 𝐵 → 𝑋 = 𝑍)
Assertion
Ref Expression
subtr ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (𝐴 = 𝐵 → 𝑌 = 𝑍))

Proof of Theorem subtr
StepHypRef Expression
1 subtr.1 . . 3 Ⅎ𝑥𝐴
2 subtr.2 . . . . 5 Ⅎ𝑥𝐵
31, 2nfeq 2939 . . . 4 Ⅎ𝑥 𝐴 = 𝐵
4 subtr.3 . . . . 5 Ⅎ𝑥𝑌
5 subtr.4 . . . . 5 Ⅎ𝑥𝑍
64, 5nfeq 2939 . . . 4 Ⅎ𝑥 𝑌 = 𝑍
73, 6nfim 1931 . . 3 Ⅎ𝑥(𝐴 = 𝐵 → 𝑌 = 𝑍)
8 eqeq1 2767 . . . 4 (𝑥 = 𝐴 → (𝑥 = 𝐵 ↔ 𝐴 = 𝐵))
9 subtr.5 . . . . 5 (𝑥 = 𝐴 → 𝑋 = 𝑌)
109eqeq1d 2765 . . . 4 (𝑥 = 𝐴 → (𝑋 = 𝑍 ↔ 𝑌 = 𝑍))
118, 10imbi12d 347 . . 3 (𝑥 = 𝐴 → ((𝑥 = 𝐵 → 𝑋 = 𝑍) ↔ (𝐴 = 𝐵 → 𝑌 = 𝑍)))
12 subtr.6 . . 3 (𝑥 = 𝐵 → 𝑋 = 𝑍)
131, 7, 11, 12vtoclgf 3533 . 2 (𝐴 ∈ 𝐶 → (𝐴 = 𝐵 → 𝑌 = 𝑍))
1413adantr 486 1 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (𝐴 = 𝐵 → 𝑌 = 𝑍))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Ⅎwnfc 2911
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-v 3456
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator