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

Theorem eqer 8533
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 5730 . 2 Rel 𝑅
3 id 22 . . . 4 (𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴)
43eqcomd 2744 . . 3 (𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑤 / 𝑥𝐴 = 𝑧 / 𝑥𝐴)
5 eqer.1 . . . 4 (𝑥 = 𝑦𝐴 = 𝐵)
65, 1eqerlem 8532 . . 3 (𝑧𝑅𝑤𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴)
75, 1eqerlem 8532 . . 3 (𝑤𝑅𝑧𝑤 / 𝑥𝐴 = 𝑧 / 𝑥𝐴)
84, 6, 73imtr4i 292 . 2 (𝑧𝑅𝑤𝑤𝑅𝑧)
9 eqtr 2761 . . 3 ((𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑤 / 𝑥𝐴 = 𝑣 / 𝑥𝐴) → 𝑧 / 𝑥𝐴 = 𝑣 / 𝑥𝐴)
105, 1eqerlem 8532 . . . 4 (𝑤𝑅𝑣𝑤 / 𝑥𝐴 = 𝑣 / 𝑥𝐴)
116, 10anbi12i 627 . . 3 ((𝑧𝑅𝑤𝑤𝑅𝑣) ↔ (𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑤 / 𝑥𝐴 = 𝑣 / 𝑥𝐴))
125, 1eqerlem 8532 . . 3 (𝑧𝑅𝑣𝑧 / 𝑥𝐴 = 𝑣 / 𝑥𝐴)
139, 11, 123imtr4i 292 . 2 ((𝑧𝑅𝑤𝑤𝑅𝑣) → 𝑧𝑅𝑣)
14 vex 3436 . . 3 𝑧 ∈ V
15 eqid 2738 . . . 4 𝑧 / 𝑥𝐴 = 𝑧 / 𝑥𝐴
165, 1eqerlem 8532 . . . 4 (𝑧𝑅𝑧𝑧 / 𝑥𝐴 = 𝑧 / 𝑥𝐴)
1715, 16mpbir 230 . . 3 𝑧𝑅𝑧
1814, 172th 263 . 2 (𝑧 ∈ V ↔ 𝑧𝑅𝑧)
192, 8, 13, 18iseri 8525 1 𝑅 Er V
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  Vcvv 3432  csb 3832   class class class wbr 5074  {copab 5136   Er wer 8495
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-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-er 8498
This theorem is referenced by:  ider  8534  frgpuplem  19378  fneer  34542
  Copyright terms: Public domain W3C validator