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

Theorem subtr2 37083
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 Ⅎ𝑥𝐴
subtr.2 Ⅎ𝑥𝐵
subtr2.3 Ⅎ𝑥𝜓
subtr2.4 Ⅎ𝑥𝜒
subtr2.5 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
subtr2.6 (𝑥 = 𝐵 → (𝜑 ↔ 𝜒))
Assertion
Ref Expression
subtr2 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (𝐴 = 𝐵 → (𝜓 ↔ 𝜒)))

Proof of Theorem subtr2
StepHypRef Expression
1 subtr.1 . . 3 Ⅎ𝑥𝐴
2 subtr.2 . . . . 5 Ⅎ𝑥𝐵
31, 2nfeq 2936 . . . 4 Ⅎ𝑥 𝐴 = 𝐵
4 subtr2.3 . . . . 5 Ⅎ𝑥𝜓
5 subtr2.4 . . . . 5 Ⅎ𝑥𝜒
64, 5nfbi 1936 . . . 4 Ⅎ𝑥(𝜓 ↔ 𝜒)
73, 6nfim 1929 . . 3 Ⅎ𝑥(𝐴 = 𝐵 → (𝜓 ↔ 𝜒))
8 eqeq1 2765 . . . 4 (𝑥 = 𝐴 → (𝑥 = 𝐵 ↔ 𝐴 = 𝐵))
9 subtr2.5 . . . . 5 (𝑥 = 𝐴 → (𝜑 ↔ 𝜓))
109bibi1d 346 . . . 4 (𝑥 = 𝐴 → ((𝜑 ↔ 𝜒) ↔ (𝜓 ↔ 𝜒)))
118, 10imbi12d 347 . . 3 (𝑥 = 𝐴 → ((𝑥 = 𝐵 → (𝜑 ↔ 𝜒)) ↔ (𝐴 = 𝐵 → (𝜓 ↔ 𝜒))))
12 subtr2.6 . . 3 (𝑥 = 𝐵 → (𝜑 ↔ 𝜒))
131, 7, 11, 12vtoclgf 3530 . 2 (𝐴 ∈ 𝐶 → (𝐴 = 𝐵 → (𝜓 ↔ 𝜒)))
1413adantr 486 1 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (𝐴 = 𝐵 → (𝜓 ↔ 𝜒)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  Ⅎwnf 1816   ∈ wcel 2145  Ⅎwnfc 2908
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
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 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-v 3453
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator