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

Theorem idffth 18188
Description: The identity functor is a fully faithful functor. (Contributed by Mario Carneiro, 27-Jan-2017.)
Hypothesis
Ref Expression
idffth.i 𝐼 = (idfunc‘𝐶)
Assertion
Ref Expression
idffth (𝐶 ∈ Cat → 𝐼 ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))

Proof of Theorem idffth
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relfunc 18115 . . 3 Rel (𝐶 Func 𝐶)
2 idffth.i . . . 4 𝐼 = (idfunc‘𝐶)
32idfucl 18134 . . 3 (𝐶 ∈ Cat → 𝐼 ∈ (𝐶 Func 𝐶))
4 1st2nd 8103 . . 3 ((Rel (𝐶 Func 𝐶) ∧ 𝐼 ∈ (𝐶 Func 𝐶)) → 𝐼 = ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩)
51, 3, 4sylancr 599 . 2 (𝐶 ∈ Cat → 𝐼 = ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩)
65, 3eqeltrrd 2876 . . . . 5 (𝐶 ∈ Cat → ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ (𝐶 Func 𝐶))
7 df-br 5117 . . . . 5 ((1st ‘𝐼)(𝐶 Func 𝐶)(2nd ‘𝐼) ↔ ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ (𝐶 Func 𝐶))
86, 7sylibr 237 . . . 4 (𝐶 ∈ Cat → (1st ‘𝐼)(𝐶 Func 𝐶)(2nd ‘𝐼))
9 f1oi 6912 . . . . . 6 ( I ↾ (𝑥(Hom ‘𝐶)𝑦)):(𝑥(Hom ‘𝐶)𝑦)⟶1-1onto(𝑥(Hom ‘𝐶)𝑦)
10 eqid 2774 . . . . . . . 8 (Base‘𝐶) = (Base‘𝐶)
11 simpl 488 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝐶 ∈ Cat)
12 eqid 2774 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
13 simprl 783 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶))
14 simprr 785 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶))
152, 10, 11, 12, 13, 14idfu2nd 18130 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝐼)𝑦) = ( I ↾ (𝑥(Hom ‘𝐶)𝑦)))
16 eqidd 2775 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(Hom ‘𝐶)𝑦) = (𝑥(Hom ‘𝐶)𝑦))
172, 10, 11, 13idfu1 18133 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st ‘𝐼)‘𝑥) = 𝑥)
182, 10, 11, 14idfu1 18133 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st ‘𝐼)‘𝑦) = 𝑦)
1917, 18oveq12d 7488 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)) = (𝑥(Hom ‘𝐶)𝑦))
2015, 16, 19f1oeq123d 6866 . . . . . 6 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶1-1onto(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)) ↔ ( I ↾ (𝑥(Hom ‘𝐶)𝑦)):(𝑥(Hom ‘𝐶)𝑦)⟶1-1onto(𝑥(Hom ‘𝐶)𝑦)))
219, 20mpbiri 261 . . . . 5 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶1-1onto(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)))
2221ralrimivva 3220 . . . 4 (𝐶 ∈ Cat → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶1-1onto(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦)))
2310, 12, 12isffth2 18171 . . . 4 ((1st ‘𝐼)((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶))(2nd ‘𝐼) ↔ ((1st ‘𝐼)(𝐶 Func 𝐶)(2nd ‘𝐼) ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(2nd ‘𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶1-1onto(((1st ‘𝐼)‘𝑥)(Hom ‘𝐶)((1st ‘𝐼)‘𝑦))))
248, 22, 23sylanbrc 595 . . 3 (𝐶 ∈ Cat → (1st ‘𝐼)((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶))(2nd ‘𝐼))
25 df-br 5117 . . 3 ((1st ‘𝐼)((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶))(2nd ‘𝐼) ↔ ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
2624, 25sylib 221 . 2 (𝐶 ∈ Cat → ⟨(1st ‘𝐼), (2nd ‘𝐼)⟩ ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
275, 26eqeltrd 2875 1 (𝐶 ∈ Cat → 𝐼 ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∀wral 3091   ∩ cin 4099  ⟨cop 4848   class class class wbr 5116   I cid 5560   ↾ cres 5668  Rel wrel 5671  ⟶1-1ontowf1o 6578  ‘cfv 6579  (class class class)co 7470  1st c1st 8052  2nd c2nd 8053  Basecbs 17455  Hom chom 17507  Catccat 17916   Func cfunc 18107  idfunccidfu 18108   Full cful 18157   Faith cfth 18158
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-1st 8054  df-2nd 8055  df-map 8906  df-ixp 8983  df-cat 17920  df-cid 17921  df-func 18111  df-idfu 18112  df-full 18159  df-fth 18160
This theorem is used by:  rescfth  18192
  Copyright terms: Public domain W3C validator