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

Theorem eqbrb 38188
Description: Substitution of equal classes in a binary relation. (Contributed by Peter Mazsa, 14-Jun-2024.)
Assertion
Ref Expression
eqbrb ((𝐴 = 𝐵𝐴𝑅𝐶) ↔ (𝐴 = 𝐵𝐵𝑅𝐶))

Proof of Theorem eqbrb
StepHypRef Expression
1 simpl 482 . . . 4 ((𝐵 = 𝐴𝐴𝑅𝐶) → 𝐵 = 𝐴)
2 eqbrtr 38187 . . . 4 ((𝐵 = 𝐴𝐴𝑅𝐶) → 𝐵𝑅𝐶)
31, 2jca 511 . . 3 ((𝐵 = 𝐴𝐴𝑅𝐶) → (𝐵 = 𝐴𝐵𝑅𝐶))
4 eqcom 2747 . . . 4 (𝐵 = 𝐴𝐴 = 𝐵)
54anbi1i 623 . . 3 ((𝐵 = 𝐴𝐴𝑅𝐶) ↔ (𝐴 = 𝐵𝐴𝑅𝐶))
64anbi1i 623 . . 3 ((𝐵 = 𝐴𝐵𝑅𝐶) ↔ (𝐴 = 𝐵𝐵𝑅𝐶))
73, 5, 63imtr3i 291 . 2 ((𝐴 = 𝐵𝐴𝑅𝐶) → (𝐴 = 𝐵𝐵𝑅𝐶))
8 simpl 482 . . 3 ((𝐴 = 𝐵𝐵𝑅𝐶) → 𝐴 = 𝐵)
9 eqbrtr 38187 . . 3 ((𝐴 = 𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)
108, 9jca 511 . 2 ((𝐴 = 𝐵𝐵𝑅𝐶) → (𝐴 = 𝐵𝐴𝑅𝐶))
117, 10impbii 209 1 ((𝐴 = 𝐵𝐴𝑅𝐶) ↔ (𝐴 = 𝐵𝐵𝑅𝐶))
Colors of variables: wff setvar class
Syntax hints:  wb 206  wa 395   = wceq 1537   class class class wbr 5166
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2711
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-br 5167
This theorem is referenced by:  ressn2  38398  trressn  38401
  Copyright terms: Public domain W3C validator