ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ssrel2 GIF version

Theorem ssrel2 4448
Description: A subclass relationship depends only on a relation's ordered pairs. This version of ssrel 4446 is restricted to the relation's domain. (Contributed by Thierry Arnoux, 25-Jan-2018.)
Assertion
Ref Expression
ssrel2 (𝑅 ⊆ (𝐴 × 𝐵) → (𝑅𝑆 ↔ ∀𝑥𝐴𝑦𝐵 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆)))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝑅,𝑦   𝑥,𝑆,𝑦

Proof of Theorem ssrel2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 ssel 2993 . . . 4 (𝑅𝑆 → (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆))
21a1d 22 . . 3 (𝑅𝑆 → ((𝑥𝐴𝑦𝐵) → (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆)))
32ralrimivv 2442 . 2 (𝑅𝑆 → ∀𝑥𝐴𝑦𝐵 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆))
4 eleq1 2141 . . . . . . . . . . . 12 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
5 eleq1 2141 . . . . . . . . . . . 12 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑆 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑆))
64, 5imbi12d 232 . . . . . . . . . . 11 (𝑧 = ⟨𝑥, 𝑦⟩ → ((𝑧𝑅𝑧𝑆) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆)))
76biimprcd 158 . . . . . . . . . 10 ((⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆) → (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)))
87ralimi 2426 . . . . . . . . 9 (∀𝑦𝐵 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆) → ∀𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)))
98ralimi 2426 . . . . . . . 8 (∀𝑥𝐴𝑦𝐵 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆) → ∀𝑥𝐴𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)))
10 r19.23v 2469 . . . . . . . . . 10 (∀𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)) ↔ (∃𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)))
1110ralbii 2372 . . . . . . . . 9 (∀𝑥𝐴𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)) ↔ ∀𝑥𝐴 (∃𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)))
12 r19.23v 2469 . . . . . . . . 9 (∀𝑥𝐴 (∃𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)) ↔ (∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)))
1311, 12bitri 182 . . . . . . . 8 (∀𝑥𝐴𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)) ↔ (∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)))
149, 13sylib 120 . . . . . . 7 (∀𝑥𝐴𝑦𝐵 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆) → (∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ → (𝑧𝑅𝑧𝑆)))
1514com23 77 . . . . . 6 (∀𝑥𝐴𝑦𝐵 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆) → (𝑧𝑅 → (∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ → 𝑧𝑆)))
1615a2d 26 . . . . 5 (∀𝑥𝐴𝑦𝐵 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆) → ((𝑧𝑅 → ∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩) → (𝑧𝑅𝑧𝑆)))
1716alimdv 1800 . . . 4 (∀𝑥𝐴𝑦𝐵 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆) → (∀𝑧(𝑧𝑅 → ∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩) → ∀𝑧(𝑧𝑅𝑧𝑆)))
18 dfss2 2988 . . . . 5 (𝑅 ⊆ (𝐴 × 𝐵) ↔ ∀𝑧(𝑧𝑅𝑧 ∈ (𝐴 × 𝐵)))
19 elxp2 4381 . . . . . . 7 (𝑧 ∈ (𝐴 × 𝐵) ↔ ∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩)
2019imbi2i 224 . . . . . 6 ((𝑧𝑅𝑧 ∈ (𝐴 × 𝐵)) ↔ (𝑧𝑅 → ∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩))
2120albii 1399 . . . . 5 (∀𝑧(𝑧𝑅𝑧 ∈ (𝐴 × 𝐵)) ↔ ∀𝑧(𝑧𝑅 → ∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩))
2218, 21bitri 182 . . . 4 (𝑅 ⊆ (𝐴 × 𝐵) ↔ ∀𝑧(𝑧𝑅 → ∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩))
23 dfss2 2988 . . . 4 (𝑅𝑆 ↔ ∀𝑧(𝑧𝑅𝑧𝑆))
2417, 22, 233imtr4g 203 . . 3 (∀𝑥𝐴𝑦𝐵 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆) → (𝑅 ⊆ (𝐴 × 𝐵) → 𝑅𝑆))
2524com12 30 . 2 (𝑅 ⊆ (𝐴 × 𝐵) → (∀𝑥𝐴𝑦𝐵 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆) → 𝑅𝑆))
263, 25impbid2 141 1 (𝑅 ⊆ (𝐴 × 𝐵) → (𝑅𝑆 ↔ ∀𝑥𝐴𝑦𝐵 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ⟨𝑥, 𝑦⟩ ∈ 𝑆)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103  wal 1282   = wceq 1284  wcel 1433  wral 2348  wrex 2349  wss 2973  cop 3401   × cxp 4361
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-sep 3896  ax-pow 3948  ax-pr 3964
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rex 2354  df-v 2603  df-un 2977  df-in 2979  df-ss 2986  df-pw 3384  df-sn 3404  df-pr 3405  df-op 3407  df-opab 3840  df-xp 4369
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator