Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-ssrel Structured version   Visualization version   GIF version

Theorem bj-ssrel 38251
Description: Variant of ssrel 5770 where the antecedent is more versatile than Rel 𝐴 (the proof is shorter than that of ssrel 5770, which can be proved from this one using sylbi 220 and df-rel 5668, and of ssrel2 5773, which uses restricted quantifiers). (Contributed by BJ, 7-Nov-2026.)
Assertion
Ref Expression
bj-ssrel (𝐴 ⊆ (𝑉 × 𝑊) → (𝐴 ⊆ 𝐵 ↔ ∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵)))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑥,𝑉,𝑦   𝑥,𝑊,𝑦

Proof of Theorem bj-ssrel
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 ssel 3909 . . 3 (𝐴 ⊆ 𝐵 → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵))
21alrimivv 1965 . 2 (𝐴 ⊆ 𝐵 → ∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵))
3 ssel 3909 . . . . . . 7 (𝐴 ⊆ (𝑉 × 𝑊) → (𝑧 ∈ 𝐴 → 𝑧 ∈ (𝑉 × 𝑊)))
4 elxpi 5683 . . . . . . 7 (𝑧 ∈ (𝑉 × 𝑊) → ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑊)))
53, 4syl6 36 . . . . . 6 (𝐴 ⊆ (𝑉 × 𝑊) → (𝑧 ∈ 𝐴 → ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑊))))
6 eleq1 2858 . . . . . . . . . . 11 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧 ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴))
7 eleq1 2858 . . . . . . . . . . 11 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧 ∈ 𝐵 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
86, 7imbi12d 347 . . . . . . . . . 10 (𝑧 = ⟨𝑥, 𝑦⟩ → ((𝑧 ∈ 𝐴 → 𝑧 ∈ 𝐵) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵)))
98adantr 486 . . . . . . . . 9 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑊)) → ((𝑧 ∈ 𝐴 → 𝑧 ∈ 𝐵) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵)))
109biimprcd 253 . . . . . . . 8 ((⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵) → ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑊)) → (𝑧 ∈ 𝐴 → 𝑧 ∈ 𝐵)))
11102alimi 1847 . . . . . . 7 (∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵) → ∀𝑥∀𝑦((𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑊)) → (𝑧 ∈ 𝐴 → 𝑧 ∈ 𝐵)))
12 19.23vv 1980 . . . . . . 7 (∀𝑥∀𝑦((𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑊)) → (𝑧 ∈ 𝐴 → 𝑧 ∈ 𝐵)) ↔ (∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑊)) → (𝑧 ∈ 𝐴 → 𝑧 ∈ 𝐵)))
1311, 12sylib 221 . . . . . 6 (∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵) → (∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑊)) → (𝑧 ∈ 𝐴 → 𝑧 ∈ 𝐵)))
145, 13sylan9 517 . . . . 5 ((𝐴 ⊆ (𝑉 × 𝑊) ∧ ∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵)) → (𝑧 ∈ 𝐴 → (𝑧 ∈ 𝐴 → 𝑧 ∈ 𝐵)))
1514pm2.43d 54 . . . 4 ((𝐴 ⊆ (𝑉 × 𝑊) ∧ ∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵)) → (𝑧 ∈ 𝐴 → 𝑧 ∈ 𝐵))
1615ssrdv 3921 . . 3 ((𝐴 ⊆ (𝑉 × 𝑊) ∧ ∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵)) → 𝐴 ⊆ 𝐵)
1716ex 418 . 2 (𝐴 ⊆ (𝑉 × 𝑊) → (∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵) → 𝐴 ⊆ 𝐵))
182, 17impbid2 229 1 (𝐴 ⊆ (𝑉 × 𝑊) → (𝐴 ⊆ 𝐵 ↔ ∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570   = wceq 1572  ∃wex 1814   ∈ wcel 2151   ⊆ wss 3902  ⟨cop 4843   × cxp 5659
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ss 3903  df-opab 5177  df-xp 5667
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator