Users' Mathboxes Mathbox for Peter Mazsa < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eqelb Structured version   Visualization version   GIF version

Theorem eqelb 36382
Description: Substitution of equal classes into elementhood relation. (Contributed by Peter Mazsa, 17-Jul-2019.)
Assertion
Ref Expression
eqelb ((𝐴 = 𝐵𝐴𝐶) ↔ (𝐴 = 𝐵𝐵𝐶))

Proof of Theorem eqelb
StepHypRef Expression
1 simpl 483 . . . 4 ((𝐵 = 𝐴𝐴𝐶) → 𝐵 = 𝐴)
2 eqeltr 36381 . . . 4 ((𝐵 = 𝐴𝐴𝐶) → 𝐵𝐶)
31, 2jca 512 . . 3 ((𝐵 = 𝐴𝐴𝐶) → (𝐵 = 𝐴𝐵𝐶))
4 eqcom 2745 . . . 4 (𝐵 = 𝐴𝐴 = 𝐵)
54anbi1i 624 . . 3 ((𝐵 = 𝐴𝐴𝐶) ↔ (𝐴 = 𝐵𝐴𝐶))
64anbi1i 624 . . 3 ((𝐵 = 𝐴𝐵𝐶) ↔ (𝐴 = 𝐵𝐵𝐶))
73, 5, 63imtr3i 291 . 2 ((𝐴 = 𝐵𝐴𝐶) → (𝐴 = 𝐵𝐵𝐶))
8 simpl 483 . . 3 ((𝐴 = 𝐵𝐵𝐶) → 𝐴 = 𝐵)
9 eqeltr 36381 . . 3 ((𝐴 = 𝐵𝐵𝐶) → 𝐴𝐶)
108, 9jca 512 . 2 ((𝐴 = 𝐵𝐵𝐶) → (𝐴 = 𝐵𝐴𝐶))
117, 10impbii 208 1 ((𝐴 = 𝐵𝐴𝐶) ↔ (𝐴 = 𝐵𝐵𝐶))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396   = wceq 1539  wcel 2106
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-ex 1783  df-cleq 2730  df-clel 2816
This theorem is referenced by:  inxpxrn  36521
  Copyright terms: Public domain W3C validator