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

Theorem ssrelrel 5669
Description: A subclass relationship determined by ordered triples. Use relrelss 6124 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 3961 . . . 4 (𝐴𝐵 → (⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
21alrimiv 1928 . . 3 (𝐴𝐵 → ∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
32alrimivv 1929 . 2 (𝐴𝐵 → ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
4 elvvv 5627 . . . . . . . 8 (𝑤 ∈ ((V × V) × V) ↔ ∃𝑥𝑦𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
5 eleq1 2900 . . . . . . . . . . . . . 14 (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴))
6 eleq1 2900 . . . . . . . . . . . . . 14 (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐵 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
75, 6imbi12d 347 . . . . . . . . . . . . 13 (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → ((𝑤𝐴𝑤𝐵) ↔ (⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
87biimprcd 252 . . . . . . . . . . . 12 ((⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
98alimi 1812 . . . . . . . . . . 11 (∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → ∀𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
10 19.23v 1943 . . . . . . . . . . 11 (∀𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)) ↔ (∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
119, 10sylib 220 . . . . . . . . . 10 (∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
12112alimi 1813 . . . . . . . . 9 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → ∀𝑥𝑦(∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
13 19.23vv 1944 . . . . . . . . 9 (∀𝑥𝑦(∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)) ↔ (∃𝑥𝑦𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
1412, 13sylib 220 . . . . . . . 8 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (∃𝑥𝑦𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤𝐴𝑤𝐵)))
154, 14syl5bi 244 . . . . . . 7 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝑤 ∈ ((V × V) × V) → (𝑤𝐴𝑤𝐵)))
1615com23 86 . . . . . 6 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝑤𝐴 → (𝑤 ∈ ((V × V) × V) → 𝑤𝐵)))
1716a2d 29 . . . . 5 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → ((𝑤𝐴𝑤 ∈ ((V × V) × V)) → (𝑤𝐴𝑤𝐵)))
1817alimdv 1917 . . . 4 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (∀𝑤(𝑤𝐴𝑤 ∈ ((V × V) × V)) → ∀𝑤(𝑤𝐴𝑤𝐵)))
19 dfss2 3955 . . . 4 (𝐴 ⊆ ((V × V) × V) ↔ ∀𝑤(𝑤𝐴𝑤 ∈ ((V × V) × V)))
20 dfss2 3955 . . . 4 (𝐴𝐵 ↔ ∀𝑤(𝑤𝐴𝑤𝐵))
2118, 19, 203imtr4g 298 . . 3 (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝐴 ⊆ ((V × V) × V) → 𝐴𝐵))
2221com12 32 . 2 (𝐴 ⊆ ((V × V) × V) → (∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → 𝐴𝐵))
233, 22impbid2 228 1 (𝐴 ⊆ ((V × V) × V) → (𝐴𝐵 ↔ ∀𝑥𝑦𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wal 1535   = wceq 1537  wex 1780  wcel 2114  Vcvv 3494  wss 3936  cop 4573   × cxp 5553
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-rab 3147  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-opab 5129  df-xp 5561
This theorem is referenced by:  eqrelrel  5670
  Copyright terms: Public domain W3C validator