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 39539
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 488 . . . 4 ((𝐵 = 𝐴 ∧ 𝐴𝑅𝐶) → 𝐵 = 𝐴)
2 eqbrtr 39538 . . . 4 ((𝐵 = 𝐴 ∧ 𝐴𝑅𝐶) → 𝐵𝑅𝐶)
31, 2jca 521 . . 3 ((𝐵 = 𝐴 ∧ 𝐴𝑅𝐶) → (𝐵 = 𝐴 ∧ 𝐵𝑅𝐶))
4 eqcom 2781 . . . 4 (𝐵 = 𝐴 ↔ 𝐴 = 𝐵)
54anbi1i 636 . . 3 ((𝐵 = 𝐴 ∧ 𝐴𝑅𝐶) ↔ (𝐴 = 𝐵 ∧ 𝐴𝑅𝐶))
64anbi1i 636 . . 3 ((𝐵 = 𝐴 ∧ 𝐵𝑅𝐶) ↔ (𝐴 = 𝐵 ∧ 𝐵𝑅𝐶))
73, 5, 63imtr3i 294 . 2 ((𝐴 = 𝐵 ∧ 𝐴𝑅𝐶) → (𝐴 = 𝐵 ∧ 𝐵𝑅𝐶))
8 simpl 488 . . 3 ((𝐴 = 𝐵 ∧ 𝐵𝑅𝐶) → 𝐴 = 𝐵)
9 eqbrtr 39538 . . 3 ((𝐴 = 𝐵 ∧ 𝐵𝑅𝐶) → 𝐴𝑅𝐶)
108, 9jca 521 . 2 ((𝐴 = 𝐵 ∧ 𝐵𝑅𝐶) → (𝐴 = 𝐵 ∧ 𝐴𝑅𝐶))
117, 10impbii 212 1 ((𝐴 = 𝐵 ∧ 𝐴𝑅𝐶) ↔ (𝐴 = 𝐵 ∧ 𝐵𝑅𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1572   class class class wbr 5116
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-br 5117
This theorem is used by:  ressn2  39832  trressn  39835
  Copyright terms: Public domain W3C validator