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

Theorem eqrelrel 5707
Description: Extensionality principle for ordered triples (used by 2-place operations df-oprab 7279), analogous to eqrel 5695. Use relrelss 6176 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 4118 . 2 ((𝐴 ⊆ ((V × V) × V) ∧ 𝐵 ⊆ ((V × V) × V)) ↔ (𝐴𝐵) ⊆ ((V × V) × V))
2 ssrelrel 5706 . . . 4 (𝐴 ⊆ ((V × V) × V) → (𝐴𝐵 ↔ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
3 ssrelrel 5706 . . . 4 (𝐵 ⊆ ((V × V) × V) → (𝐵𝐴 ↔ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)))
42, 3bi2anan9 636 . . 3 ((𝐴 ⊆ ((V × V) × V) ∧ 𝐵 ⊆ ((V × V) × V)) → ((𝐴𝐵𝐵𝐴) ↔ (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴))))
5 eqss 3936 . . 3 (𝐴 = 𝐵 ↔ (𝐴𝐵𝐵𝐴))
6 2albiim 1893 . . . . 5 (∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ↔ (∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)))
76albii 1822 . . . 4 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ↔ ∀𝑥(∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)))
8 19.26 1873 . . . 4 (∀𝑥(∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)) ↔ (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)))
97, 8bitri 274 . . 3 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ↔ (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) ∧ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴)))
104, 5, 93bitr4g 314 . 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 396  wal 1537   = wceq 1539  wcel 2106  Vcvv 3432  cun 3885  wss 3887  cop 4567   × cxp 5587
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-11 2154  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-opab 5137  df-xp 5595
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator