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

Theorem eqrelrdv 5781
Description: Deduce equality of relations from equivalence of membership. (Contributed by Rodolfo Medina, 10-Oct-2010.)
Hypotheses
Ref Expression
eqrelrdv.1 Rel 𝐴
eqrelrdv.2 Rel 𝐵
eqrelrdv.3 (𝜑 → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
Assertion
Ref Expression
eqrelrdv (𝜑𝐴 = 𝐵)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝜑,𝑥,𝑦

Proof of Theorem eqrelrdv
StepHypRef Expression
1 eqrelrdv.3 . . 3 (𝜑 → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
21alrimivv 1931 . 2 (𝜑 → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
3 eqrelrdv.1 . . 3 Rel 𝐴
4 eqrelrdv.2 . . 3 Rel 𝐵
5 eqrel 5773 . . 3 ((Rel 𝐴 ∧ Rel 𝐵) → (𝐴 = 𝐵 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵)))
63, 4, 5mp2an 690 . 2 (𝐴 = 𝐵 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
72, 6sylibr 233 1 (𝜑𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wal 1539   = wceq 1541  wcel 2106  cop 4625  Rel wrel 5671
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2702
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1544  df-ex 1782  df-sb 2068  df-clab 2709  df-cleq 2723  df-clel 2809  df-v 3472  df-in 3948  df-ss 3958  df-opab 5201  df-xp 5672  df-rel 5673
This theorem is referenced by:  eqbrrdiv  5783  fcnvres  6752  fmptco  7108  fpwwe2lem7  10611  fpwwe2lem11  10615  fsumcom2  15699  fprodcom2  15907  gsumcom2  19799  lgsquadlem1  26805  lgsquadlem2  26806  fmptcof2  31746  dfcnv2  31765  dih1dimatlem  39989
  Copyright terms: Public domain W3C validator