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

Theorem eqer 8738
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 5798 . 2 Rel 𝑅
3 id 23 . . . 4 (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 → ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴)
43eqcomd 2767 . . 3 (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 → ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
5 eqer.1 . . . 4 (𝑥 = 𝑦 → 𝐴 = 𝐵)
65, 1eqerlem 8737 . . 3 (𝑧𝑅𝑤 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴)
75, 1eqerlem 8737 . . 3 (𝑤𝑅𝑧 ↔ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
84, 6, 73imtr4i 295 . 2 (𝑧𝑅𝑤 → 𝑤𝑅𝑧)
9 eqtr 2781 . . 3 ((⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 ∧ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴) → ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
105, 1eqerlem 8737 . . . 4 (𝑤𝑅𝑣 ↔ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
116, 10anbi12i 640 . . 3 ((𝑧𝑅𝑤 ∧ 𝑤𝑅𝑣) ↔ (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 ∧ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴))
125, 1eqerlem 8737 . . 3 (𝑧𝑅𝑣 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
139, 11, 123imtr4i 295 . 2 ((𝑧𝑅𝑤 ∧ 𝑤𝑅𝑣) → 𝑧𝑅𝑣)
14 vex 3455 . . 3 𝑧 ∈ V
15 eqid 2761 . . . 4 ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴
165, 1eqerlem 8737 . . . 4 (𝑧𝑅𝑧 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
1715, 16mpbir 234 . . 3 𝑧𝑅𝑧
1814, 172th 267 . 2 (𝑧 ∈ V ↔ 𝑧𝑅𝑧)
192, 8, 13, 18iseri 8729 1 𝑅 Er V
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451  ⦋csb 3847   class class class wbr 5103  {copab 5167   Er wer 8698
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-er 8701
This theorem is used by:  ider  8739  frgpuplem  19966  fneer  37111
  Copyright terms: Public domain W3C validator