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

Theorem eqrelrel 5696
Description: Extensionality principle for ordered triples (used by 2-place operations df-oprab 7259), analogous to eqrel 5684. Use relrelss 6165 to express the antecedent in terms of the relation predicate. (Contributed by NM, 17-Dec-2008.)
Assertion
Ref Expression
eqrelrel ((𝐴𝐵) ⊆ ((V × V) × V) → (𝐴 = 𝐵 ↔ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐵,𝑦,𝑧

Proof of Theorem eqrelrel
StepHypRef Expression
1 unss 4114 . 2 ((𝐴 ⊆ ((V × V) × V) ∧ 𝐵 ⊆ ((V × V) × V)) ↔ (𝐴𝐵) ⊆ ((V × V) × V))
2 ssrelrel 5695 . . . 4 (𝐴 ⊆ ((V × V) × V) → (𝐴𝐵 ↔ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
3 ssrelrel 5695 . . . 4 (𝐵 ⊆ ((V × V) × V) → (𝐵𝐴 ↔ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)))
42, 3bi2anan9 635 . . 3 ((𝐴 ⊆ ((V × V) × V) ∧ 𝐵 ⊆ ((V × V) × V)) → ((𝐴𝐵𝐵𝐴) ↔ (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴))))
5 eqss 3932 . . 3 (𝐴 = 𝐵 ↔ (𝐴𝐵𝐵𝐴))
6 2albiim 1894 . . . . 5 (∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ↔ (∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)))
76albii 1823 . . . 4 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ↔ ∀𝑥(∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)))
8 19.26 1874 . . . 4 (∀𝑥(∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)) ↔ (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)))
97, 8bitri 274 . . 3 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ↔ (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)))
104, 5, 93bitr4g 313 . 2 ((𝐴 ⊆ ((V × V) × V) ∧ 𝐵 ⊆ ((V × V) × V)) → (𝐴 = 𝐵 ↔ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
111, 10sylbir 234 1 ((𝐴𝐵) ⊆ ((V × V) × V) → (𝐴 = 𝐵 ↔ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wcel 2108  Vcvv 3422  cun 3881  wss 3883  cop 4564   × cxp 5578
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-11 2156  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-opab 5133  df-xp 5586
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator