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

Theorem eqer 8802
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 𝑅 = {⟨𝑥, 𝑦⟩ ∣ 𝐴 = 𝐵}
21relopabi 5812 . 2 Rel 𝑅
3 id 23 . . . 4 (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 → ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴)
43eqcomd 2775 . . 3 (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 → ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
5 eqer.1 . . . 4 (𝑥 = 𝑦 → 𝐴 = 𝐵)
65, 1eqerlem 8801 . . 3 (𝑧𝑅𝑤 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴)
75, 1eqerlem 8801 . . 3 (𝑤𝑅𝑧 ↔ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
84, 6, 73imtr4i 295 . 2 (𝑧𝑅𝑤 → 𝑤𝑅𝑧)
9 eqtr 2789 . . 3 ((⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 ∧ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴) → ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
105, 1eqerlem 8801 . . . 4 (𝑤𝑅𝑣 ↔ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
116, 10anbi12i 640 . . 3 ((𝑧𝑅𝑤 ∧ 𝑤𝑅𝑣) ↔ (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 ∧ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴))
125, 1eqerlem 8801 . . 3 (𝑧𝑅𝑣 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
139, 11, 123imtr4i 295 . 2 ((𝑧𝑅𝑤 ∧ 𝑤𝑅𝑣) → 𝑧𝑅𝑣)
14 vex 3460 . . 3 𝑧 ∈ V
15 eqid 2769 . . . 4 ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴
165, 1eqerlem 8801 . . . 4 (𝑧𝑅𝑧 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
1715, 16mpbir 234 . . 3 𝑧𝑅𝑧
1814, 172th 267 . 2 (𝑧 ∈ V ↔ 𝑧𝑅𝑧)
192, 8, 13, 18iseri 8793 1 𝑅 Er V
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  Vcvv 3456  ⦋csb 3853   class class class wbr 5111  {copab 5176   Er wer 8762
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401
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 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-er 8765
This theorem is used by:  ider  8803  frgpuplem  20054  fneer  37381
  Copyright terms: Public domain W3C validator