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 35501
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 485 . . . 4 ((𝐵 = 𝐴𝐴𝐶) → 𝐵 = 𝐴)
2 eqeltr 35500 . . . 4 ((𝐵 = 𝐴𝐴𝐶) → 𝐵𝐶)
31, 2jca 514 . . 3 ((𝐵 = 𝐴𝐴𝐶) → (𝐵 = 𝐴𝐵𝐶))
4 eqcom 2828 . . . 4 (𝐵 = 𝐴𝐴 = 𝐵)
54anbi1i 625 . . 3 ((𝐵 = 𝐴𝐴𝐶) ↔ (𝐴 = 𝐵𝐴𝐶))
64anbi1i 625 . . 3 ((𝐵 = 𝐴𝐵𝐶) ↔ (𝐴 = 𝐵𝐵𝐶))
73, 5, 63imtr3i 293 . 2 ((𝐴 = 𝐵𝐴𝐶) → (𝐴 = 𝐵𝐵𝐶))
8 simpl 485 . . 3 ((𝐴 = 𝐵𝐵𝐶) → 𝐴 = 𝐵)
9 eqeltr 35500 . . 3 ((𝐴 = 𝐵𝐵𝐶) → 𝐴𝐶)
108, 9jca 514 . 2 ((𝐴 = 𝐵𝐵𝐶) → (𝐴 = 𝐵𝐴𝐶))
117, 10impbii 211 1 ((𝐴 = 𝐵𝐴𝐶) ↔ (𝐴 = 𝐵𝐵𝐶))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398   = wceq 1533  wcel 2110
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1777  df-cleq 2814  df-clel 2893
This theorem is referenced by:  inxpxrn  35642
  Copyright terms: Public domain W3C validator