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

Theorem eqer 8757
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 5797 . 2 Rel 𝑅
3 id 23 . . . 4 (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 → ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴)
43eqcomd 2766 . . 3 (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 → ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
5 eqer.1 . . . 4 (𝑥 = 𝑦 → 𝐴 = 𝐵)
65, 1eqerlem 8756 . . 3 (𝑧𝑅𝑤 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴)
75, 1eqerlem 8756 . . 3 (𝑤𝑅𝑧 ↔ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
84, 6, 73imtr4i 295 . 2 (𝑧𝑅𝑤 → 𝑤𝑅𝑧)
9 eqtr 2780 . . 3 ((⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 ∧ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴) → ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
105, 1eqerlem 8756 . . . 4 (𝑤𝑅𝑣 ↔ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
116, 10anbi12i 640 . . 3 ((𝑧𝑅𝑤 ∧ 𝑤𝑅𝑣) ↔ (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 ∧ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴))
125, 1eqerlem 8756 . . 3 (𝑧𝑅𝑣 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
139, 11, 123imtr4i 295 . 2 ((𝑧𝑅𝑤 ∧ 𝑤𝑅𝑣) → 𝑧𝑅𝑣)
14 vex 3454 . . 3 𝑧 ∈ V
15 eqid 2760 . . . 4 ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴
165, 1eqerlem 8756 . . . 4 (𝑧𝑅𝑧 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
1715, 16mpbir 234 . . 3 𝑧𝑅𝑧
1814, 172th 267 . 2 (𝑧 ∈ V ↔ 𝑧𝑅𝑧)
192, 8, 13, 18iseri 8748 1 𝑅 Er V
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ⦋csb 3846   class class class wbr 5102  {copab 5166   Er wer 8717
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-er 8720
This theorem is used by:  ider  8758  frgpuplem  19991  fneer  37233
  Copyright terms: Public domain W3C validator