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

Theorem ssrelrel 5778
Description: A subclass relationship determined by ordered triples. Use relrelss 6294 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 3907 . . . 4 (𝐴 ⊆ 𝐵 → (⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
21alrimiv 1962 . . 3 (𝐴 ⊆ 𝐵 → ∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
32alrimivv 1963 . 2 (𝐴 ⊆ 𝐵 → ∀𝑥∀𝑦∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
4 elvvv 5733 . . . . . . . 8 (𝑤 ∈ ((V × V) × V) ↔ ∃𝑥∃𝑦∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
5 eleq1 2852 . . . . . . . . . . . . . 14 (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ 𝐴 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴))
6 eleq1 2852 . . . . . . . . . . . . . 14 (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ 𝐵 ↔ ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵))
75, 6imbi12d 347 . . . . . . . . . . . . 13 (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → ((𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵) ↔ (⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
87biimprcd 253 . . . . . . . . . . . 12 ((⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)))
98alimi 1844 . . . . . . . . . . 11 (∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → ∀𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)))
10 19.23v 1977 . . . . . . . . . . 11 (∀𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)) ↔ (∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)))
119, 10sylib 221 . . . . . . . . . 10 (∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)))
12112alimi 1845 . . . . . . . . 9 (∀𝑥∀𝑦∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → ∀𝑥∀𝑦(∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)))
13 19.23vv 1978 . . . . . . . . 9 (∀𝑥∀𝑦(∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)) ↔ (∃𝑥∃𝑦∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)))
1412, 13sylib 221 . . . . . . . 8 (∀𝑥∀𝑦∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (∃𝑥∃𝑦∃𝑧 𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)))
154, 14biimtrid 245 . . . . . . 7 (∀𝑥∀𝑦∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝑤 ∈ ((V × V) × V) → (𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)))
1615com23 87 . . . . . 6 (∀𝑥∀𝑦∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝑤 ∈ 𝐴 → (𝑤 ∈ ((V × V) × V) → 𝑤 ∈ 𝐵)))
1716a2d 30 . . . . 5 (∀𝑥∀𝑦∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → ((𝑤 ∈ 𝐴 → 𝑤 ∈ ((V × V) × V)) → (𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)))
1817alimdv 1951 . . . 4 (∀𝑥∀𝑦∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (∀𝑤(𝑤 ∈ 𝐴 → 𝑤 ∈ ((V × V) × V)) → ∀𝑤(𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵)))
19 df-ss 3901 . . . 4 (𝐴 ⊆ ((V × V) × V) ↔ ∀𝑤(𝑤 ∈ 𝐴 → 𝑤 ∈ ((V × V) × V)))
20 df-ss 3901 . . . 4 (𝐴 ⊆ 𝐵 ↔ ∀𝑤(𝑤 ∈ 𝐴 → 𝑤 ∈ 𝐵))
2118, 19, 203imtr4g 299 . . 3 (∀𝑥∀𝑦∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → (𝐴 ⊆ ((V × V) × V) → 𝐴 ⊆ 𝐵))
2221com12 33 . 2 (𝐴 ⊆ ((V × V) × V) → (∀𝑥∀𝑦∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵) → 𝐴 ⊆ 𝐵))
233, 22impbid2 229 1 (𝐴 ⊆ ((V × V) × V) → (𝐴 ⊆ 𝐵 ↔ ∀𝑥∀𝑦∀𝑧(⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐴 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∈ 𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147  Vcvv 3454   ⊆ wss 3900  ⟨cop 4838   × cxp 5654
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-11 2197  ax-ext 2735  ax-sep 5253  ax-pr 5396
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-opab 5172  df-xp 5662
This theorem is used by:  eqrelrel  5779
  Copyright terms: Public domain W3C validator