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

Theorem ssrelrel 5633
Description: A subclass relationship determined by ordered triples. Use relrelss 6092 to express the antecedent in terms of the relation predicate. (Contributed by NM, 17-Dec-2008.) (Proof shortened by Andrew Salmon, 27-Aug-2011.)
Assertion
Ref Expression
ssrelrel (𝐴 ⊆ ((V × V) × V) → (𝐴𝐵 ↔ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐵,𝑦,𝑧

Proof of Theorem ssrelrel
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 ssel 3908 . . . 4 (𝐴𝐵 → (⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
21alrimiv 1928 . . 3 (𝐴𝐵 → ∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
32alrimivv 1929 . 2 (𝐴𝐵 → ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
4 elvvv 5591 . . . . . . . 8 (𝑤 ∈ ((V × V) × V) ↔ ∃𝑥𝑦𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
5 eleq1 2877 . . . . . . . . . . . . . 14 (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴))
6 eleq1 2877 . . . . . . . . . . . . . 14 (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐵 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
75, 6imbi12d 348 . . . . . . . . . . . . 13 (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → ((𝑤𝐴𝑤𝐵) ↔ (⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
87biimprcd 253 . . . . . . . . . . . 12 ((⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
98alimi 1813 . . . . . . . . . . 11 (∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → ∀𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
10 19.23v 1943 . . . . . . . . . . 11 (∀𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)) ↔ (∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
119, 10sylib 221 . . . . . . . . . 10 (∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
12112alimi 1814 . . . . . . . . 9 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → ∀𝑥𝑦(∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
13 19.23vv 1944 . . . . . . . . 9 (∀𝑥𝑦(∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)) ↔ (∃𝑥𝑦𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
1412, 13sylib 221 . . . . . . . 8 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (∃𝑥𝑦𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
154, 14syl5bi 245 . . . . . . 7 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝑤 ∈ ((V × V) × V) → (𝑤𝐴𝑤𝐵)))
1615com23 86 . . . . . 6 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝑤𝐴 → (𝑤 ∈ ((V × V) × V) → 𝑤𝐵)))
1716a2d 29 . . . . 5 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → ((𝑤𝐴𝑤 ∈ ((V × V) × V)) → (𝑤𝐴𝑤𝐵)))
1817alimdv 1917 . . . 4 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (∀𝑤(𝑤𝐴𝑤 ∈ ((V × V) × V)) → ∀𝑤(𝑤𝐴𝑤𝐵)))
19 dfss2 3901 . . . 4 (𝐴 ⊆ ((V × V) × V) ↔ ∀𝑤(𝑤𝐴𝑤 ∈ ((V × V) × V)))
20 dfss2 3901 . . . 4 (𝐴𝐵 ↔ ∀𝑤(𝑤𝐴𝑤𝐵))
2118, 19, 203imtr4g 299 . . 3 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝐴 ⊆ ((V × V) × V) → 𝐴𝐵))
2221com12 32 . 2 (𝐴 ⊆ ((V × V) × V) → (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → 𝐴𝐵))
233, 22impbid2 229 1 (𝐴 ⊆ ((V × V) × V) → (𝐴𝐵 ↔ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wal 1536   = wceq 1538  wex 1781  wcel 2111  Vcvv 3441  wss 3881  cop 4531   × cxp 5517
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-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-opab 5093  df-xp 5525
This theorem is referenced by:  eqrelrel  5634
  Copyright terms: Public domain W3C validator