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

Theorem fuccocl 17598
Description: The composition of two natural transformations is a natural transformation. Remark 6.14(a) in [Adamek] p. 87. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
fuccocl.q 𝑄 = (𝐶 FuncCat 𝐷)
fuccocl.n 𝑁 = (𝐶 Nat 𝐷)
fuccocl.x = (comp‘𝑄)
fuccocl.r (𝜑𝑅 ∈ (𝐹𝑁𝐺))
fuccocl.s (𝜑𝑆 ∈ (𝐺𝑁𝐻))
Assertion
Ref Expression
fuccocl (𝜑 → (𝑆(⟨𝐹, 𝐺 𝐻)𝑅) ∈ (𝐹𝑁𝐻))

Proof of Theorem fuccocl
Dummy variables 𝑥 𝑓 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fuccocl.q . . . 4 𝑄 = (𝐶 FuncCat 𝐷)
2 fuccocl.n . . . 4 𝑁 = (𝐶 Nat 𝐷)
3 eqid 2738 . . . 4 (Base‘𝐶) = (Base‘𝐶)
4 eqid 2738 . . . 4 (comp‘𝐷) = (comp‘𝐷)
5 fuccocl.x . . . 4 = (comp‘𝑄)
6 fuccocl.r . . . 4 (𝜑𝑅 ∈ (𝐹𝑁𝐺))
7 fuccocl.s . . . 4 (𝜑𝑆 ∈ (𝐺𝑁𝐻))
81, 2, 3, 4, 5, 6, 7fucco 17596 . . 3 (𝜑 → (𝑆(⟨𝐹, 𝐺 𝐻)𝑅) = (𝑥 ∈ (Base‘𝐶) ↦ ((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥))))
9 eqid 2738 . . . . . 6 (Base‘𝐷) = (Base‘𝐷)
10 eqid 2738 . . . . . 6 (Hom ‘𝐷) = (Hom ‘𝐷)
112natrcl 17582 . . . . . . . . . . 11 (𝑅 ∈ (𝐹𝑁𝐺) → (𝐹 ∈ (𝐶 Func 𝐷) ∧ 𝐺 ∈ (𝐶 Func 𝐷)))
126, 11syl 17 . . . . . . . . . 10 (𝜑 → (𝐹 ∈ (𝐶 Func 𝐷) ∧ 𝐺 ∈ (𝐶 Func 𝐷)))
1312simpld 494 . . . . . . . . 9 (𝜑𝐹 ∈ (𝐶 Func 𝐷))
14 funcrcl 17494 . . . . . . . . 9 (𝐹 ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
1513, 14syl 17 . . . . . . . 8 (𝜑 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
1615simprd 495 . . . . . . 7 (𝜑𝐷 ∈ Cat)
1716adantr 480 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝐷 ∈ Cat)
18 relfunc 17493 . . . . . . . . 9 Rel (𝐶 Func 𝐷)
19 1st2ndbr 7856 . . . . . . . . 9 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
2018, 13, 19sylancr 586 . . . . . . . 8 (𝜑 → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
213, 9, 20funcf1 17497 . . . . . . 7 (𝜑 → (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷))
2221ffvelrnda 6943 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐹)‘𝑥) ∈ (Base‘𝐷))
232natrcl 17582 . . . . . . . . . . 11 (𝑆 ∈ (𝐺𝑁𝐻) → (𝐺 ∈ (𝐶 Func 𝐷) ∧ 𝐻 ∈ (𝐶 Func 𝐷)))
247, 23syl 17 . . . . . . . . . 10 (𝜑 → (𝐺 ∈ (𝐶 Func 𝐷) ∧ 𝐻 ∈ (𝐶 Func 𝐷)))
2524simpld 494 . . . . . . . . 9 (𝜑𝐺 ∈ (𝐶 Func 𝐷))
26 1st2ndbr 7856 . . . . . . . . 9 ((Rel (𝐶 Func 𝐷) ∧ 𝐺 ∈ (𝐶 Func 𝐷)) → (1st𝐺)(𝐶 Func 𝐷)(2nd𝐺))
2718, 25, 26sylancr 586 . . . . . . . 8 (𝜑 → (1st𝐺)(𝐶 Func 𝐷)(2nd𝐺))
283, 9, 27funcf1 17497 . . . . . . 7 (𝜑 → (1st𝐺):(Base‘𝐶)⟶(Base‘𝐷))
2928ffvelrnda 6943 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐺)‘𝑥) ∈ (Base‘𝐷))
3024simprd 495 . . . . . . . . 9 (𝜑𝐻 ∈ (𝐶 Func 𝐷))
31 1st2ndbr 7856 . . . . . . . . 9 ((Rel (𝐶 Func 𝐷) ∧ 𝐻 ∈ (𝐶 Func 𝐷)) → (1st𝐻)(𝐶 Func 𝐷)(2nd𝐻))
3218, 30, 31sylancr 586 . . . . . . . 8 (𝜑 → (1st𝐻)(𝐶 Func 𝐷)(2nd𝐻))
333, 9, 32funcf1 17497 . . . . . . 7 (𝜑 → (1st𝐻):(Base‘𝐶)⟶(Base‘𝐷))
3433ffvelrnda 6943 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐻)‘𝑥) ∈ (Base‘𝐷))
352, 6nat1st2nd 17583 . . . . . . . 8 (𝜑𝑅 ∈ (⟨(1st𝐹), (2nd𝐹)⟩𝑁⟨(1st𝐺), (2nd𝐺)⟩))
3635adantr 480 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝑅 ∈ (⟨(1st𝐹), (2nd𝐹)⟩𝑁⟨(1st𝐺), (2nd𝐺)⟩))
37 simpr 484 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝑥 ∈ (Base‘𝐶))
382, 36, 3, 10, 37natcl 17585 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → (𝑅𝑥) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐺)‘𝑥)))
392, 7nat1st2nd 17583 . . . . . . . 8 (𝜑𝑆 ∈ (⟨(1st𝐺), (2nd𝐺)⟩𝑁⟨(1st𝐻), (2nd𝐻)⟩))
4039adantr 480 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝑆 ∈ (⟨(1st𝐺), (2nd𝐺)⟩𝑁⟨(1st𝐻), (2nd𝐻)⟩))
412, 40, 3, 10, 37natcl 17585 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → (𝑆𝑥) ∈ (((1st𝐺)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
429, 10, 4, 17, 22, 29, 34, 38, 41catcocl 17311 . . . . 5 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
4342ralrimiva 3107 . . . 4 (𝜑 → ∀𝑥 ∈ (Base‘𝐶)((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
44 fvex 6769 . . . . 5 (Base‘𝐶) ∈ V
45 mptelixpg 8681 . . . . 5 ((Base‘𝐶) ∈ V → ((𝑥 ∈ (Base‘𝐶) ↦ ((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥))) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)) ↔ ∀𝑥 ∈ (Base‘𝐶)((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥))))
4644, 45ax-mp 5 . . . 4 ((𝑥 ∈ (Base‘𝐶) ↦ ((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥))) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)) ↔ ∀𝑥 ∈ (Base‘𝐶)((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
4743, 46sylibr 233 . . 3 (𝜑 → (𝑥 ∈ (Base‘𝐶) ↦ ((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥))) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
488, 47eqeltrd 2839 . 2 (𝜑 → (𝑆(⟨𝐹, 𝐺 𝐻)𝑅) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
4916adantr 480 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝐷 ∈ Cat)
5021adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷))
51 simpr1 1192 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑥 ∈ (Base‘𝐶))
5250, 51ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐹)‘𝑥) ∈ (Base‘𝐷))
53 simpr2 1193 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑦 ∈ (Base‘𝐶))
5450, 53ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐹)‘𝑦) ∈ (Base‘𝐷))
5528adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐺):(Base‘𝐶)⟶(Base‘𝐷))
5655, 53ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐺)‘𝑦) ∈ (Base‘𝐷))
57 eqid 2738 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
5820adantr 480 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
593, 57, 10, 58, 51, 53funcf2 17499 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑥(2nd𝐹)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
60 simpr3 1194 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))
6159, 60ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑥(2nd𝐹)𝑦)‘𝑓) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
6235adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑅 ∈ (⟨(1st𝐹), (2nd𝐹)⟩𝑁⟨(1st𝐺), (2nd𝐺)⟩))
632, 62, 3, 10, 53natcl 17585 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑅𝑦) ∈ (((1st𝐹)‘𝑦)(Hom ‘𝐷)((1st𝐺)‘𝑦)))
6433adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐻):(Base‘𝐶)⟶(Base‘𝐷))
6564, 53ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐻)‘𝑦) ∈ (Base‘𝐷))
6639adantr 480 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑆 ∈ (⟨(1st𝐺), (2nd𝐺)⟩𝑁⟨(1st𝐻), (2nd𝐻)⟩))
672, 66, 3, 10, 53natcl 17585 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑆𝑦) ∈ (((1st𝐺)‘𝑦)(Hom ‘𝐷)((1st𝐻)‘𝑦)))
689, 10, 4, 49, 52, 54, 56, 61, 63, 65, 67catass 17312 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑆𝑦)(⟨((1st𝐹)‘𝑦), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑦))(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = ((𝑆𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑅𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐺)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓))))
692, 62, 3, 57, 4, 51, 53, 60nati 17587 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑅𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐺)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐺)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐺)‘𝑦))(𝑅𝑥)))
7069oveq2d 7271 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑆𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑅𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐺)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓))) = ((𝑆𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(((𝑥(2nd𝐺)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐺)‘𝑦))(𝑅𝑥))))
7155, 51ffvelrnd 6944 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐺)‘𝑥) ∈ (Base‘𝐷))
722, 62, 3, 10, 51natcl 17585 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑅𝑥) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐺)‘𝑥)))
7327adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐺)(𝐶 Func 𝐷)(2nd𝐺))
743, 57, 10, 73, 51, 53funcf2 17499 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑥(2nd𝐺)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐺)‘𝑥)(Hom ‘𝐷)((1st𝐺)‘𝑦)))
7574, 60ffvelrnd 6944 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑥(2nd𝐺)𝑦)‘𝑓) ∈ (((1st𝐺)‘𝑥)(Hom ‘𝐷)((1st𝐺)‘𝑦)))
769, 10, 4, 49, 52, 71, 56, 72, 75, 65, 67catass 17312 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑆𝑦)(⟨((1st𝐺)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐺)𝑦)‘𝑓))(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑥)) = ((𝑆𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(((𝑥(2nd𝐺)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐺)‘𝑦))(𝑅𝑥))))
772, 66, 3, 57, 4, 51, 53, 60nati 17587 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑆𝑦)(⟨((1st𝐺)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐺)𝑦)‘𝑓)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐺)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑆𝑥)))
7877oveq1d 7270 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑆𝑦)(⟨((1st𝐺)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐺)𝑦)‘𝑓))(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑥)) = ((((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐺)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑆𝑥))(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑥)))
7970, 76, 783eqtr2d 2784 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑆𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑅𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐺)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓))) = ((((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐺)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑆𝑥))(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑥)))
8064, 51ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐻)‘𝑥) ∈ (Base‘𝐷))
812, 66, 3, 10, 51natcl 17585 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑆𝑥) ∈ (((1st𝐺)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
8232adantr 480 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐻)(𝐶 Func 𝐷)(2nd𝐻))
833, 57, 10, 82, 51, 53funcf2 17499 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑥(2nd𝐻)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐻)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑦)))
8483, 60ffvelrnd 6944 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑥(2nd𝐻)𝑦)‘𝑓) ∈ (((1st𝐻)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑦)))
859, 10, 4, 49, 52, 71, 80, 72, 81, 65, 84catass 17312 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐺)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑆𝑥))(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑥)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥))))
8668, 79, 853eqtrd 2782 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑆𝑦)(⟨((1st𝐹)‘𝑦), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑦))(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥))))
876adantr 480 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑅 ∈ (𝐹𝑁𝐺))
887adantr 480 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑆 ∈ (𝐺𝑁𝐻))
891, 2, 3, 4, 5, 87, 88, 53fuccoval 17597 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑦) = ((𝑆𝑦)(⟨((1st𝐹)‘𝑦), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑦)))
9089oveq1d 7270 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑆𝑦)(⟨((1st𝐹)‘𝑦), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑦))(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)))
911, 2, 3, 4, 5, 87, 88, 51fuccoval 17597 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑥) = ((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥)))
9291oveq2d 7271 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑥)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥))))
9386, 90, 923eqtr4d 2788 . . 3 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑥)))
9493ralrimivvva 3115 . 2 (𝜑 → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)(((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑥)))
952, 3, 57, 10, 4, 13, 30isnat2 17580 . 2 (𝜑 → ((𝑆(⟨𝐹, 𝐺 𝐻)𝑅) ∈ (𝐹𝑁𝐻) ↔ ((𝑆(⟨𝐹, 𝐺 𝐻)𝑅) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)) ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)(((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑥)))))
9648, 94, 95mpbir2and 709 1 (𝜑 → (𝑆(⟨𝐹, 𝐺 𝐻)𝑅) ∈ (𝐹𝑁𝐻))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  Vcvv 3422  cop 4564   class class class wbr 5070  cmpt 5153  Rel wrel 5585  wf 6414  cfv 6418  (class class class)co 7255  1st c1st 7802  2nd c2nd 7803  Xcixp 8643  Basecbs 16840  Hom chom 16899  compcco 16900  Catccat 17290   Func cfunc 17485   Nat cnat 17573   FuncCat cfuc 17574
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-map 8575  df-ixp 8644  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-2 11966  df-3 11967  df-4 11968  df-5 11969  df-6 11970  df-7 11971  df-8 11972  df-9 11973  df-n0 12164  df-z 12250  df-dec 12367  df-uz 12512  df-fz 13169  df-struct 16776  df-slot 16811  df-ndx 16823  df-base 16841  df-hom 16912  df-cco 16913  df-cat 17294  df-func 17489  df-nat 17575  df-fuc 17576
This theorem is referenced by:  fucass  17602  fuccatid  17603  evlfcllem  17855  yonedalem3b  17913
  Copyright terms: Public domain W3C validator