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

Theorem ssc2 17083
Description: Infer subset relation on morphisms from the subcategory subset relation. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
ssc2.1 (𝜑𝐻 Fn (𝑆 × 𝑆))
ssc2.2 (𝜑𝐻cat 𝐽)
ssc2.3 (𝜑𝑋𝑆)
ssc2.4 (𝜑𝑌𝑆)
Assertion
Ref Expression
ssc2 (𝜑 → (𝑋𝐻𝑌) ⊆ (𝑋𝐽𝑌))

Proof of Theorem ssc2
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssc2.3 . 2 (𝜑𝑋𝑆)
2 ssc2.4 . 2 (𝜑𝑌𝑆)
3 ssc2.2 . . . 4 (𝜑𝐻cat 𝐽)
4 ssc2.1 . . . . 5 (𝜑𝐻 Fn (𝑆 × 𝑆))
5 eqidd 2823 . . . . . 6 (𝜑 → dom dom 𝐽 = dom dom 𝐽)
63, 5sscfn2 17079 . . . . 5 (𝜑𝐽 Fn (dom dom 𝐽 × dom dom 𝐽))
7 sscrel 17074 . . . . . . 7 Rel ⊆cat
87brrelex2i 5586 . . . . . 6 (𝐻cat 𝐽𝐽 ∈ V)
9 dmexg 7599 . . . . . 6 (𝐽 ∈ V → dom 𝐽 ∈ V)
10 dmexg 7599 . . . . . 6 (dom 𝐽 ∈ V → dom dom 𝐽 ∈ V)
113, 8, 9, 104syl 19 . . . . 5 (𝜑 → dom dom 𝐽 ∈ V)
124, 6, 11isssc 17081 . . . 4 (𝜑 → (𝐻cat 𝐽 ↔ (𝑆 ⊆ dom dom 𝐽 ∧ ∀𝑥𝑆𝑦𝑆 (𝑥𝐻𝑦) ⊆ (𝑥𝐽𝑦))))
133, 12mpbid 235 . . 3 (𝜑 → (𝑆 ⊆ dom dom 𝐽 ∧ ∀𝑥𝑆𝑦𝑆 (𝑥𝐻𝑦) ⊆ (𝑥𝐽𝑦)))
1413simprd 499 . 2 (𝜑 → ∀𝑥𝑆𝑦𝑆 (𝑥𝐻𝑦) ⊆ (𝑥𝐽𝑦))
15 oveq1 7147 . . . 4 (𝑥 = 𝑋 → (𝑥𝐻𝑦) = (𝑋𝐻𝑦))
16 oveq1 7147 . . . 4 (𝑥 = 𝑋 → (𝑥𝐽𝑦) = (𝑋𝐽𝑦))
1715, 16sseq12d 3975 . . 3 (𝑥 = 𝑋 → ((𝑥𝐻𝑦) ⊆ (𝑥𝐽𝑦) ↔ (𝑋𝐻𝑦) ⊆ (𝑋𝐽𝑦)))
18 oveq2 7148 . . . 4 (𝑦 = 𝑌 → (𝑋𝐻𝑦) = (𝑋𝐻𝑌))
19 oveq2 7148 . . . 4 (𝑦 = 𝑌 → (𝑋𝐽𝑦) = (𝑋𝐽𝑌))
2018, 19sseq12d 3975 . . 3 (𝑦 = 𝑌 → ((𝑋𝐻𝑦) ⊆ (𝑋𝐽𝑦) ↔ (𝑋𝐻𝑌) ⊆ (𝑋𝐽𝑌)))
2117, 20rspc2va 3609 . 2 (((𝑋𝑆𝑌𝑆) ∧ ∀𝑥𝑆𝑦𝑆 (𝑥𝐻𝑦) ⊆ (𝑥𝐽𝑦)) → (𝑋𝐻𝑌) ⊆ (𝑋𝐽𝑌))
221, 2, 14, 21syl21anc 836 1 (𝜑 → (𝑋𝐻𝑌) ⊆ (𝑋𝐽𝑌))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2114  wral 3130  Vcvv 3469  wss 3908   class class class wbr 5042   × cxp 5530  dom cdm 5532   Fn wfn 6329  (class class class)co 7140  cat cssc 17068
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2178  ax-ext 2794  ax-rep 5166  ax-sep 5179  ax-nul 5186  ax-pow 5243  ax-pr 5307  ax-un 7446
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2622  df-eu 2653  df-clab 2801  df-cleq 2815  df-clel 2894  df-nfc 2962  df-ne 3012  df-ral 3135  df-rex 3136  df-reu 3137  df-rab 3139  df-v 3471  df-sbc 3748  df-csb 3856  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4266  df-if 4440  df-pw 4513  df-sn 4540  df-pr 4542  df-op 4546  df-uni 4814  df-iun 4896  df-br 5043  df-opab 5105  df-mpt 5123  df-id 5437  df-xp 5538  df-rel 5539  df-cnv 5540  df-co 5541  df-dm 5542  df-rn 5543  df-res 5544  df-ima 5545  df-iota 6293  df-fun 6336  df-fn 6337  df-f 6338  df-f1 6339  df-fo 6340  df-f1o 6341  df-fv 6342  df-ov 7143  df-ixp 8449  df-ssc 17071
This theorem is referenced by:  ssctr  17086  ssceq  17087  subcss2  17104
  Copyright terms: Public domain W3C validator