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

Theorem eqer 8508
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 5728 . 2 Rel 𝑅
3 id 22 . . . 4 (𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴)
43eqcomd 2746 . . 3 (𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑤 / 𝑥𝐴 = 𝑧 / 𝑥𝐴)
5 eqer.1 . . . 4 (𝑥 = 𝑦𝐴 = 𝐵)
65, 1eqerlem 8507 . . 3 (𝑧𝑅𝑤𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴)
75, 1eqerlem 8507 . . 3 (𝑤𝑅𝑧𝑤 / 𝑥𝐴 = 𝑧 / 𝑥𝐴)
84, 6, 73imtr4i 292 . 2 (𝑧𝑅𝑤𝑤𝑅𝑧)
9 eqtr 2763 . . 3 ((𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑤 / 𝑥𝐴 = 𝑣 / 𝑥𝐴) → 𝑧 / 𝑥𝐴 = 𝑣 / 𝑥𝐴)
105, 1eqerlem 8507 . . . 4 (𝑤𝑅𝑣𝑤 / 𝑥𝐴 = 𝑣 / 𝑥𝐴)
116, 10anbi12i 627 . . 3 ((𝑧𝑅𝑤𝑤𝑅𝑣) ↔ (𝑧 / 𝑥𝐴 = 𝑤 / 𝑥𝐴𝑤 / 𝑥𝐴 = 𝑣 / 𝑥𝐴))
125, 1eqerlem 8507 . . 3 (𝑧𝑅𝑣𝑧 / 𝑥𝐴 = 𝑣 / 𝑥𝐴)
139, 11, 123imtr4i 292 . 2 ((𝑧𝑅𝑤𝑤𝑅𝑣) → 𝑧𝑅𝑣)
14 vex 3435 . . 3 𝑧 ∈ V
15 eqid 2740 . . . 4 𝑧 / 𝑥𝐴 = 𝑧 / 𝑥𝐴
165, 1eqerlem 8507 . . . 4 (𝑧𝑅𝑧𝑧 / 𝑥𝐴 = 𝑧 / 𝑥𝐴)
1715, 16mpbir 230 . . 3 𝑧𝑅𝑧
1814, 172th 263 . 2 (𝑧 ∈ V ↔ 𝑧𝑅𝑧)
192, 8, 13, 18iseri 8500 1 𝑅 Er V
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1542  wcel 2110  Vcvv 3431  csb 3837   class class class wbr 5079  {copab 5141   Er wer 8470
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pr 5356
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4568  df-pr 4570  df-op 4574  df-br 5080  df-opab 5142  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-er 8473
This theorem is referenced by:  ider  8509  frgpuplem  19368  fneer  34530
  Copyright terms: Public domain W3C validator