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

Theorem eqrelrdv 5667
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 1929 . 2 (𝜑 → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
3 eqrelrdv.1 . . 3 Rel 𝐴
4 eqrelrdv.2 . . 3 Rel 𝐵
5 eqrel 5660 . . 3 ((Rel 𝐴 ∧ Rel 𝐵) → (𝐴 = 𝐵 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵)))
63, 4, 5mp2an 690 . 2 (𝐴 = 𝐵 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
72, 6sylibr 236 1 (𝜑𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wal 1535   = wceq 1537  wcel 2114  cop 4575  Rel wrel 5562
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-in 3945  df-ss 3954  df-opab 5131  df-xp 5563  df-rel 5564
This theorem is referenced by:  eqbrrdiv  5669  fcnvres  6558  fmptco  6893  fpwwe2lem8  10061  fpwwe2lem12  10065  fsumcom2  15131  fprodcom2  15340  gsumcom2  19097  lgsquadlem1  25958  lgsquadlem2  25959  fmptcof2  30404  dfcnv2  30424  dih1dimatlem  38467
  Copyright terms: Public domain W3C validator