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

Theorem idffth 17394
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 17322 . . 3 Rel (𝐶 Func 𝐶)
2 idffth.i . . . 4 𝐼 = (idfunc𝐶)
32idfucl 17341 . . 3 (𝐶 ∈ Cat → 𝐼 ∈ (𝐶 Func 𝐶))
4 1st2nd 7788 . . 3 ((Rel (𝐶 Func 𝐶) ∧ 𝐼 ∈ (𝐶 Func 𝐶)) → 𝐼 = ⟨(1st𝐼), (2nd𝐼)⟩)
51, 3, 4sylancr 590 . 2 (𝐶 ∈ Cat → 𝐼 = ⟨(1st𝐼), (2nd𝐼)⟩)
65, 3eqeltrrd 2832 . . . . 5 (𝐶 ∈ Cat → ⟨(1st𝐼), (2nd𝐼)⟩ ∈ (𝐶 Func 𝐶))
7 df-br 5040 . . . . 5 ((1st𝐼)(𝐶 Func 𝐶)(2nd𝐼) ↔ ⟨(1st𝐼), (2nd𝐼)⟩ ∈ (𝐶 Func 𝐶))
86, 7sylibr 237 . . . 4 (𝐶 ∈ Cat → (1st𝐼)(𝐶 Func 𝐶)(2nd𝐼))
9 f1oi 6676 . . . . . 6 ( I ↾ (𝑥(Hom ‘𝐶)𝑦)):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(𝑥(Hom ‘𝐶)𝑦)
10 eqid 2736 . . . . . . . 8 (Base‘𝐶) = (Base‘𝐶)
11 simpl 486 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝐶 ∈ Cat)
12 eqid 2736 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
13 simprl 771 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶))
14 simprr 773 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶))
152, 10, 11, 12, 13, 14idfu2nd 17337 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐼)𝑦) = ( I ↾ (𝑥(Hom ‘𝐶)𝑦)))
16 eqidd 2737 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(Hom ‘𝐶)𝑦) = (𝑥(Hom ‘𝐶)𝑦))
172, 10, 11, 13idfu1 17340 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝐼)‘𝑥) = 𝑥)
182, 10, 11, 14idfu1 17340 . . . . . . . 8 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝐼)‘𝑦) = 𝑦)
1917, 18oveq12d 7209 . . . . . . 7 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦)) = (𝑥(Hom ‘𝐶)𝑦))
2015, 16, 19f1oeq123d 6633 . . . . . 6 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((𝑥(2nd𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦)) ↔ ( I ↾ (𝑥(Hom ‘𝐶)𝑦)):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(𝑥(Hom ‘𝐶)𝑦)))
219, 20mpbiri 261 . . . . 5 ((𝐶 ∈ Cat ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦)))
2221ralrimivva 3102 . . . 4 (𝐶 ∈ Cat → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(2nd𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦)))
2310, 12, 12isffth2 17377 . . . 4 ((1st𝐼)((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶))(2nd𝐼) ↔ ((1st𝐼)(𝐶 Func 𝐶)(2nd𝐼) ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(2nd𝐼)𝑦):(𝑥(Hom ‘𝐶)𝑦)–1-1-onto→(((1st𝐼)‘𝑥)(Hom ‘𝐶)((1st𝐼)‘𝑦))))
248, 22, 23sylanbrc 586 . . 3 (𝐶 ∈ Cat → (1st𝐼)((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶))(2nd𝐼))
25 df-br 5040 . . 3 ((1st𝐼)((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶))(2nd𝐼) ↔ ⟨(1st𝐼), (2nd𝐼)⟩ ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
2624, 25sylib 221 . 2 (𝐶 ∈ Cat → ⟨(1st𝐼), (2nd𝐼)⟩ ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
275, 26eqeltrd 2831 1 (𝐶 ∈ Cat → 𝐼 ∈ ((𝐶 Full 𝐶) ∩ (𝐶 Faith 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1543  wcel 2112  wral 3051  cin 3852  cop 4533   class class class wbr 5039   I cid 5439  cres 5538  Rel wrel 5541  1-1-ontowf1o 6357  cfv 6358  (class class class)co 7191  1st c1st 7737  2nd c2nd 7738  Basecbs 16666  Hom chom 16760  Catccat 17121   Func cfunc 17314  idfunccidfu 17315   Full cful 17363   Faith cfth 17364
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-rep 5164  ax-sep 5177  ax-nul 5184  ax-pow 5243  ax-pr 5307  ax-un 7501
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ne 2933  df-ral 3056  df-rex 3057  df-reu 3058  df-rmo 3059  df-rab 3060  df-v 3400  df-sbc 3684  df-csb 3799  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-pw 4501  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-iun 4892  df-br 5040  df-opab 5102  df-mpt 5121  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-iota 6316  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-riota 7148  df-ov 7194  df-oprab 7195  df-mpo 7196  df-1st 7739  df-2nd 7740  df-map 8488  df-ixp 8557  df-cat 17125  df-cid 17126  df-func 17318  df-idfu 17319  df-full 17365  df-fth 17366
This theorem is referenced by:  rescfth  17398
  Copyright terms: Public domain W3C validator