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

Theorem eqbrrdv 5635
 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 5033 . . . 4 (𝑥𝐴𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴)
3 df-br 5033 . . . 4 (𝑥𝐵𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵)
41, 2, 33bitr3g 316 . . 3 (𝜑 → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
54alrimivv 1929 . 2 (𝜑 → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
6 eqbrrdv.1 . . 3 (𝜑 → Rel 𝐴)
7 eqbrrdv.2 . . 3 (𝜑 → Rel 𝐵)
8 eqrel 5627 . . 3 ((Rel 𝐴 ∧ Rel 𝐵) → (𝐴 = 𝐵 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵)))
96, 7, 8syl2anc 587 . 2 (𝜑 → (𝐴 = 𝐵 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵)))
105, 9mpbird 260 1 (𝜑𝐴 = 𝐵)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209  ∀wal 1536   = wceq 1538   ∈ wcel 2111  ⟨cop 4528   class class class wbr 5032  Rel wrel 5529 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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-12 2175  ax-ext 2729 This theorem depends on definitions:  df-bi 210  df-an 400  df-tru 1541  df-ex 1782  df-sb 2070  df-clab 2736  df-cleq 2750  df-clel 2830  df-v 3411  df-in 3865  df-ss 3875  df-br 5033  df-opab 5095  df-xp 5530  df-rel 5531 This theorem is referenced by:  eqbrrdva  5709  oppcsect2  17108  qusxpid  31080  erim2  36373
 Copyright terms: Public domain W3C validator