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

Theorem resscatc 18296
Description: The restriction of the category of categories to a subset is the category of categories in the subset. Thus, the CatCat‘𝑈 categories for different 𝑈 are full subcategories of each other. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
resscatc.c 𝐶 = (CatCat‘𝑈)
resscatc.d 𝐷 = (CatCat‘𝑉)
resscatc.1 (𝜑 → 𝑈 ∈ 𝑊)
resscatc.2 (𝜑 → 𝑉 ⊆ 𝑈)
Assertion
Ref Expression
resscatc (𝜑 → ((Homf ‘(𝐶 ↾s 𝑉)) = (Homf ‘𝐷) ∧ (compf‘(𝐶 ↾s 𝑉)) = (compf‘𝐷)))

Proof of Theorem resscatc
Dummy variables 𝑓 𝑔 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 resscatc.d . . . . . 6 𝐷 = (CatCat‘𝑉)
2 eqid 2763 . . . . . 6 (Base‘𝐷) = (Base‘𝐷)
3 resscatc.1 . . . . . . . 8 (𝜑 → 𝑈 ∈ 𝑊)
4 resscatc.2 . . . . . . . 8 (𝜑 → 𝑉 ⊆ 𝑈)
53, 4ssexd 5289 . . . . . . 7 (𝜑 → 𝑉 ∈ V)
65adantr 486 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → 𝑉 ∈ V)
7 eqid 2763 . . . . . 6 (Hom ‘𝐷) = (Hom ‘𝐷)
8 simprl 783 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → 𝑥 ∈ (𝑉 ∩ Cat))
91, 2, 5catcbas 18288 . . . . . . . 8 (𝜑 → (Base‘𝐷) = (𝑉 ∩ Cat))
109adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → (Base‘𝐷) = (𝑉 ∩ Cat))
118, 10eleqtrrd 2866 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → 𝑥 ∈ (Base‘𝐷))
12 simprr 785 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → 𝑦 ∈ (𝑉 ∩ Cat))
1312, 10eleqtrrd 2866 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → 𝑦 ∈ (Base‘𝐷))
141, 2, 6, 7, 11, 13catchom 18290 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → (𝑥(Hom ‘𝐷)𝑦) = (𝑥 Func 𝑦))
15 resscatc.c . . . . . 6 𝐶 = (CatCat‘𝑈)
16 eqid 2763 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
173adantr 486 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → 𝑈 ∈ 𝑊)
18 eqid 2763 . . . . . 6 (Hom ‘𝐶) = (Hom ‘𝐶)
19 inass 4126 . . . . . . . . . . 11 ((𝑉 ∩ 𝑈) ∩ Cat) = (𝑉 ∩ (𝑈 ∩ Cat))
2015, 16, 3catcbas 18288 . . . . . . . . . . . 12 (𝜑 → (Base‘𝐶) = (𝑈 ∩ Cat))
2120ineq2d 4119 . . . . . . . . . . 11 (𝜑 → (𝑉 ∩ (Base‘𝐶)) = (𝑉 ∩ (𝑈 ∩ Cat)))
2219, 21eqtr4id 2817 . . . . . . . . . 10 (𝜑 → ((𝑉 ∩ 𝑈) ∩ Cat) = (𝑉 ∩ (Base‘𝐶)))
23 dfss2 4096 . . . . . . . . . . . 12 (𝑉 ⊆ 𝑈 ↔ (𝑉 ∩ 𝑈) = 𝑉)
244, 23sylib 221 . . . . . . . . . . 11 (𝜑 → (𝑉 ∩ 𝑈) = 𝑉)
2524ineq1d 4118 . . . . . . . . . 10 (𝜑 → ((𝑉 ∩ 𝑈) ∩ Cat) = (𝑉 ∩ Cat))
26 eqid 2763 . . . . . . . . . . . 12 (𝐶 ↾s 𝑉) = (𝐶 ↾s 𝑉)
2726, 16ressbas 17426 . . . . . . . . . . 11 (𝑉 ∈ V → (𝑉 ∩ (Base‘𝐶)) = (Base‘(𝐶 ↾s 𝑉)))
285, 27syl 18 . . . . . . . . . 10 (𝜑 → (𝑉 ∩ (Base‘𝐶)) = (Base‘(𝐶 ↾s 𝑉)))
2922, 25, 283eqtr3d 2806 . . . . . . . . 9 (𝜑 → (𝑉 ∩ Cat) = (Base‘(𝐶 ↾s 𝑉)))
3026, 16ressbasss 17429 . . . . . . . . 9 (Base‘(𝐶 ↾s 𝑉)) ⊆ (Base‘𝐶)
3129, 30eqsstrdi 3956 . . . . . . . 8 (𝜑 → (𝑉 ∩ Cat) ⊆ (Base‘𝐶))
3231adantr 486 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → (𝑉 ∩ Cat) ⊆ (Base‘𝐶))
3332, 8sseldd 3913 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → 𝑥 ∈ (Base‘𝐶))
3432, 12sseldd 3913 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → 𝑦 ∈ (Base‘𝐶))
3515, 16, 17, 18, 33, 34catchom 18290 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → (𝑥(Hom ‘𝐶)𝑦) = (𝑥 Func 𝑦))
3626, 18resshom 17601 . . . . . . 7 (𝑉 ∈ V → (Hom ‘𝐶) = (Hom ‘(𝐶 ↾s 𝑉)))
375, 36syl 18 . . . . . 6 (𝜑 → (Hom ‘𝐶) = (Hom ‘(𝐶 ↾s 𝑉)))
3837oveqdr 7455 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → (𝑥(Hom ‘𝐶)𝑦) = (𝑥(Hom ‘(𝐶 ↾s 𝑉))𝑦))
3914, 35, 383eqtr2rd 2805 . . . 4 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat))) → (𝑥(Hom ‘(𝐶 ↾s 𝑉))𝑦) = (𝑥(Hom ‘𝐷)𝑦))
4039ralrimivva 3208 . . 3 (𝜑 → ∀𝑥 ∈ (𝑉 ∩ Cat)∀𝑦 ∈ (𝑉 ∩ Cat)(𝑥(Hom ‘(𝐶 ↾s 𝑉))𝑦) = (𝑥(Hom ‘𝐷)𝑦))
41 eqid 2763 . . . 4 (Hom ‘(𝐶 ↾s 𝑉)) = (Hom ‘(𝐶 ↾s 𝑉))
429eqcomd 2769 . . . 4 (𝜑 → (𝑉 ∩ Cat) = (Base‘𝐷))
4341, 7, 29, 42homfeq 17880 . . 3 (𝜑 → ((Homf ‘(𝐶 ↾s 𝑉)) = (Homf ‘𝐷) ↔ ∀𝑥 ∈ (𝑉 ∩ Cat)∀𝑦 ∈ (𝑉 ∩ Cat)(𝑥(Hom ‘(𝐶 ↾s 𝑉))𝑦) = (𝑥(Hom ‘𝐷)𝑦)))
4440, 43mpbird 260 . 2 (𝜑 → (Homf ‘(𝐶 ↾s 𝑉)) = (Homf ‘𝐷))
455ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑉 ∈ V)
46 eqid 2763 . . . . . . . 8 (comp‘𝐷) = (comp‘𝐷)
47 simplr1 1234 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑥 ∈ (𝑉 ∩ Cat))
489ad2antrr 739 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → (Base‘𝐷) = (𝑉 ∩ Cat))
4947, 48eleqtrrd 2866 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑥 ∈ (Base‘𝐷))
50 simplr2 1235 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑦 ∈ (𝑉 ∩ Cat))
5150, 48eleqtrrd 2866 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑦 ∈ (Base‘𝐷))
52 simplr3 1236 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑧 ∈ (𝑉 ∩ Cat))
5352, 48eleqtrrd 2866 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑧 ∈ (Base‘𝐷))
54 simprl 783 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦))
551, 2, 45, 7, 49, 51catchom 18290 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → (𝑥(Hom ‘𝐷)𝑦) = (𝑥 Func 𝑦))
5654, 55eleqtrd 2865 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑓 ∈ (𝑥 Func 𝑦))
57 simprr 785 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))
581, 2, 45, 7, 51, 53catchom 18290 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → (𝑦(Hom ‘𝐷)𝑧) = (𝑦 Func 𝑧))
5957, 58eleqtrd 2865 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑔 ∈ (𝑦 Func 𝑧))
601, 2, 45, 46, 49, 51, 53, 56, 59catcco 18292 . . . . . . 7 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝐷)𝑧)𝑓) = (𝑔 ∘func 𝑓))
613ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑈 ∈ 𝑊)
62 eqid 2763 . . . . . . . 8 (comp‘𝐶) = (comp‘𝐶)
6331ad2antrr 739 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → (𝑉 ∩ Cat) ⊆ (Base‘𝐶))
6463, 47sseldd 3913 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑥 ∈ (Base‘𝐶))
6563, 50sseldd 3913 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑦 ∈ (Base‘𝐶))
6663, 52sseldd 3913 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → 𝑧 ∈ (Base‘𝐶))
6715, 16, 61, 62, 64, 65, 66, 56, 59catcco 18292 . . . . . . 7 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓) = (𝑔 ∘func 𝑓))
6826, 62ressco 17602 . . . . . . . . . . 11 (𝑉 ∈ V → (comp‘𝐶) = (comp‘(𝐶 ↾s 𝑉)))
695, 68syl 18 . . . . . . . . . 10 (𝜑 → (comp‘𝐶) = (comp‘(𝐶 ↾s 𝑉)))
7069ad2antrr 739 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → (comp‘𝐶) = (comp‘(𝐶 ↾s 𝑉)))
7170oveqd 7444 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → (⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧) = (⟨𝑥, 𝑦⟩(comp‘(𝐶 ↾s 𝑉))𝑧))
7271oveqd 7444 . . . . . . 7 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝐶)𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦⟩(comp‘(𝐶 ↾s 𝑉))𝑧)𝑓))
7360, 67, 723eqtr2d 2804 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) ∧ (𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘𝐷)𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦⟩(comp‘(𝐶 ↾s 𝑉))𝑧)𝑓))
7473ralrimivva 3208 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (𝑉 ∩ Cat) ∧ 𝑦 ∈ (𝑉 ∩ Cat) ∧ 𝑧 ∈ (𝑉 ∩ Cat))) → ∀𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝐷)𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦⟩(comp‘(𝐶 ↾s 𝑉))𝑧)𝑓))
7574ralrimivvva 3211 . . . 4 (𝜑 → ∀𝑥 ∈ (𝑉 ∩ Cat)∀𝑦 ∈ (𝑉 ∩ Cat)∀𝑧 ∈ (𝑉 ∩ Cat)∀𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝐷)𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦⟩(comp‘(𝐶 ↾s 𝑉))𝑧)𝑓))
76 eqid 2763 . . . . 5 (comp‘(𝐶 ↾s 𝑉)) = (comp‘(𝐶 ↾s 𝑉))
7744eqcomd 2769 . . . . 5 (𝜑 → (Homf ‘𝐷) = (Homf ‘(𝐶 ↾s 𝑉)))
7846, 76, 7, 42, 29, 77comfeq 17892 . . . 4 (𝜑 → ((compf‘𝐷) = (compf‘(𝐶 ↾s 𝑉)) ↔ ∀𝑥 ∈ (𝑉 ∩ Cat)∀𝑦 ∈ (𝑉 ∩ Cat)∀𝑧 ∈ (𝑉 ∩ Cat)∀𝑓 ∈ (𝑥(Hom ‘𝐷)𝑦)∀𝑔 ∈ (𝑦(Hom ‘𝐷)𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘𝐷)𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦⟩(comp‘(𝐶 ↾s 𝑉))𝑧)𝑓)))
7975, 78mpbird 260 . . 3 (𝜑 → (compf‘𝐷) = (compf‘(𝐶 ↾s 𝑉)))
8079eqcomd 2769 . 2 (𝜑 → (compf‘(𝐶 ↾s 𝑉)) = (compf‘𝐷))
8144, 80jca 521 1 (𝜑 → ((Homf ‘(𝐶 ↾s 𝑉)) = (Homf ‘𝐷) ∧ (compf‘(𝐶 ↾s 𝑉)) = (compf‘𝐷)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2146  ∀wral 3079  Vcvv 3453   ⊆ wss 3899   ∩ cin 4091  ⟨cop 4837  ‘cfv 6546  (class class class)co 7427  Basecbs 17399   ↾s cress 17420  Hom chom 17451  compcco 17452  Catccat 17850  Homf chomf 17852  compfccomf 17853   Func cfunc 18041   ∘func ccofu 18043  CatCatccatc 18285
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5234  ax-sep 5251  ax-nul 5262  ax-pow 5330  ax-pr 5394  ax-un 7758  ax-cnex 11266  ax-resscn 11267  ax-1cn 11268  ax-icn 11269  ax-addcl 11270  ax-addrcl 11271  ax-mulcl 11272  ax-mulrcl 11273  ax-mulcom 11274  ax-addass 11275  ax-mulass 11276  ax-distr 11277  ax-i2m1 11278  ax-1ne0 11279  ax-1rid 11280  ax-rnegex 11281  ax-rrecex 11282  ax-cnre 11283  ax-pre-lttri 11284  ax-pre-lttrn 11285  ax-pre-ltadd 11286  ax-pre-mulgt0 11287
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-nel 3065  df-ral 3080  df-rex 3090  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-tp 4592  df-op 4838  df-uni 4870  df-iun 4955  df-br 5106  df-opab 5170  df-mpt 5189  df-tr 5215  df-id 5549  df-eprel 5554  df-po 5562  df-so 5563  df-fr 5607  df-we 5609  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-pred 6310  df-ord 6371  df-on 6372  df-lim 6373  df-suc 6374  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554  df-riota 7384  df-ov 7430  df-oprab 7431  df-mpo 7432  df-om 7885  df-1st 8008  df-2nd 8009  df-frecs 8310  df-wrecs 8341  df-recs 8390  df-rdg 8429  df-1o 8487  df-er 8728  df-en 8985  df-dom 8986  df-sdom 8987  df-fin 8988  df-pnf 11355  df-mnf 11356  df-xr 11357  df-ltxr 11358  df-le 11359  df-sub 11553  df-neg 11554  df-nn 12346  df-2 12415  df-3 12416  df-4 12417  df-5 12418  df-6 12419  df-7 12420  df-8 12421  df-9 12422  df-n0 12617  df-z 12704  df-dec 12825  df-uz 12976  df-fz 13650  df-struct 17337  df-sets 17354  df-slot 17372  df-ndx 17384  df-base 17400  df-ress 17421  df-hom 17464  df-cco 17465  df-homf 17856  df-comf 17857  df-catc 18286
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator