MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  eqer Structured version   Visualization version   GIF version

Theorem eqer 8404
Description: Equivalence relation involving equality of dependent classes 𝐴(𝑥) and 𝐵(𝑦). (Contributed by NM, 17-Mar-2008.) (Revised by Mario Carneiro, 12-Aug-2015.) (Proof shortened by AV, 1-May-2021.)
Hypotheses
Ref Expression
eqer.1 (𝑥 = 𝑦𝐴 = 𝐵)
eqer.2 𝑅 = {⟨𝑥, 𝑦⟩ ∣ 𝐴 = 𝐵}
Assertion
Ref Expression
eqer 𝑅 Er V
Distinct variable groups:   𝑥,𝑦   𝑦,𝐴   𝑥,𝐵
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑦)   𝑅(𝑥,𝑦)

Proof of Theorem eqer
Dummy variables 𝑤 𝑧 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqer.2 . . 3 𝑅 = {⟨𝑥, 𝑦⟩ ∣ 𝐴 = 𝐵}
21relopabiv 5675 . 2 Rel 𝑅
3 id 22 . . . 4 (𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴)
43eqcomd 2742 . . 3 (𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑤 / 𝑥𝐴 = 𝑧 / 𝑥𝐴)
5 eqer.1 . . . 4 (𝑥 = 𝑦𝐴 = 𝐵)
65, 1eqerlem 8403 . . 3 (𝑧𝑅𝑤𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴)
75, 1eqerlem 8403 . . 3 (𝑤𝑅𝑧𝑤 / 𝑥𝐴 = 𝑧 / 𝑥𝐴)
84, 6, 73imtr4i 295 . 2 (𝑧𝑅𝑤𝑤𝑅𝑧)
9 eqtr 2756 . . 3 ((𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑤 / 𝑥𝐴 = 𝑣 / 𝑥𝐴) → 𝑧 / 𝑥𝐴 = 𝑣 / 𝑥𝐴)
105, 1eqerlem 8403 . . . 4 (𝑤𝑅𝑣𝑤 / 𝑥𝐴 = 𝑣 / 𝑥𝐴)
116, 10anbi12i 630 . . 3 ((𝑧𝑅𝑤𝑤𝑅𝑣) ↔ (𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑤 / 𝑥𝐴 = 𝑣 / 𝑥𝐴))
125, 1eqerlem 8403 . . 3 (𝑧𝑅𝑣𝑧 / 𝑥𝐴 = 𝑣 / 𝑥𝐴)
139, 11, 123imtr4i 295 . 2 ((𝑧𝑅𝑤𝑤𝑅𝑣) → 𝑧𝑅𝑣)
14 vex 3402 . . 3 𝑧 ∈ V
15 eqid 2736 . . . 4 𝑧 / 𝑥𝐴 = 𝑧 / 𝑥𝐴
165, 1eqerlem 8403 . . . 4 (𝑧𝑅𝑧𝑧 / 𝑥𝐴 = 𝑧 / 𝑥𝐴)
1715, 16mpbir 234 . . 3 𝑧𝑅𝑧
1814, 172th 267 . 2 (𝑧 ∈ V ↔ 𝑧𝑅𝑧)
192, 8, 13, 18iseri 8396 1 𝑅 Er V
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1543  wcel 2112  Vcvv 3398  csb 3798   class class class wbr 5039  {copab 5101   Er wer 8366
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ne 2933  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-sbc 3684  df-csb 3799  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-br 5040  df-opab 5102  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-er 8369
This theorem is referenced by:  ider  8405  frgpuplem  19116  fneer  34228
  Copyright terms: Public domain W3C validator