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

Theorem fucidcl 17683
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 17578 . . . . . . . 8 (𝐹 ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
31, 2syl 17 . . . . . . 7 (𝜑 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
43simprd 496 . . . . . 6 (𝜑𝐷 ∈ Cat)
5 eqid 2738 . . . . . . 7 (Base‘𝐷) = (Base‘𝐷)
6 fucidcl.x . . . . . . 7 1 = (Id‘𝐷)
75, 6cidfn 17388 . . . . . 6 (𝐷 ∈ Cat → 1 Fn (Base‘𝐷))
84, 7syl 17 . . . . 5 (𝜑1 Fn (Base‘𝐷))
9 dffn2 6602 . . . . 5 ( 1 Fn (Base‘𝐷) ↔ 1 :(Base‘𝐷)⟶V)
108, 9sylib 217 . . . 4 (𝜑1 :(Base‘𝐷)⟶V)
11 eqid 2738 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
12 relfunc 17577 . . . . . 6 Rel (𝐶 Func 𝐷)
13 1st2ndbr 7883 . . . . . 6 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
1412, 1, 13sylancr 587 . . . . 5 (𝜑 → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
1511, 5, 14funcf1 17581 . . . 4 (𝜑 → (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷))
16 fcompt 7005 . . . 4 (( 1 :(Base‘𝐷)⟶V ∧ (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷)) → ( 1 ∘ (1st𝐹)) = (𝑥 ∈ (Base‘𝐶) ↦ ( 1 ‘((1st𝐹)‘𝑥))))
1710, 15, 16syl2anc 584 . . 3 (𝜑 → ( 1 ∘ (1st𝐹)) = (𝑥 ∈ (Base‘𝐶) ↦ ( 1 ‘((1st𝐹)‘𝑥))))
18 eqid 2738 . . . . . 6 (Hom ‘𝐷) = (Hom ‘𝐷)
194adantr 481 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝐷 ∈ Cat)
2015ffvelrnda 6961 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐹)‘𝑥) ∈ (Base‘𝐷))
215, 18, 6, 19, 20catidcl 17391 . . . . 5 ((𝜑𝑥 ∈ (Base‘𝐶)) → ( 1 ‘((1st𝐹)‘𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)))
2221ralrimiva 3103 . . . 4 (𝜑 → ∀𝑥 ∈ (Base‘𝐶)( 1 ‘((1st𝐹)‘𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)))
23 fvex 6787 . . . . 5 (Base‘𝐶) ∈ V
24 mptelixpg 8723 . . . . 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 233 . . 3 (𝜑 → (𝑥 ∈ (Base‘𝐶) ↦ ( 1 ‘((1st𝐹)‘𝑥))) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)))
2717, 26eqeltrd 2839 . 2 (𝜑 → ( 1 ∘ (1st𝐹)) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑥)))
284adantr 481 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝐷 ∈ Cat)
29 simpr1 1193 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑥 ∈ (Base‘𝐶))
3029, 20syldan 591 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐹)‘𝑥) ∈ (Base‘𝐷))
31 eqid 2738 . . . . . 6 (comp‘𝐷) = (comp‘𝐷)
3215adantr 481 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷))
33 simpr2 1194 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑦 ∈ (Base‘𝐶))
3432, 33ffvelrnd 6962 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐹)‘𝑦) ∈ (Base‘𝐷))
35 eqid 2738 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
3614adantr 481 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
3711, 35, 18, 36, 29, 33funcf2 17583 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑥(2nd𝐹)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
38 simpr3 1195 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))
3937, 38ffvelrnd 6962 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑥(2nd𝐹)𝑦)‘𝑓) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
405, 18, 6, 28, 30, 31, 34, 39catlid 17392 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (( 1 ‘((1st𝐹)‘𝑦))(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = ((𝑥(2nd𝐹)𝑦)‘𝑓))
415, 18, 6, 28, 30, 31, 34, 39catrid 17393 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))( 1 ‘((1st𝐹)‘𝑥))) = ((𝑥(2nd𝐹)𝑦)‘𝑓))
4240, 41eqtr4d 2781 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (( 1 ‘((1st𝐹)‘𝑦))(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))( 1 ‘((1st𝐹)‘𝑥))))
43 fvco3 6867 . . . . . 6 (((1st𝐹):(Base‘𝐶)⟶(Base‘𝐷) ∧ 𝑦 ∈ (Base‘𝐶)) → (( 1 ∘ (1st𝐹))‘𝑦) = ( 1 ‘((1st𝐹)‘𝑦)))
4432, 33, 43syl2anc 584 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (( 1 ∘ (1st𝐹))‘𝑦) = ( 1 ‘((1st𝐹)‘𝑦)))
4544oveq1d 7290 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((( 1 ∘ (1st𝐹))‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (( 1 ‘((1st𝐹)‘𝑦))(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)))
46 fvco3 6867 . . . . . 6 (((1st𝐹):(Base‘𝐶)⟶(Base‘𝐷) ∧ 𝑥 ∈ (Base‘𝐶)) → (( 1 ∘ (1st𝐹))‘𝑥) = ( 1 ‘((1st𝐹)‘𝑥)))
4732, 29, 46syl2anc 584 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (( 1 ∘ (1st𝐹))‘𝑥) = ( 1 ‘((1st𝐹)‘𝑥)))
4847oveq2d 7291 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))(( 1 ∘ (1st𝐹))‘𝑥)) = (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))( 1 ‘((1st𝐹)‘𝑥))))
4942, 45, 483eqtr4d 2788 . . 3 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((( 1 ∘ (1st𝐹))‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐹)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐹)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑥)⟩(comp‘𝐷)((1st𝐹)‘𝑦))(( 1 ∘ (1st𝐹))‘𝑥)))
5049ralrimivvva 3127 . 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 17664 . 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 710 1 (𝜑 → ( 1 ∘ (1st𝐹)) ∈ (𝐹𝑁𝐹))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  cop 4567   class class class wbr 5074  cmpt 5157  ccom 5593  Rel wrel 5594   Fn wfn 6428  wf 6429  cfv 6433  (class class class)co 7275  1st c1st 7829  2nd c2nd 7830  Xcixp 8685  Basecbs 16912  Hom chom 16973  compcco 16974  Catccat 17373  Idccid 17374   Func cfunc 17569   Nat cnat 17657   FuncCat cfuc 17658
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-map 8617  df-ixp 8686  df-cat 17377  df-cid 17378  df-func 17573  df-nat 17659
This theorem is referenced by:  fuclid  17684  fucrid  17685  fuccatid  17687
  Copyright terms: Public domain W3C validator