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

Theorem eqer 8782
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 5805 . 2 Rel 𝑅
3 id 23 . . . 4 (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 → ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴)
43eqcomd 2769 . . 3 (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 → ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
5 eqer.1 . . . 4 (𝑥 = 𝑦 → 𝐴 = 𝐵)
65, 1eqerlem 8781 . . 3 (𝑧𝑅𝑤 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴)
75, 1eqerlem 8781 . . 3 (𝑤𝑅𝑧 ↔ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
84, 6, 73imtr4i 295 . 2 (𝑧𝑅𝑤 → 𝑤𝑅𝑧)
9 eqtr 2783 . . 3 ((⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 ∧ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴) → ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
105, 1eqerlem 8781 . . . 4 (𝑤𝑅𝑣 ↔ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
116, 10anbi12i 640 . . 3 ((𝑧𝑅𝑤 ∧ 𝑤𝑅𝑣) ↔ (⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑤 / 𝑥⦌𝐴 ∧ ⦋𝑤 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴))
125, 1eqerlem 8781 . . 3 (𝑧𝑅𝑣 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑣 / 𝑥⦌𝐴)
139, 11, 123imtr4i 295 . 2 ((𝑧𝑅𝑤 ∧ 𝑤𝑅𝑣) → 𝑧𝑅𝑣)
14 vex 3458 . . 3 𝑧 ∈ V
15 eqid 2763 . . . 4 ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴
165, 1eqerlem 8781 . . . 4 (𝑧𝑅𝑧 ↔ ⦋𝑧 / 𝑥⦌𝐴 = ⦋𝑧 / 𝑥⦌𝐴)
1715, 16mpbir 234 . . 3 𝑧𝑅𝑧
1814, 172th 267 . 2 (𝑧 ∈ V ↔ 𝑧𝑅𝑧)
192, 8, 13, 18iseri 8773 1 𝑅 Er V
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ⦋csb 3851   class class class wbr 5106  {copab 5170   Er wer 8742
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-pr 5395
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 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107  df-opab 5171  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-er 8745
This theorem is used by:  ider  8783  frgpuplem  20016  fneer  37319
  Copyright terms: Public domain W3C validator