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

Theorem fuccocl 17217
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 2821 . . . 4 (Base‘𝐶) = (Base‘𝐶)
4 eqid 2821 . . . 4 (comp‘𝐷) = (comp‘𝐷)
5 fuccocl.x . . . 4 = (comp‘𝑄)
6 fuccocl.r . . . 4 (𝜑𝑅 ∈ (𝐹𝑁𝐺))
7 fuccocl.s . . . 4 (𝜑𝑆 ∈ (𝐺𝑁𝐻))
81, 2, 3, 4, 5, 6, 7fucco 17215 . . 3 (𝜑 → (𝑆(⟨𝐹, 𝐺 𝐻)𝑅) = (𝑥 ∈ (Base‘𝐶) ↦ ((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥))))
9 eqid 2821 . . . . . 6 (Base‘𝐷) = (Base‘𝐷)
10 eqid 2821 . . . . . 6 (Hom ‘𝐷) = (Hom ‘𝐷)
112natrcl 17203 . . . . . . . . . . 11 (𝑅 ∈ (𝐹𝑁𝐺) → (𝐹 ∈ (𝐶 Func 𝐷) ∧ 𝐺 ∈ (𝐶 Func 𝐷)))
126, 11syl 17 . . . . . . . . . 10 (𝜑 → (𝐹 ∈ (𝐶 Func 𝐷) ∧ 𝐺 ∈ (𝐶 Func 𝐷)))
1312simpld 497 . . . . . . . . 9 (𝜑𝐹 ∈ (𝐶 Func 𝐷))
14 funcrcl 17116 . . . . . . . . 9 (𝐹 ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
1513, 14syl 17 . . . . . . . 8 (𝜑 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
1615simprd 498 . . . . . . 7 (𝜑𝐷 ∈ Cat)
1716adantr 483 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝐷 ∈ Cat)
18 relfunc 17115 . . . . . . . . 9 Rel (𝐶 Func 𝐷)
19 1st2ndbr 7727 . . . . . . . . 9 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
2018, 13, 19sylancr 589 . . . . . . . 8 (𝜑 → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
213, 9, 20funcf1 17119 . . . . . . 7 (𝜑 → (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷))
2221ffvelrnda 6837 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐹)‘𝑥) ∈ (Base‘𝐷))
232natrcl 17203 . . . . . . . . . . 11 (𝑆 ∈ (𝐺𝑁𝐻) → (𝐺 ∈ (𝐶 Func 𝐷) ∧ 𝐻 ∈ (𝐶 Func 𝐷)))
247, 23syl 17 . . . . . . . . . 10 (𝜑 → (𝐺 ∈ (𝐶 Func 𝐷) ∧ 𝐻 ∈ (𝐶 Func 𝐷)))
2524simpld 497 . . . . . . . . 9 (𝜑𝐺 ∈ (𝐶 Func 𝐷))
26 1st2ndbr 7727 . . . . . . . . 9 ((Rel (𝐶 Func 𝐷) ∧ 𝐺 ∈ (𝐶 Func 𝐷)) → (1st𝐺)(𝐶 Func 𝐷)(2nd𝐺))
2718, 25, 26sylancr 589 . . . . . . . 8 (𝜑 → (1st𝐺)(𝐶 Func 𝐷)(2nd𝐺))
283, 9, 27funcf1 17119 . . . . . . 7 (𝜑 → (1st𝐺):(Base‘𝐶)⟶(Base‘𝐷))
2928ffvelrnda 6837 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐺)‘𝑥) ∈ (Base‘𝐷))
3024simprd 498 . . . . . . . . 9 (𝜑𝐻 ∈ (𝐶 Func 𝐷))
31 1st2ndbr 7727 . . . . . . . . 9 ((Rel (𝐶 Func 𝐷) ∧ 𝐻 ∈ (𝐶 Func 𝐷)) → (1st𝐻)(𝐶 Func 𝐷)(2nd𝐻))
3218, 30, 31sylancr 589 . . . . . . . 8 (𝜑 → (1st𝐻)(𝐶 Func 𝐷)(2nd𝐻))
333, 9, 32funcf1 17119 . . . . . . 7 (𝜑 → (1st𝐻):(Base‘𝐶)⟶(Base‘𝐷))
3433ffvelrnda 6837 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐻)‘𝑥) ∈ (Base‘𝐷))
352, 6nat1st2nd 17204 . . . . . . . 8 (𝜑𝑅 ∈ (⟨(1st𝐹), (2nd𝐹)⟩𝑁⟨(1st𝐺), (2nd𝐺)⟩))
3635adantr 483 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝑅 ∈ (⟨(1st𝐹), (2nd𝐹)⟩𝑁⟨(1st𝐺), (2nd𝐺)⟩))
37 simpr 487 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝑥 ∈ (Base‘𝐶))
382, 36, 3, 10, 37natcl 17206 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → (𝑅𝑥) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐺)‘𝑥)))
392, 7nat1st2nd 17204 . . . . . . . 8 (𝜑𝑆 ∈ (⟨(1st𝐺), (2nd𝐺)⟩𝑁⟨(1st𝐻), (2nd𝐻)⟩))
4039adantr 483 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝑆 ∈ (⟨(1st𝐺), (2nd𝐺)⟩𝑁⟨(1st𝐻), (2nd𝐻)⟩))
412, 40, 3, 10, 37natcl 17206 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → (𝑆𝑥) ∈ (((1st𝐺)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
429, 10, 4, 17, 22, 29, 34, 38, 41catcocl 16939 . . . . 5 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
4342ralrimiva 3182 . . . 4 (𝜑 → ∀𝑥 ∈ (Base‘𝐶)((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥)) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
44 fvex 6669 . . . . 5 (Base‘𝐶) ∈ V
45 mptelixpg 8485 . . . . 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 236 . . 3 (𝜑 → (𝑥 ∈ (Base‘𝐶) ↦ ((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥))) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
488, 47eqeltrd 2913 . 2 (𝜑 → (𝑆(⟨𝐹, 𝐺 𝐻)𝑅) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
4916adantr 483 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝐷 ∈ Cat)
5021adantr 483 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷))
51 simpr1 1190 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑥 ∈ (Base‘𝐶))
5250, 51ffvelrnd 6838 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐹)‘𝑥) ∈ (Base‘𝐷))
53 simpr2 1191 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑦 ∈ (Base‘𝐶))
5450, 53ffvelrnd 6838 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐹)‘𝑦) ∈ (Base‘𝐷))
5528adantr 483 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐺):(Base‘𝐶)⟶(Base‘𝐷))
5655, 53ffvelrnd 6838 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐺)‘𝑦) ∈ (Base‘𝐷))
57 eqid 2821 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
5820adantr 483 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
593, 57, 10, 58, 51, 53funcf2 17121 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑥(2nd𝐹)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
60 simpr3 1192 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))
6159, 60ffvelrnd 6838 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑥(2nd𝐹)𝑦)‘𝑓) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
6235adantr 483 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑅 ∈ (⟨(1st𝐹), (2nd𝐹)⟩𝑁⟨(1st𝐺), (2nd𝐺)⟩))
632, 62, 3, 10, 53natcl 17206 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑅𝑦) ∈ (((1st𝐹)‘𝑦)(Hom ‘𝐷)((1st𝐺)‘𝑦)))
6433adantr 483 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐻):(Base‘𝐶)⟶(Base‘𝐷))
6564, 53ffvelrnd 6838 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐻)‘𝑦) ∈ (Base‘𝐷))
6639adantr 483 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑆 ∈ (⟨(1st𝐺), (2nd𝐺)⟩𝑁⟨(1st𝐻), (2nd𝐻)⟩))
672, 66, 3, 10, 53natcl 17206 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑆𝑦) ∈ (((1st𝐺)‘𝑦)(Hom ‘𝐷)((1st𝐻)‘𝑦)))
689, 10, 4, 49, 52, 54, 56, 61, 63, 65, 67catass 16940 . . . . 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 17208 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑅𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐺)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐺)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐺)‘𝑦))(𝑅𝑥)))
7069oveq2d 7158 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑆𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑅𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐺)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓))) = ((𝑆𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(((𝑥(2nd𝐺)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐺)‘𝑦))(𝑅𝑥))))
7155, 51ffvelrnd 6838 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐺)‘𝑥) ∈ (Base‘𝐷))
722, 62, 3, 10, 51natcl 17206 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑅𝑥) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐺)‘𝑥)))
7327adantr 483 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐺)(𝐶 Func 𝐷)(2nd𝐺))
743, 57, 10, 73, 51, 53funcf2 17121 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑥(2nd𝐺)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐺)‘𝑥)(Hom ‘𝐷)((1st𝐺)‘𝑦)))
7574, 60ffvelrnd 6838 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑥(2nd𝐺)𝑦)‘𝑓) ∈ (((1st𝐺)‘𝑥)(Hom ‘𝐷)((1st𝐺)‘𝑦)))
769, 10, 4, 49, 52, 71, 56, 72, 75, 65, 67catass 16940 . . . . . 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 17208 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑆𝑦)(⟨((1st𝐺)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐺)𝑦)‘𝑓)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐺)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑆𝑥)))
7877oveq1d 7157 . . . . . 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 2862 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑆𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑅𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐺)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓))) = ((((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐺)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑆𝑥))(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑥)))
8064, 51ffvelrnd 6838 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((1st𝐻)‘𝑥) ∈ (Base‘𝐷))
812, 66, 3, 10, 51natcl 17206 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑆𝑥) ∈ (((1st𝐺)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)))
8232adantr 483 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (1st𝐻)(𝐶 Func 𝐷)(2nd𝐻))
833, 57, 10, 82, 51, 53funcf2 17121 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (𝑥(2nd𝐻)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐻)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑦)))
8483, 60ffvelrnd 6838 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑥(2nd𝐻)𝑦)‘𝑓) ∈ (((1st𝐻)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑦)))
859, 10, 4, 49, 52, 71, 80, 72, 81, 65, 84catass 16940 . . . . 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 2860 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑆𝑦)(⟨((1st𝐹)‘𝑦), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑦))(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥))))
876adantr 483 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑅 ∈ (𝐹𝑁𝐺))
887adantr 483 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → 𝑆 ∈ (𝐺𝑁𝐻))
891, 2, 3, 4, 5, 87, 88, 53fuccoval 17216 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑦) = ((𝑆𝑦)(⟨((1st𝐹)‘𝑦), ((1st𝐺)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))(𝑅𝑦)))
9089oveq1d 7157 . . . 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 17216 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → ((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑥) = ((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥)))
9291oveq2d 7158 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑥)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆𝑥)(⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑥))(𝑅𝑥))))
9386, 90, 923eqtr4d 2866 . . 3 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))) → (((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑥)))
9493ralrimivvva 3192 . 2 (𝜑 → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)(((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑥)))
952, 3, 57, 10, 4, 13, 30isnat2 17201 . 2 (𝜑 → ((𝑆(⟨𝐹, 𝐺 𝐻)𝑅) ∈ (𝐹𝑁𝐻) ↔ ((𝑆(⟨𝐹, 𝐺 𝐻)𝑅) ∈ X𝑥 ∈ (Base‘𝐶)(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐻)‘𝑥)) ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)(((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑦)(⟨((1st𝐹)‘𝑥), ((1st𝐹)‘𝑦)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑥(2nd𝐹)𝑦)‘𝑓)) = (((𝑥(2nd𝐻)𝑦)‘𝑓)(⟨((1st𝐹)‘𝑥), ((1st𝐻)‘𝑥)⟩(comp‘𝐷)((1st𝐻)‘𝑦))((𝑆(⟨𝐹, 𝐺 𝐻)𝑅)‘𝑥)))))
9648, 94, 95mpbir2and 711 1 (𝜑 → (𝑆(⟨𝐹, 𝐺 𝐻)𝑅) ∈ (𝐹𝑁𝐻))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1537  wcel 2114  wral 3138  Vcvv 3486  cop 4559   class class class wbr 5052  cmpt 5132  Rel wrel 5546  wf 6337  cfv 6341  (class class class)co 7142  1st c1st 7673  2nd c2nd 7674  Xcixp 8447  Basecbs 16466  Hom chom 16559  compcco 16560  Catccat 16918   Func cfunc 17107   Nat cnat 17194   FuncCat cfuc 17195
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5176  ax-sep 5189  ax-nul 5196  ax-pow 5252  ax-pr 5316  ax-un 7447  ax-cnex 10579  ax-resscn 10580  ax-1cn 10581  ax-icn 10582  ax-addcl 10583  ax-addrcl 10584  ax-mulcl 10585  ax-mulrcl 10586  ax-mulcom 10587  ax-addass 10588  ax-mulass 10589  ax-distr 10590  ax-i2m1 10591  ax-1ne0 10592  ax-1rid 10593  ax-rnegex 10594  ax-rrecex 10595  ax-cnre 10596  ax-pre-lttri 10597  ax-pre-lttrn 10598  ax-pre-ltadd 10599  ax-pre-mulgt0 10600
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3488  df-sbc 3764  df-csb 3872  df-dif 3927  df-un 3929  df-in 3931  df-ss 3940  df-pss 3942  df-nul 4280  df-if 4454  df-pw 4527  df-sn 4554  df-pr 4556  df-tp 4558  df-op 4560  df-uni 4825  df-int 4863  df-iun 4907  df-br 5053  df-opab 5115  df-mpt 5133  df-tr 5159  df-id 5446  df-eprel 5451  df-po 5460  df-so 5461  df-fr 5500  df-we 5502  df-xp 5547  df-rel 5548  df-cnv 5549  df-co 5550  df-dm 5551  df-rn 5552  df-res 5553  df-ima 5554  df-pred 6134  df-ord 6180  df-on 6181  df-lim 6182  df-suc 6183  df-iota 6300  df-fun 6343  df-fn 6344  df-f 6345  df-f1 6346  df-fo 6347  df-f1o 6348  df-fv 6349  df-riota 7100  df-ov 7145  df-oprab 7146  df-mpo 7147  df-om 7567  df-1st 7675  df-2nd 7676  df-wrecs 7933  df-recs 7994  df-rdg 8032  df-1o 8088  df-oadd 8092  df-er 8275  df-map 8394  df-ixp 8448  df-en 8496  df-dom 8497  df-sdom 8498  df-fin 8499  df-pnf 10663  df-mnf 10664  df-xr 10665  df-ltxr 10666  df-le 10667  df-sub 10858  df-neg 10859  df-nn 11625  df-2 11687  df-3 11688  df-4 11689  df-5 11690  df-6 11691  df-7 11692  df-8 11693  df-9 11694  df-n0 11885  df-z 11969  df-dec 12086  df-uz 12231  df-fz 12883  df-struct 16468  df-ndx 16469  df-slot 16470  df-base 16472  df-hom 16572  df-cco 16573  df-cat 16922  df-func 17111  df-nat 17196  df-fuc 17197
This theorem is referenced by:  fucass  17221  fuccatid  17222  evlfcllem  17454  yonedalem3b  17512
  Copyright terms: Public domain W3C validator