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

Theorem ressffth 18165
Description: The inclusion functor from a full subcategory is a full and faithful functor, see also remark 4.4(2) in [Adamek] p. 49. (Contributed by Mario Carneiro, 27-Jan-2017.)
Hypotheses
Ref Expression
ressffth.d 𝐷 = (𝐶 ↾s 𝑆)
ressffth.i 𝐼 = (idfunc‘𝐷)
Assertion
Ref Expression
ressffth ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐼 ∈ ((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶)))

Proof of Theorem ressffth
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relfunc 18087 . . 3 Rel (𝐷 Func 𝐷)
2 ressffth.d . . . . 5 𝐷 = (𝐶 ↾s 𝑆)
3 resscat 18077 . . . . 5 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐶 ↾s 𝑆) ∈ Cat)
42, 3eqeltrid 2868 . . . 4 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐷 ∈ Cat)
5 ressffth.i . . . . 5 𝐼 = (idfunc‘𝐷)
65idfucl 18106 . . . 4 (𝐷 ∈ Cat → 𝐼 ∈ (𝐷 Func 𝐷))
74, 6syl 18 . . 3 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐼 ∈ (𝐷 Func 𝐷))
8 1st2nd 8084 . . 3 ((Rel (𝐷 Func 𝐷) ∧ 𝐼 ∈ (𝐷 Func 𝐷)) → 𝐼 = ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩)
91, 7, 8sylancr 599 . 2 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐼 = ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩)
10 eqidd 2764 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (Homf ‘𝐷) = (Homf ‘𝐷))
11 eqidd 2764 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (compf‘𝐷) = (compf‘𝐷))
12 eqid 2763 . . . . . . . . . . . . . 14 (Base‘𝐶) = (Base‘𝐶)
1312ressinbas 17467 . . . . . . . . . . . . 13 (𝑆 ∈ 𝑉 → (𝐶 ↾s 𝑆) = (𝐶 ↾s (𝑆 ∩ (Base‘𝐶))))
1413adantl 487 . . . . . . . . . . . 12 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐶 ↾s 𝑆) = (𝐶 ↾s (𝑆 ∩ (Base‘𝐶))))
152, 14eqtrid 2810 . . . . . . . . . . 11 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐷 = (𝐶 ↾s (𝑆 ∩ (Base‘𝐶))))
1615fveq2d 6920 . . . . . . . . . 10 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (Homf ‘𝐷) = (Homf ‘(𝐶 ↾s (𝑆 ∩ (Base‘𝐶)))))
17 eqid 2763 . . . . . . . . . . . 12 (Homf ‘𝐶) = (Homf ‘𝐶)
18 simpl 488 . . . . . . . . . . . 12 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐶 ∈ Cat)
19 inss2 4137 . . . . . . . . . . . . 13 (𝑆 ∩ (Base‘𝐶)) ⊆ (Base‘𝐶)
2019a1i 11 . . . . . . . . . . . 12 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝑆 ∩ (Base‘𝐶)) ⊆ (Base‘𝐶))
21 eqid 2763 . . . . . . . . . . . 12 (𝐶 ↾s (𝑆 ∩ (Base‘𝐶))) = (𝐶 ↾s (𝑆 ∩ (Base‘𝐶)))
22 eqid 2763 . . . . . . . . . . . 12 (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶))))) = (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))
2312, 17, 18, 20, 21, 22fullresc 18076 . . . . . . . . . . 11 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → ((Homf ‘(𝐶 ↾s (𝑆 ∩ (Base‘𝐶)))) = (Homf ‘(𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))) ∧ (compf‘(𝐶 ↾s (𝑆 ∩ (Base‘𝐶)))) = (compf‘(𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶))))))))
2423simpld 500 . . . . . . . . . 10 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (Homf ‘(𝐶 ↾s (𝑆 ∩ (Base‘𝐶)))) = (Homf ‘(𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))))
2516, 24eqtrd 2798 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (Homf ‘𝐷) = (Homf ‘(𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))))
2615fveq2d 6920 . . . . . . . . . 10 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (compf‘𝐷) = (compf‘(𝐶 ↾s (𝑆 ∩ (Base‘𝐶)))))
2723simprd 501 . . . . . . . . . 10 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (compf‘(𝐶 ↾s (𝑆 ∩ (Base‘𝐶)))) = (compf‘(𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))))
2826, 27eqtrd 2798 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (compf‘𝐷) = (compf‘(𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))))
292ovexi 7485 . . . . . . . . . 10 𝐷 ∈ V
3029a1i 11 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐷 ∈ V)
31 ovexd 7486 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶))))) ∈ V)
3210, 11, 25, 28, 30, 30, 30, 31funcpropd 18127 . . . . . . . 8 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐷 Func 𝐷) = (𝐷 Func (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))))
3312, 17, 18, 20fullsubc 18075 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))) ∈ (Subcat‘𝐶))
34 funcres2 18123 . . . . . . . . 9 (((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))) ∈ (Subcat‘𝐶) → (𝐷 Func (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))) ⊆ (𝐷 Func 𝐶))
3533, 34syl 18 . . . . . . . 8 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐷 Func (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))) ⊆ (𝐷 Func 𝐶))
3632, 35eqsstrd 3947 . . . . . . 7 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐷 Func 𝐷) ⊆ (𝐷 Func 𝐶))
3736, 7sseldd 3914 . . . . . 6 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐼 ∈ (𝐷 Func 𝐶))
389, 37eqeltrrd 2865 . . . . 5 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ (𝐷 Func 𝐶))
39 df-br 5109 . . . . 5 ((1st ‘𝐼)(𝐷 Func 𝐶)(2nd ‘𝐼) ↔ ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ (𝐷 Func 𝐶))
4038, 39sylibr 237 . . . 4 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (1st ‘𝐼)(𝐷 Func 𝐶)(2nd ‘𝐼))
41 f1oi 6894 . . . . . 6 ( I ↾ (𝑥(Hom ‘𝐷)𝑦)):(𝑥(Hom ‘𝐷)𝑦)⟶1-1onto(𝑥(Hom ‘𝐷)𝑦)
42 eqid 2763 . . . . . . . 8 (Base‘𝐷) = (Base‘𝐷)
434adantr 486 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → 𝐷 ∈ Cat)
44 eqid 2763 . . . . . . . 8 (Hom ‘𝐷) = (Hom ‘𝐷)
45 simprl 783 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → 𝑥 ∈ (Base‘𝐷))
46 simprr 785 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → 𝑦 ∈ (Base‘𝐷))
475, 42, 43, 44, 45, 46idfu2nd 18102 . . . . . . 7 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (𝑥(2nd ‘𝐼)𝑦) = ( I ↾ (𝑥(Hom ‘𝐷)𝑦)))
48 eqidd 2764 . . . . . . 7 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (𝑥(Hom ‘𝐷)𝑦) = (𝑥(Hom ‘𝐷)𝑦))
49 eqid 2763 . . . . . . . . . 10 (Hom ‘𝐶) = (Hom ‘𝐶)
502, 49resshom 17639 . . . . . . . . 9 (𝑆 ∈ 𝑉 → (Hom ‘𝐶) = (Hom ‘𝐷))
5150ad2antlr 740 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (Hom ‘𝐶) = (Hom ‘𝐷))
525, 42, 43, 45idfu1 18105 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → ((1st ‘𝐼)‘𝑥) = 𝑥)
535, 42, 43, 46idfu1 18105 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → ((1st ‘𝐼)‘𝑦) = 𝑦)
5451, 52, 53oveq123d 7472 . . . . . . 7 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)) = (𝑥(Hom ‘𝐷)𝑦))
5547, 48, 54f1oeq123d 6848 . . . . . 6 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → ((𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐷)𝑦)⟶1-1onto(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)) ↔ ( I ↾ (𝑥(Hom ‘𝐷)𝑦)):(𝑥(Hom ‘𝐷)𝑦)⟶1-1onto(𝑥(Hom ‘𝐷)𝑦)))
5641, 55mpbiri 261 . . . . 5 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐷)𝑦)⟶1-1onto(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)))
5756ralrimivva 3209 . . . 4 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → ∀𝑥 ∈ (Base‘𝐷)∀𝑦 ∈ (Base‘𝐷)(𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐷)𝑦)⟶1-1onto(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)))
5842, 44, 49isffth2 18143 . . . 4 ((1st ‘𝐼)((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶))(2nd ‘𝐼) ↔ ((1st ‘𝐼)(𝐷 Func 𝐶)(2nd ‘𝐼) ∧ ∀𝑥 ∈ (Base‘𝐷)∀𝑦 ∈ (Base‘𝐷)(𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐷)𝑦)⟶1-1onto(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦))))
5940, 57, 58sylanbrc 595 . . 3 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (1st ‘𝐼)((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶))(2nd ‘𝐼))
60 df-br 5109 . . 3 ((1st ‘𝐼)((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶))(2nd ‘𝐼) ↔ ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ ((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶)))
6159, 60sylib 221 . 2 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ ((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶)))
629, 61eqeltrd 2864 1 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐼 ∈ ((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080  Vcvv 3454   ⊆ wss 3900   ∩ cin 4092  ⟨cop 4840   class class class wbr 5108   I cid 5552   × cxp 5656   ↾ cres 5660  Rel wrel 5663  ⟶1-1ontowf1o 6565  ‘cfv 6566  (class class class)co 7451  1st c1st 8033  2nd c2nd 8034  Basecbs 17431   ↾s cress 17452  Hom chom 17483  Catccat 17888  Homf chomf 17890  compfccomf 17891   ↾cat cresc 18033  Subcatcsubc 18034   Func cfunc 18079  idfunccidfu 18080   Full cful 18129   Faith cfth 18130
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-cnex 11295  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315  ax-pre-mulgt0 11316
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-1st 8035  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-er 8755  df-map 8887  df-pm 8888  df-ixp 8964  df-en 9012  df-dom 9013  df-sdom 9014  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-sub 11582  df-neg 11583  df-nn 12376  df-2 12445  df-3 12446  df-4 12447  df-5 12448  df-6 12449  df-7 12450  df-8 12451  df-9 12452  df-n0 12647  df-z 12734  df-dec 12855  df-sets 17386  df-slot 17404  df-ndx 17416  df-base 17432  df-ress 17453  df-hom 17497  df-cco 17498  df-cat 17892  df-cid 17893  df-homf 17894  df-comf 17895  df-ssc 18035  df-resc 18036  df-subc 18037  df-func 18083  df-idfu 18084  df-full 18131  df-fth 18132
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator