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

Theorem idffth 17195
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 17124 . . 3 Rel (𝐶 Func 𝐶)
2 idffth.i . . . 4 𝐼 = (idfunc𝐶)
32idfucl 17143 . . 3 (𝐶 ∈ Cat → 𝐼 ∈ (𝐶 Func 𝐶))
4 1st2nd 7730 . . 3 ((Rel (𝐶 Func 𝐶) ∧ 𝐼 ∈ (𝐶 Func 𝐶)) → 𝐼 = ⟨(1st𝐼), (2nd𝐼)⟩)
51, 3, 4sylancr 589 . 2 (𝐶 ∈ Cat → 𝐼 = ⟨(1st𝐼), (2nd𝐼)⟩)
65, 3eqeltrrd 2912 . . . . 5 (𝐶 ∈ Cat → ⟨(1st𝐼), (2nd𝐼)⟩ ∈ (𝐶 Func 𝐶))
7 df-br 5058 . . . . 5 ((1st𝐼)(𝐶 Func 𝐶)(2nd𝐼) ↔ ⟨(1st𝐼), (2nd𝐼)⟩ ∈ (𝐶 Func 𝐶))
86, 7sylibr 236 . . . 4 (𝐶 ∈ Cat → (1st𝐼)(𝐶 Func 𝐶)(2nd𝐼))
9 f1oi 6645 . . . . . 6 ( I ↾ (𝑥(Hom ‘𝐶)𝑦)):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(𝑥(Hom ‘𝐶)𝑦)
10 eqid 2819 . . . . . . . 8 (Base‘𝐶) = (Base‘𝐶)
11 simpl 485 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝐶 ∈ Cat)
12 eqid 2819 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
13 simprl 769 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶))
14 simprr 771 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶))
152, 10, 11, 12, 13, 14idfu2nd 17139 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐼)𝑦) = ( I ↾ (𝑥(Hom ‘𝐶)𝑦)))
16 eqidd 2820 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(Hom ‘𝐶)𝑦) = (𝑥(Hom ‘𝐶)𝑦))
172, 10, 11, 13idfu1 17142 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝐼)‘𝑥) = 𝑥)
182, 10, 11, 14idfu1 17142 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝐼)‘𝑦) = 𝑦)
1917, 18oveq12d 7166 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦)) = (𝑥(Hom ‘𝐶)𝑦))
2015, 16, 19f1oeq123d 6603 . . . . . 6 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((𝑥(2nd𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦)) ↔ ( I ↾ (𝑥(Hom ‘𝐶)𝑦)):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(𝑥(Hom ‘𝐶)𝑦)))
219, 20mpbiri 260 . . . . 5 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦)))
2221ralrimivva 3189 . . . 4 (𝐶 ∈ Cat → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(2nd𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦)))
2310, 12, 12isffth2 17178 . . . 4 ((1st𝐼)((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶))(2nd𝐼) ↔ ((1st𝐼)(𝐶 Func 𝐶)(2nd𝐼) ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(2nd𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦))))
248, 22, 23sylanbrc 585 . . 3 (𝐶 ∈ Cat → (1st𝐼)((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶))(2nd𝐼))
25 df-br 5058 . . 3 ((1st𝐼)((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶))(2nd𝐼) ↔ ⟨(1st𝐼), (2nd𝐼)⟩ ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
2624, 25sylib 220 . 2 (𝐶 ∈ Cat → ⟨(1st𝐼), (2nd𝐼)⟩ ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
275, 26eqeltrd 2911 1 (𝐶 ∈ Cat → 𝐼 ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1531  wcel 2108  wral 3136  cin 3933  cop 4565   class class class wbr 5057   I cid 5452  cres 5550  Rel wrel 5553  1-1-ontowf1o 6347  cfv 6348  (class class class)co 7148  1st c1st 7679  2nd c2nd 7680  Basecbs 16475  Hom chom 16568  Catccat 16927   Func cfunc 17116  idfunccidfu 17117   Full cful 17164   Faith cfth 17165
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791  ax-rep 5181  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7453
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ne 3015  df-ral 3141  df-rex 3142  df-reu 3143  df-rmo 3144  df-rab 3145  df-v 3495  df-sbc 3771  df-csb 3882  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-pw 4539  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4831  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-riota 7106  df-ov 7151  df-oprab 7152  df-mpo 7153  df-1st 7681  df-2nd 7682  df-map 8400  df-ixp 8454  df-cat 16931  df-cid 16932  df-func 17120  df-idfu 17121  df-full 17166  df-fth 17167
This theorem is referenced by:  rescfth  17199
  Copyright terms: Public domain W3C validator