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

Theorem coss12d 15118
Description: Subset deduction for composition of two classes. (Contributed by RP, 24-Dec-2019.)
Hypotheses
Ref Expression
coss12d.a (𝜑 → 𝐴 ⊆ 𝐵)
coss12d.c (𝜑 → 𝐶 ⊆ 𝐷)
Assertion
Ref Expression
coss12d (𝜑 → (𝐴 ∘ 𝐶) ⊆ (𝐵 ∘ 𝐷))

Proof of Theorem coss12d
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 coss12d.c . . . . . 6 (𝜑 → 𝐶 ⊆ 𝐷)
21ssbrd 5148 . . . . 5 (𝜑 → (𝑥𝐶𝑦 → 𝑥𝐷𝑦))
3 coss12d.a . . . . . 6 (𝜑 → 𝐴 ⊆ 𝐵)
43ssbrd 5148 . . . . 5 (𝜑 → (𝑦𝐴𝑧 → 𝑦𝐵𝑧))
52, 4anim12d 621 . . . 4 (𝜑 → ((𝑥𝐶𝑦 ∧ 𝑦𝐴𝑧) → (𝑥𝐷𝑦 ∧ 𝑦𝐵𝑧)))
65eximdv 1950 . . 3 (𝜑 → (∃𝑦(𝑥𝐶𝑦 ∧ 𝑦𝐴𝑧) → ∃𝑦(𝑥𝐷𝑦 ∧ 𝑦𝐵𝑧)))
76ssopab2dv 5526 . 2 (𝜑 → {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦 ∧ 𝑦𝐴𝑧)} ⊆ {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐷𝑦 ∧ 𝑦𝐵𝑧)})
8 df-co 5660 . 2 (𝐴 ∘ 𝐶) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦 ∧ 𝑦𝐴𝑧)}
9 df-co 5660 . 2 (𝐵 ∘ 𝐷) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐷𝑦 ∧ 𝑦𝐵𝑧)}
107, 8, 93sstr4g 3984 1 (𝜑 → (𝐴 ∘ 𝐶) ⊆ (𝐵 ∘ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∃wex 1812   ⊆ wss 3899   class class class wbr 5103  {copab 5167   ∘ ccom 5655
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ss 3916  df-br 5104  df-opab 5168  df-co 5660
This theorem is used by:  trrelssd  15119  ustund  24534  bj-imdirco  38091  relexpss1d  44690
  Copyright terms: Public domain W3C validator