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

Theorem idffth 17197
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 17126 . . 3 Rel (𝐶 Func 𝐶)
2 idffth.i . . . 4 𝐼 = (idfunc𝐶)
32idfucl 17145 . . 3 (𝐶 ∈ Cat → 𝐼 ∈ (𝐶 Func 𝐶))
4 1st2nd 7732 . . 3 ((Rel (𝐶 Func 𝐶) ∧ 𝐼 ∈ (𝐶 Func 𝐶)) → 𝐼 = ⟨(1st𝐼), (2nd𝐼)⟩)
51, 3, 4sylancr 589 . 2 (𝐶 ∈ Cat → 𝐼 = ⟨(1st𝐼), (2nd𝐼)⟩)
65, 3eqeltrrd 2914 . . . . 5 (𝐶 ∈ Cat → ⟨(1st𝐼), (2nd𝐼)⟩ ∈ (𝐶 Func 𝐶))
7 df-br 5060 . . . . 5 ((1st𝐼)(𝐶 Func 𝐶)(2nd𝐼) ↔ ⟨(1st𝐼), (2nd𝐼)⟩ ∈ (𝐶 Func 𝐶))
86, 7sylibr 236 . . . 4 (𝐶 ∈ Cat → (1st𝐼)(𝐶 Func 𝐶)(2nd𝐼))
9 f1oi 6647 . . . . . 6 ( I ↾ (𝑥(Hom ‘𝐶)𝑦)):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(𝑥(Hom ‘𝐶)𝑦)
10 eqid 2821 . . . . . . . 8 (Base‘𝐶) = (Base‘𝐶)
11 simpl 485 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝐶 ∈ Cat)
12 eqid 2821 . . . . . . . 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 17141 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐼)𝑦) = ( I ↾ (𝑥(Hom ‘𝐶)𝑦)))
16 eqidd 2822 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(Hom ‘𝐶)𝑦) = (𝑥(Hom ‘𝐶)𝑦))
172, 10, 11, 13idfu1 17144 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝐼)‘𝑥) = 𝑥)
182, 10, 11, 14idfu1 17144 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝐼)‘𝑦) = 𝑦)
1917, 18oveq12d 7168 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦)) = (𝑥(Hom ‘𝐶)𝑦))
2015, 16, 19f1oeq123d 6605 . . . . . 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 3191 . . . 4 (𝐶 ∈ Cat → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(2nd𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦)))
2310, 12, 12isffth2 17180 . . . 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 5060 . . 3 ((1st𝐼)((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶))(2nd𝐼) ↔ ⟨(1st𝐼), (2nd𝐼)⟩ ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
2624, 25sylib 220 . 2 (𝐶 ∈ Cat → ⟨(1st𝐼), (2nd𝐼)⟩ ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
275, 26eqeltrd 2913 1 (𝐶 ∈ Cat → 𝐼 ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wcel 2110  wral 3138  cin 3935  cop 4567   class class class wbr 5059   I cid 5454  cres 5552  Rel wrel 5555  1-1-ontowf1o 6349  cfv 6350  (class class class)co 7150  1st c1st 7681  2nd c2nd 7682  Basecbs 16477  Hom chom 16570  Catccat 16929   Func cfunc 17118  idfunccidfu 17119   Full cful 17166   Faith cfth 17167
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-rep 5183  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3497  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-res 5562  df-ima 5563  df-iota 6309  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357  df-fv 6358  df-riota 7108  df-ov 7153  df-oprab 7154  df-mpo 7155  df-1st 7683  df-2nd 7684  df-map 8402  df-ixp 8456  df-cat 16933  df-cid 16934  df-func 17122  df-idfu 17123  df-full 17168  df-fth 17169
This theorem is referenced by:  rescfth  17201
  Copyright terms: Public domain W3C validator