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

Theorem coss12d 15131
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 5147 . . . . 5 (𝜑 → (𝑥𝐶𝑦 → 𝑥𝐷𝑦))
3 coss12d.a . . . . . 6 (𝜑 → 𝐴 ⊆ 𝐵)
43ssbrd 5147 . . . . 5 (𝜑 → (𝑦𝐴𝑧 → 𝑦𝐵𝑧))
52, 4anim12d 621 . . . 4 (𝜑 → ((𝑥𝐶𝑦 ∧ 𝑦𝐴𝑧) → (𝑥𝐷𝑦 ∧ 𝑦𝐵𝑧)))
65eximdv 1949 . . 3 (𝜑 → (∃𝑦(𝑥𝐶𝑦 ∧ 𝑦𝐴𝑧) → ∃𝑦(𝑥𝐷𝑦 ∧ 𝑦𝐵𝑧)))
76ssopab2dv 5525 . 2 (𝜑 → {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦 ∧ 𝑦𝐴𝑧)} ⊆ {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐷𝑦 ∧ 𝑦𝐵𝑧)})
8 df-co 5659 . 2 (𝐴 ∘ 𝐶) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐶𝑦 ∧ 𝑦𝐴𝑧)}
9 df-co 5659 . 2 (𝐵 ∘ 𝐷) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥𝐷𝑦 ∧ 𝑦𝐵𝑧)}
107, 8, 93sstr4g 3961 1 (𝜑 → (𝐴 ∘ 𝐶) ⊆ (𝐵 ∘ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∃wex 1811   ⊆ wss 3895   class class class wbr 5102  {copab 5166   ∘ ccom 5654
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ss 3896  df-br 5103  df-opab 5167  df-co 5659
This theorem is used by:  trrelssd  15132  ustund  24547  bj-imdirco  38205  relexpss1d  44799
  Copyright terms: Public domain W3C validator