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

Theorem ressffth 18130
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 18052 . . 3 Rel (𝐷 Func 𝐷)
2 ressffth.d . . . . 5 𝐷 = (𝐶 ↾s 𝑆)
3 resscat 18042 . . . . 5 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐶 ↾s 𝑆) ∈ Cat)
42, 3eqeltrid 2868 . . . 4 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐷 ∈ Cat)
5 ressffth.i . . . . 5 𝐼 = (idfunc‘𝐷)
65idfucl 18071 . . . 4 (𝐷 ∈ Cat → 𝐼 ∈ (𝐷 Func 𝐷))
74, 6syl 18 . . 3 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐼 ∈ (𝐷 Func 𝐷))
8 1st2nd 8060 . . 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 17438 . . . . . . . . . . . . 13 (𝑆 ∈ 𝑉 → (𝐶 ↾s 𝑆) = (𝐶 ↾s (𝑆 ∩ (Base‘𝐶))))
1413adantl 487 . . . . . . . . . . . 12 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐶 ↾s 𝑆) = (𝐶 ↾s (𝑆 ∩ (Base‘𝐶))))
152, 14eqtrid 2810 . . . . . . . . . . 11 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐷 = (𝐶 ↾s (𝑆 ∩ (Base‘𝐶))))
1615fveq2d 6900 . . . . . . . . . 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 18041 . . . . . . . . . . 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 6900 . . . . . . . . . 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 7464 . . . . . . . . . 10 𝐷 ∈ V
3029a1i 11 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → 𝐷 ∈ V)
31 ovexd 7465 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶))))) ∈ V)
3210, 11, 25, 28, 30, 30, 30, 31funcpropd 18092 . . . . . . . 8 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (𝐷 Func 𝐷) = (𝐷 Func (𝐶 ↾cat ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))))))
3312, 17, 18, 20fullsubc 18040 . . . . . . . . 9 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → ((Homf ‘𝐶) ↾ ((𝑆 ∩ (Base‘𝐶)) × (𝑆 ∩ (Base‘𝐶)))) ∈ (Subcat‘𝐶))
34 funcres2 18088 . . . . . . . . 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 5107 . . . . 5 ((1st ‘𝐼)(𝐷 Func 𝐶)(2nd ‘𝐼) ↔ ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ (𝐷 Func 𝐶))
4038, 39sylibr 237 . . . 4 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → (1st ‘𝐼)(𝐷 Func 𝐶)(2nd ‘𝐼))
41 f1oi 6874 . . . . . 6 ( I ↾ (𝑥(Hom ‘𝐷)𝑦)):(𝑥(Hom ‘𝐷)𝑦)–1-1-onto→(𝑥(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 18067 . . . . . . 7 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (𝑥(2nd ‘𝐼)𝑦) = ( I ↾ (𝑥(Hom ‘𝐷)𝑦)))
48 eqidd 2764 . . . . . . 7 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (𝑥(Hom ‘𝐷)𝑦) = (𝑥(Hom ‘𝐷)𝑦))
49 eqid 2763 . . . . . . . . . 10 (Hom ‘𝐶) = (Hom ‘𝐶)
502, 49resshom 17604 . . . . . . . . 9 (𝑆 ∈ 𝑉 → (Hom ‘𝐶) = (Hom ‘𝐷))
5150ad2antlr 740 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (Hom ‘𝐶) = (Hom ‘𝐷))
525, 42, 43, 45idfu1 18070 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → ((1st ‘𝐼)‘𝑥) = 𝑥)
535, 42, 43, 46idfu1 18070 . . . . . . . 8 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → ((1st ‘𝐼)‘𝑦) = 𝑦)
5451, 52, 53oveq123d 7451 . . . . . . 7 (((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) ∧ (𝑥 ∈ (Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐷))) → (((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)) = (𝑥(Hom ‘𝐷)𝑦))
5547, 48, 54f1oeq123d 6829 . . . . . 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 3209 . . . 4 ((𝐶 ∈ Cat ∧ 𝑆 ∈ 𝑉) → ∀𝑥 ∈ (Base‘𝐷)∀𝑦 ∈ (Base‘𝐷)(𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐷)𝑦)–1-1-onto→(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)))
5842, 44, 49isffth2 18108 . . . 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 5107 . . 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 1569   ∈ wcel 2146  ∀wral 3080  Vcvv 3454   ⊆ wss 3900   ∩ cin 4092  ⟨cop 4838   class class class wbr 5106   I cid 5549   × cxp 5653   ↾ cres 5657  Rel wrel 5660  –1-1-onto→wf1o 6546  ‘cfv 6547  (class class class)co 7430  1st c1st 8009  2nd c2nd 8010  Basecbs 17402   ↾s cress 17423  Hom chom 17454  Catccat 17853  Homf chomf 17855  compfccomf 17856   ↾cat cresc 17998  Subcatcsubc 17999   Func cfunc 18044  idfunccidfu 18045   Full cful 18094   Faith cfth 18095
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 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7761  ax-cnex 11269  ax-resscn 11270  ax-1cn 11271  ax-icn 11272  ax-addcl 11273  ax-addrcl 11274  ax-mulcl 11275  ax-mulrcl 11276  ax-mulcom 11277  ax-addass 11278  ax-mulass 11279  ax-distr 11280  ax-i2m1 11281  ax-1ne0 11282  ax-1rid 11283  ax-rnegex 11284  ax-rrecex 11285  ax-cnre 11286  ax-pre-lttri 11287  ax-pre-lttrn 11288  ax-pre-ltadd 11289  ax-pre-mulgt0 11290
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 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 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6311  df-ord 6372  df-on 6373  df-lim 6374  df-suc 6375  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-riota 7387  df-ov 7433  df-oprab 7434  df-mpo 7435  df-om 7888  df-1st 8011  df-2nd 8012  df-frecs 8313  df-wrecs 8344  df-recs 8393  df-rdg 8432  df-er 8731  df-map 8863  df-pm 8864  df-ixp 8940  df-en 8988  df-dom 8989  df-sdom 8990  df-pnf 11358  df-mnf 11359  df-xr 11360  df-ltxr 11361  df-le 11362  df-sub 11556  df-neg 11557  df-nn 12349  df-2 12418  df-3 12419  df-4 12420  df-5 12421  df-6 12422  df-7 12423  df-8 12424  df-9 12425  df-n0 12620  df-z 12707  df-dec 12828  df-sets 17357  df-slot 17375  df-ndx 17387  df-base 17403  df-ress 17424  df-hom 17467  df-cco 17468  df-cat 17857  df-cid 17858  df-homf 17859  df-comf 17860  df-ssc 18000  df-resc 18001  df-subc 18002  df-func 18048  df-idfu 18049  df-full 18096  df-fth 18097
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator