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

Theorem eqbrrdv 5715
Description: Deduction from extensionality principle for relations. (Contributed by Mario Carneiro, 3-Jan-2017.)
Hypotheses
Ref Expression
eqbrrdv.1 (𝜑 → Rel 𝐴)
eqbrrdv.2 (𝜑 → Rel 𝐵)
eqbrrdv.3 (𝜑 → (𝑥𝐴𝑦𝑥𝐵𝑦))
Assertion
Ref Expression
eqbrrdv (𝜑𝐴 = 𝐵)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝜑,𝑥,𝑦

Proof of Theorem eqbrrdv
StepHypRef Expression
1 eqbrrdv.3 . . . 4 (𝜑 → (𝑥𝐴𝑦𝑥𝐵𝑦))
2 df-br 5082 . . . 4 (𝑥𝐴𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴)
3 df-br 5082 . . . 4 (𝑥𝐵𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵)
41, 2, 33bitr3g 313 . . 3 (𝜑 → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
54alrimivv 1929 . 2 (𝜑 → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
6 eqbrrdv.1 . . 3 (𝜑 → Rel 𝐴)
7 eqbrrdv.2 . . 3 (𝜑 → Rel 𝐵)
8 eqrel 5706 . . 3 ((Rel 𝐴 ∧ Rel 𝐵) → (𝐴 = 𝐵 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵)))
96, 7, 8syl2anc 585 . 2 (𝜑 → (𝐴 = 𝐵 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵)))
105, 9mpbird 257 1 (𝜑𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wal 1537   = wceq 1539  wcel 2104  cop 4571   class class class wbr 5081  Rel wrel 5605
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-ext 2707
This theorem depends on definitions:  df-bi 206  df-an 398  df-tru 1542  df-ex 1780  df-sb 2066  df-clab 2714  df-cleq 2728  df-clel 2814  df-v 3439  df-in 3899  df-ss 3909  df-br 5082  df-opab 5144  df-xp 5606  df-rel 5607
This theorem is referenced by:  eqbrrdva  5791  oppcsect2  17540  qusxpid  31608  erimeq2  36892
  Copyright terms: Public domain W3C validator