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

Definition df-subc 17949
Description: (Subcat‘𝐶) is the set of all the subcategory specifications of the category 𝐶. Like df-subg 19295, this is not actually a collection of categories (as in definition 4.1(a) of [Adamek] p. 48), but only sets which when given operations from the base category (using df-resc 17948) form a category. All the objects and all the morphisms of the subcategory belong to the supercategory. The identity of an object, the domain and the codomain of a morphism are the same in the subcategory and the supercategory. The composition of the subcategory is a restriction of the composition of the supercategory. (Contributed by FL, 17-Sep-2009.) (Revised by Mario Carneiro, 4-Jan-2017.)
Assertion
Ref Expression
df-subc Subcat = (𝑐 ∈ Cat ↦ {ℎ ∣ (ℎ ⊆cat (Homf ‘𝑐) ∧ [dom dom ℎ / 𝑠]∀𝑥 ∈ 𝑠 (((Id‘𝑐)‘𝑥) ∈ (𝑥ℎ𝑥) ∧ ∀𝑦 ∈ 𝑠 ∀𝑧 ∈ 𝑠 ∀𝑓 ∈ (𝑥ℎ𝑦)∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧)))})
Distinct variable group:   𝑓,𝑐,𝑔,ℎ,𝑠,𝑥,𝑦,𝑧

Detailed syntax breakdown of Definition df-subc
StepHypRef Expression
1 csubc 17946 . 2 class Subcat
2 vc . . 3 setvar 𝑐
3 ccat 17800 . . 3 class Cat
4 vh . . . . . . 7 setvar ℎ
54cv 1569 . . . . . 6 class ℎ
62cv 1569 . . . . . . 7 class 𝑐
7 chomf 17802 . . . . . . 7 class Homf
86, 7cfv 6527 . . . . . 6 class (Homf ‘𝑐)
9 cssc 17944 . . . . . 6 class ⊆cat
105, 8, 9wbr 5102 . . . . 5 wff ℎ ⊆cat (Homf ‘𝑐)
11 vx . . . . . . . . . . 11 setvar 𝑥
1211cv 1569 . . . . . . . . . 10 class 𝑥
13 ccid 17801 . . . . . . . . . . 11 class Id
146, 13cfv 6527 . . . . . . . . . 10 class (Id‘𝑐)
1512, 14cfv 6527 . . . . . . . . 9 class ((Id‘𝑐)‘𝑥)
1612, 12, 5co 7408 . . . . . . . . 9 class (𝑥ℎ𝑥)
1715, 16wcel 2145 . . . . . . . 8 wff ((Id‘𝑐)‘𝑥) ∈ (𝑥ℎ𝑥)
18 vg . . . . . . . . . . . . . . 15 setvar 𝑔
1918cv 1569 . . . . . . . . . . . . . 14 class 𝑔
20 vf . . . . . . . . . . . . . . 15 setvar 𝑓
2120cv 1569 . . . . . . . . . . . . . 14 class 𝑓
22 vy . . . . . . . . . . . . . . . . 17 setvar 𝑦
2322cv 1569 . . . . . . . . . . . . . . . 16 class 𝑦
2412, 23cop 4589 . . . . . . . . . . . . . . 15 class ⟨𝑥, 𝑦⟩
25 vz . . . . . . . . . . . . . . . 16 setvar 𝑧
2625cv 1569 . . . . . . . . . . . . . . 15 class 𝑧
27 cco 17402 . . . . . . . . . . . . . . . 16 class comp
286, 27cfv 6527 . . . . . . . . . . . . . . 15 class (comp‘𝑐)
2924, 26, 28co 7408 . . . . . . . . . . . . . 14 class (⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)
3019, 21, 29co 7408 . . . . . . . . . . . . 13 class (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓)
3112, 26, 5co 7408 . . . . . . . . . . . . 13 class (𝑥ℎ𝑧)
3230, 31wcel 2145 . . . . . . . . . . . 12 wff (𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧)
3323, 26, 5co 7408 . . . . . . . . . . . 12 class (𝑦ℎ𝑧)
3432, 18, 33wral 3076 . . . . . . . . . . 11 wff ∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧)
3512, 23, 5co 7408 . . . . . . . . . . 11 class (𝑥ℎ𝑦)
3634, 20, 35wral 3076 . . . . . . . . . 10 wff ∀𝑓 ∈ (𝑥ℎ𝑦)∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧)
37 vs . . . . . . . . . . 11 setvar 𝑠
3837cv 1569 . . . . . . . . . 10 class 𝑠
3936, 25, 38wral 3076 . . . . . . . . 9 wff ∀𝑧 ∈ 𝑠 ∀𝑓 ∈ (𝑥ℎ𝑦)∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧)
4039, 22, 38wral 3076 . . . . . . . 8 wff ∀𝑦 ∈ 𝑠 ∀𝑧 ∈ 𝑠 ∀𝑓 ∈ (𝑥ℎ𝑦)∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧)
4117, 40wa 401 . . . . . . 7 wff (((Id‘𝑐)‘𝑥) ∈ (𝑥ℎ𝑥) ∧ ∀𝑦 ∈ 𝑠 ∀𝑧 ∈ 𝑠 ∀𝑓 ∈ (𝑥ℎ𝑦)∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧))
4241, 11, 38wral 3076 . . . . . 6 wff ∀𝑥 ∈ 𝑠 (((Id‘𝑐)‘𝑥) ∈ (𝑥ℎ𝑥) ∧ ∀𝑦 ∈ 𝑠 ∀𝑧 ∈ 𝑠 ∀𝑓 ∈ (𝑥ℎ𝑦)∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧))
435cdm 5647 . . . . . . 7 class dom ℎ
4443cdm 5647 . . . . . 6 class dom dom ℎ
4542, 37, 44wsbc 3738 . . . . 5 wff [dom dom ℎ / 𝑠]∀𝑥 ∈ 𝑠 (((Id‘𝑐)‘𝑥) ∈ (𝑥ℎ𝑥) ∧ ∀𝑦 ∈ 𝑠 ∀𝑧 ∈ 𝑠 ∀𝑓 ∈ (𝑥ℎ𝑦)∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧))
4610, 45wa 401 . . . 4 wff (ℎ ⊆cat (Homf ‘𝑐) ∧ [dom dom ℎ / 𝑠]∀𝑥 ∈ 𝑠 (((Id‘𝑐)‘𝑥) ∈ (𝑥ℎ𝑥) ∧ ∀𝑦 ∈ 𝑠 ∀𝑧 ∈ 𝑠 ∀𝑓 ∈ (𝑥ℎ𝑦)∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧)))
4746, 4cab 2738 . . 3 class {ℎ ∣ (ℎ ⊆cat (Homf ‘𝑐) ∧ [dom dom ℎ / 𝑠]∀𝑥 ∈ 𝑠 (((Id‘𝑐)‘𝑥) ∈ (𝑥ℎ𝑥) ∧ ∀𝑦 ∈ 𝑠 ∀𝑧 ∈ 𝑠 ∀𝑓 ∈ (𝑥ℎ𝑦)∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧)))}
482, 3, 47cmpt 5185 . 2 class (𝑐 ∈ Cat ↦ {ℎ ∣ (ℎ ⊆cat (Homf ‘𝑐) ∧ [dom dom ℎ / 𝑠]∀𝑥 ∈ 𝑠 (((Id‘𝑐)‘𝑥) ∈ (𝑥ℎ𝑥) ∧ ∀𝑦 ∈ 𝑠 ∀𝑧 ∈ 𝑠 ∀𝑓 ∈ (𝑥ℎ𝑦)∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧)))})
491, 48wceq 1570 1 wff Subcat = (𝑐 ∈ Cat ↦ {ℎ ∣ (ℎ ⊆cat (Homf ‘𝑐) ∧ [dom dom ℎ / 𝑠]∀𝑥 ∈ 𝑠 (((Id‘𝑐)‘𝑥) ∈ (𝑥ℎ𝑥) ∧ ∀𝑦 ∈ 𝑠 ∀𝑧 ∈ 𝑠 ∀𝑓 ∈ (𝑥ℎ𝑦)∀𝑔 ∈ (𝑦ℎ𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝑐)𝑧)𝑓) ∈ (𝑥ℎ𝑧)))})
Colors of variables:    wff setvar class
This definition is used by:  subcrcl  17953  issubc  17972
  Copyright terms: Public domain W3C validator