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

Theorem fucidcl 17238
Description: The identity natural transformation. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
fucidcl.q 𝑄 = (𝐶 FuncCat 𝐷)
fucidcl.n 𝑁 = (𝐶 Nat 𝐷)
fucidcl.x 1 = (Id‘𝐷)
fucidcl.f (𝜑𝐹 ∈ (𝐶 Func 𝐷))
Assertion
Ref Expression
fucidcl (𝜑 → ( 1 ∘ (1st𝐹)) ∈ (𝐹𝑁𝐹))

Proof of Theorem fucidcl
Dummy variables 𝑥 𝑓 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fucidcl.f . . . . . . . 8 (𝜑𝐹 ∈ (𝐶 Func 𝐷))
2 funcrcl 17136 . . . . . . . 8 (𝐹 ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
31, 2syl 17 . . . . . . 7 (𝜑 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
43simprd 498 . . . . . 6 (𝜑𝐷 ∈ Cat)
5 eqid 2824 . . . . . . 7 (Base‘𝐷) = (Base‘𝐷)
6 fucidcl.x . . . . . . 7 1 = (Id‘𝐷)
75, 6cidfn 16953 . . . . . 6 (𝐷 ∈ Cat → 1 Fn (Base‘𝐷))
84, 7syl 17 . . . . 5 (𝜑1 Fn (Base‘𝐷))
9 dffn2 6519 . . . . 5 ( 1 Fn (Base‘𝐷) ↔ 1 :(Base‘𝐷)⟶V)
108, 9sylib 220 . . . 4 (𝜑1 :(Base‘𝐷)⟶V)
11 eqid 2824 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
12 relfunc 17135 . . . . . 6 Rel (𝐶 Func 𝐷)
13 1st2ndbr 7744 . . . . . 6 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
1412, 1, 13sylancr 589 . . . . 5 (𝜑 → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
1511, 5, 14funcf1 17139 . . . 4 (𝜑 → (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷))
16 fcompt 6898 . . . 4 (( 1 :(Base‘𝐷)⟶V ∧ (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷)) → ( 1 ∘ (1st𝐹)) = (𝑥 ∈ (Base‘𝐶) ↦ ( 1 ‘((1st𝐹)‘𝑥))))
1710, 15, 16syl2anc 586 . . 3 (𝜑 → ( 1 ∘ (1st𝐹)) = (𝑥 ∈ (Base‘𝐶) ↦ ( 1 ‘((1st𝐹)‘𝑥))))
18 eqid 2824 . . . . . 6 (Hom ‘𝐷) = (Hom ‘𝐷)
194adantr 483 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝐷 ∈ Cat)
2015ffvelrnda 6854 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐹)‘𝑥) ∈ (Base‘𝐷))
215, 18, 6, 19, 20catidcl 16956 . . . . 5 ((𝜑𝑥 ∈ (Base‘𝐶)) → ( 1 ‘((1st𝐹)‘𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)))
2221ralrimiva 3185 . . . 4 (𝜑 → ∀𝑥 ∈ (Base‘𝐶)( 1 ‘((1st𝐹)‘𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)))
23 fvex 6686 . . . . 5 (Base‘𝐶) ∈ V
24 mptelixpg 8502 . . . . 5 ((Base‘𝐶) ∈ V → ((𝑥 ∈ (Base‘𝐶) ↦ ( 1 ‘((1st𝐹)‘𝑥))) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)) ↔ ∀𝑥 ∈ (Base‘𝐶)( 1 ‘((1st𝐹)‘𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥))))
2523, 24ax-mp 5 . . . 4 ((𝑥 ∈ (Base‘𝐶) ↦ ( 1 ‘((1st𝐹)‘𝑥))) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)) ↔ ∀𝑥 ∈ (Base‘𝐶)( 1 ‘((1st𝐹)‘𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)))
2622, 25sylibr 236 . . 3 (𝜑 → (𝑥 ∈ (Base‘𝐶) ↦ ( 1 ‘((1st𝐹)‘𝑥))) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)))
2717, 26eqeltrd 2916 . 2 (𝜑 → ( 1 ∘ (1st𝐹)) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)))
284adantr 483 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝐷 ∈ Cat)
29 simpr1 1190 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑥 ∈ (Base‘𝐶))
3029, 20syldan 593 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐹)‘𝑥) ∈ (Base‘𝐷))
31 eqid 2824 . . . . . 6 (comp‘𝐷) = (comp‘𝐷)
3215adantr 483 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷))
33 simpr2 1191 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑦 ∈ (Base‘𝐶))
3432, 33ffvelrnd 6855 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐹)‘𝑦) ∈ (Base‘𝐷))
35 eqid 2824 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
3614adantr 483 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
3711, 35, 18, 36, 29, 33funcf2 17141 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑥(2nd𝐹)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
38 simpr3 1192 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))
3937, 38ffvelrnd 6855 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑥(2nd𝐹)𝑦)‘𝑓) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
405, 18, 6, 28, 30, 31, 34, 39catlid 16957 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (( 1 ‘((1st𝐹)‘𝑦))(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = ((𝑥(2nd𝐹)𝑦)‘𝑓))
415, 18, 6, 28, 30, 31, 34, 39catrid 16958 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))( 1 ‘((1st𝐹)‘𝑥))) = ((𝑥(2nd𝐹)𝑦)‘𝑓))
4240, 41eqtr4d 2862 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (( 1 ‘((1st𝐹)‘𝑦))(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))( 1 ‘((1st𝐹)‘𝑥))))
43 fvco3 6763 . . . . . 6 (((1st𝐹):(Base‘𝐶)⟶(Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐶)) → (( 1 ∘ (1st𝐹))‘𝑦) = ( 1 ‘((1st𝐹)‘𝑦)))
4432, 33, 43syl2anc 586 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (( 1 ∘ (1st𝐹))‘𝑦) = ( 1 ‘((1st𝐹)‘𝑦)))
4544oveq1d 7174 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((( 1 ∘ (1st𝐹))‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (( 1 ‘((1st𝐹)‘𝑦))(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)))
46 fvco3 6763 . . . . . 6 (((1st𝐹):(Base‘𝐶)⟶(Base‘𝐷) ∧ 𝑥 ∈ (Base‘𝐶)) → (( 1 ∘ (1st𝐹))‘𝑥) = ( 1 ‘((1st𝐹)‘𝑥)))
4732, 29, 46syl2anc 586 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (( 1 ∘ (1st𝐹))‘𝑥) = ( 1 ‘((1st𝐹)‘𝑥)))
4847oveq2d 7175 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))(( 1 ∘ (1st𝐹))‘𝑥)) = (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))( 1 ‘((1st𝐹)‘𝑥))))
4942, 45, 483eqtr4d 2869 . . 3 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((( 1 ∘ (1st𝐹))‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))(( 1 ∘ (1st𝐹))‘𝑥)))
5049ralrimivvva 3195 . 2 (𝜑 → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)((( 1 ∘ (1st𝐹))‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))(( 1 ∘ (1st𝐹))‘𝑥)))
51 fucidcl.n . . 3 𝑁 = (𝐶 Nat 𝐷)
5251, 11, 35, 18, 31, 1, 1isnat2 17221 . 2 (𝜑 → (( 1 ∘ (1st𝐹)) ∈ (𝐹𝑁𝐹) ↔ (( 1 ∘ (1st𝐹)) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)) ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)((( 1 ∘ (1st𝐹))‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))(( 1 ∘ (1st𝐹))‘𝑥)))))
5327, 50, 52mpbir2and 711 1 (𝜑 → ( 1 ∘ (1st𝐹)) ∈ (𝐹𝑁𝐹))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1536  wcel 2113  wral 3141  Vcvv 3497  cop 4576   class class class wbr 5069  cmpt 5149  ccom 5562  Rel wrel 5563   Fn wfn 6353  wf 6354  cfv 6358  (class class class)co 7159  1st c1st 7690  2nd c2nd 7691  Xcixp 8464  Basecbs 16486  Hom chom 16579  compcco 16580  Catccat 16938  Idccid 16939   Func cfunc 17127   Nat cnat 17214   FuncCat cfuc 17215
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-rep 5193  ax-sep 5206  ax-nul 5213  ax-pow 5269  ax-pr 5333  ax-un 7464
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-ral 3146  df-rex 3147  df-reu 3148  df-rmo 3149  df-rab 3150  df-v 3499  df-sbc 3776  df-csb 3887  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4471  df-pw 4544  df-sn 4571  df-pr 4573  df-op 4577  df-uni 4842  df-iun 4924  df-br 5070  df-opab 5132  df-mpt 5150  df-id 5463  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-rn 5569  df-res 5570  df-ima 5571  df-iota 6317  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-riota 7117  df-ov 7162  df-oprab 7163  df-mpo 7164  df-1st 7692  df-2nd 7693  df-map 8411  df-ixp 8465  df-cat 16942  df-cid 16943  df-func 17131  df-nat 17216
This theorem is referenced by:  fuclid  17239  fucrid  17240  fuccatid  17242
  Copyright terms: Public domain W3C validator