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

Theorem ressffth 18115
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 18037 . . 3 Rel (𝐷 Func 𝐷)
2 ressffth.d . . . . 5 𝐷 = (𝐶 ↾s 𝑆)
3 resscat 18027 . . . . 5 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐶 ↾s 𝑆) ∈ Cat)
42, 3eqeltrid 2865 . . . 4 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐷 ∈ Cat)
5 ressffth.i . . . . 5 𝐼 = (idfunc‘𝐷)
65idfucl 18056 . . . 4 (𝐷 ∈ Cat → 𝐼 ∈ (𝐷 Func 𝐷))
74, 6syl 18 . . 3 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐼 ∈ (𝐷 Func 𝐷))
8 1st2nd 8050 . . 3 ((Rel (𝐷 Func 𝐷) ∧ 𝐼 ∈ (𝐷 Func 𝐷)) → 𝐼 = ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩)
91, 7, 8sylancr 599 . 2 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐼 = ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩)
10 eqidd 2762 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (Homf ‘𝐷) = (Homf ‘𝐷))
11 eqidd 2762 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (compf‘𝐷) = (compf‘𝐷))
12 eqid 2761 . . . . . . . . . . . . . 14 (Base‘𝐶) = (Base‘𝐶)
1312ressinbas 17423 . . . . . . . . . . . . 13 (𝑆 ∈ 𝑉 → (𝐶 ↾s 𝑆) = (𝐶 ↾s (𝑆 ∩ (Base‘𝐶))))
1413adantl 487 . . . . . . . . . . . 12 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐶 ↾s 𝑆) = (𝐶 ↾s (𝑆 ∩ (Base‘𝐶))))
152, 14eqtrid 2808 . . . . . . . . . . 11 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐷 = (𝐶 ↾s (𝑆 ∩ (Base‘𝐶))))
1615fveq2d 6889 . . . . . . . . . 10 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (Homf ‘𝐷) = (Homf ‘(𝐶 ↾s (𝑆 ∩ (Base‘𝐶)))))
17 eqid 2761 . . . . . . . . . . . 12 (Homf ‘𝐶) = (Homf ‘𝐶)
18 simpl 488 . . . . . . . . . . . 12 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐶 ∈ Cat)
19 inss2 4183 . . . . . . . . . . . . 13 (𝑆 ∩ (Base‘𝐶)) ⊆ (Base‘𝐶)
2019a1i 11 . . . . . . . . . . . 12 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝑆 ∩ (Base‘𝐶)) ⊆ (Base‘𝐶))
21 eqid 2761 . . . . . . . . . . . 12 (𝐶 ↾s (𝑆 ∩ (Base‘𝐶))) = (𝐶 ↾s (𝑆 ∩ (Base‘𝐶)))
22 eqid 2761 . . . . . . . . . . . 12 (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶))))) = (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))
2312, 17, 18, 20, 21, 22fullresc 18026 . . . . . . . . . . 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 2796 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (Homf ‘𝐷) = (Homf ‘(𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))))
2615fveq2d 6889 . . . . . . . . . 10 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (compf‘𝐷) = (compf‘(𝐶 ↾s (𝑆 ∩ (Base‘𝐶)))))
2723simprd 501 . . . . . . . . . 10 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (compf‘(𝐶 ↾s (𝑆 ∩ (Base‘𝐶)))) = (compf‘(𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))))
2826, 27eqtrd 2796 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (compf‘𝐷) = (compf‘(𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))))
292ovexi 7454 . . . . . . . . . 10 𝐷 ∈ V
3029a1i 11 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐷 ∈ V)
31 ovexd 7455 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶))))) ∈ V)
3210, 11, 25, 28, 30, 30, 30, 31funcpropd 18077 . . . . . . . 8 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐷 Func 𝐷) = (𝐷 Func (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))))
3312, 17, 18, 20fullsubc 18025 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))) ∈ (Subcat‘𝐶))
34 funcres2 18073 . . . . . . . . 9 (((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))) ∈ (Subcat‘𝐶) → (𝐷 Func (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))) ⊆ (𝐷 Func 𝐶))
3533, 34syl 18 . . . . . . . 8 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐷 Func (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))) ⊆ (𝐷 Func 𝐶))
3632, 35eqsstrd 3965 . . . . . . 7 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐷 Func 𝐷) ⊆ (𝐷 Func 𝐶))
3736, 7sseldd 3932 . . . . . 6 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐼 ∈ (𝐷 Func 𝐶))
389, 37eqeltrrd 2862 . . . . 5 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ (𝐷 Func 𝐶))
39 df-br 5104 . . . . 5 ((1st ‘𝐼)(𝐷 Func 𝐶)(2nd ‘𝐼) ↔ ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ (𝐷 Func 𝐶))
4038, 39sylibr 237 . . . 4 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (1st ‘𝐼)(𝐷 Func 𝐶)(2nd ‘𝐼))
41 f1oi 6863 . . . . . 6 ( I ↾ (𝑥(Hom ‘𝐷)𝑦)):(𝑥(Hom ‘𝐷)𝑦)–1-1-onto→(𝑥(Hom ‘𝐷)𝑦)
42 eqid 2761 . . . . . . . 8 (Base‘𝐷) = (Base‘𝐷)
434adantr 486 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → 𝐷 ∈ Cat)
44 eqid 2761 . . . . . . . 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 18052 . . . . . . 7 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (𝑥(2nd ‘𝐼)𝑦) = ( I ↾ (𝑥(Hom ‘𝐷)𝑦)))
48 eqidd 2762 . . . . . . 7 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (𝑥(Hom ‘𝐷)𝑦) = (𝑥(Hom ‘𝐷)𝑦))
49 eqid 2761 . . . . . . . . . 10 (Hom ‘𝐶) = (Hom ‘𝐶)
502, 49resshom 17589 . . . . . . . . 9 (𝑆 ∈ 𝑉 → (Hom ‘𝐶) = (Hom ‘𝐷))
5150ad2antlr 740 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (Hom ‘𝐶) = (Hom ‘𝐷))
525, 42, 43, 45idfu1 18055 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → ((1st ‘𝐼)‘𝑥) = 𝑥)
535, 42, 43, 46idfu1 18055 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → ((1st ‘𝐼)‘𝑦) = 𝑦)
5451, 52, 53oveq123d 7441 . . . . . . 7 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)) = (𝑥(Hom ‘𝐷)𝑦))
5547, 48, 54f1oeq123d 6818 . . . . . 6 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → ((𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐷)𝑦)–1-1-onto→(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)) ↔ ( I ↾ (𝑥(Hom ‘𝐷)𝑦)):(𝑥(Hom ‘𝐷)𝑦)–1-1-onto→(𝑥(Hom ‘𝐷)𝑦)))
5641, 55mpbiri 261 . . . . 5 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐷)𝑦)–1-1-onto→(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)))
5756ralrimivva 3206 . . . 4 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → ∀𝑥 ∈ (Base‘𝐷)∀𝑦 ∈ (Base‘𝐷)(𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐷)𝑦)–1-1-onto→(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)))
5842, 44, 49isffth2 18093 . . . 4 ((1st ‘𝐼)((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶))(2nd ‘𝐼) ↔ ((1st ‘𝐼)(𝐷 Func 𝐶)(2nd ‘𝐼) ∧ ∀𝑥 ∈ (Base‘𝐷)∀𝑦 ∈ (Base‘𝐷)(𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐷)𝑦)–1-1-onto→(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦))))
5940, 57, 58sylanbrc 595 . . 3 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (1st ‘𝐼)((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶))(2nd ‘𝐼))
60 df-br 5104 . . 3 ((1st ‘𝐼)((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶))(2nd ‘𝐼) ↔ ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ ((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶)))
6159, 60sylib 221 . 2 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ ((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶)))
629, 61eqeltrd 2861 1 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐼 ∈ ((𝐷 Full 𝐶) ∩ (𝐷 Faith 𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∀wral 3077  Vcvv 3451   ∩ cin 3898   ⊆ wss 3899  ⟨cop 4590   class class class wbr 5103   I cid 5545   × cxp 5649   ↾ cres 5653  Rel wrel 5656  –1-1-onto→wf1o 6537  ‘cfv 6538  (class class class)co 7420  1st c1st 7999  2nd c2nd 8000  Basecbs 17387   ↾s cress 17408  Hom chom 17439  Catccat 17838  Homf chomf 17840  compfccomf 17841   ↾cat cresc 17983  Subcatcsubc 17984   Func cfunc 18029  idfunccidfu 18030   Full cful 18079   Faith cfth 18080
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751  ax-cnex 11256  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-er 8717  df-map 8849  df-pm 8850  df-ixp 8926  df-en 8974  df-dom 8975  df-sdom 8976  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-nn 12336  df-2 12405  df-3 12406  df-4 12407  df-5 12408  df-6 12409  df-7 12410  df-8 12411  df-9 12412  df-n0 12607  df-z 12694  df-dec 12815  df-sets 17342  df-slot 17360  df-ndx 17372  df-base 17388  df-ress 17409  df-hom 17452  df-cco 17453  df-cat 17842  df-cid 17843  df-homf 17844  df-comf 17845  df-ssc 17985  df-resc 17986  df-subc 17987  df-func 18033  df-idfu 18034  df-full 18081  df-fth 18082
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator