Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fucocolem1 Structured version   Visualization version   GIF version

Theorem fucocolem1 49594
Description: Lemma for fucoco 49598. Associativity for morphisms in category 𝐸. To simply put, ((𝑎 · 𝑏) · (𝑐 · 𝑑)) = (𝑎 · ((𝑏 · 𝑐) · 𝑑)) for morphism compositions. (Contributed by Zhi Wang, 2-Oct-2025.)
Hypotheses
Ref Expression
fucoco.r (𝜑𝑅 ∈ (𝐹(𝐷 Nat 𝐸)𝐾))
fucoco.s (𝜑𝑆 ∈ (𝐺(𝐶 Nat 𝐷)𝐿))
fucoco.u (𝜑𝑈 ∈ (𝐾(𝐷 Nat 𝐸)𝑀))
fucoco.v (𝜑𝑉 ∈ (𝐿(𝐶 Nat 𝐷)𝑁))
fucocolem1.x (𝜑𝑋 ∈ (Base‘𝐶))
fucocolem1.p (𝜑𝑃 ∈ (𝐷 Func 𝐸))
fucocolem1.q (𝜑𝑄 ∈ (𝐶 Func 𝐷))
fucocolem1.a (𝜑𝐴 ∈ (((1st𝑃)‘((1st𝑄)‘𝑋))(Hom ‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋))))
fucocolem1.b (𝜑𝐵 ∈ (((1st𝐹)‘((1st𝐿)‘𝑋))(Hom ‘𝐸)((1st𝑃)‘((1st𝑄)‘𝑋))))
Assertion
Ref Expression
fucocolem1 (𝜑 → (((𝑈‘((1st𝑁)‘𝑋))(⟨((1st𝑃)‘((1st𝑄)‘𝑋)), ((1st𝐾)‘((1st𝑁)‘𝑋))⟩(comp‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋)))𝐴)(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝑃)‘((1st𝑄)‘𝑋))⟩(comp‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋)))(𝐵(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐹)‘((1st𝐿)‘𝑋))⟩(comp‘𝐸)((1st𝑃)‘((1st𝑄)‘𝑋)))((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋)))) = ((𝑈‘((1st𝑁)‘𝑋))(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐾)‘((1st𝑁)‘𝑋))⟩(comp‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋)))((𝐴(⟨((1st𝐹)‘((1st𝐿)‘𝑋)), ((1st𝑃)‘((1st𝑄)‘𝑋))⟩(comp‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋)))𝐵)(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐹)‘((1st𝐿)‘𝑋))⟩(comp‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋)))((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋)))))

Proof of Theorem fucocolem1
StepHypRef Expression
1 eqid 2736 . . 3 (Base‘𝐸) = (Base‘𝐸)
2 eqid 2736 . . 3 (Hom ‘𝐸) = (Hom ‘𝐸)
3 eqid 2736 . . 3 (comp‘𝐸) = (comp‘𝐸)
4 fucoco.r . . . . . . 7 (𝜑𝑅 ∈ (𝐹(𝐷 Nat 𝐸)𝐾))
5 eqid 2736 . . . . . . . 8 (𝐷 Nat 𝐸) = (𝐷 Nat 𝐸)
65natrcl 17877 . . . . . . 7 (𝑅 ∈ (𝐹(𝐷 Nat 𝐸)𝐾) → (𝐹 ∈ (𝐷 Func 𝐸) ∧ 𝐾 ∈ (𝐷 Func 𝐸)))
74, 6syl 17 . . . . . 6 (𝜑 → (𝐹 ∈ (𝐷 Func 𝐸) ∧ 𝐾 ∈ (𝐷 Func 𝐸)))
87simpld 494 . . . . 5 (𝜑𝐹 ∈ (𝐷 Func 𝐸))
98func1st2nd 49317 . . . 4 (𝜑 → (1st𝐹)(𝐷 Func 𝐸)(2nd𝐹))
109funcrcl3 49321 . . 3 (𝜑𝐸 ∈ Cat)
11 eqid 2736 . . . . 5 (Base‘𝐷) = (Base‘𝐷)
1211, 1, 9funcf1 17790 . . . 4 (𝜑 → (1st𝐹):(Base‘𝐷)⟶(Base‘𝐸))
13 eqid 2736 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
14 fucoco.s . . . . . . . . 9 (𝜑𝑆 ∈ (𝐺(𝐶 Nat 𝐷)𝐿))
15 eqid 2736 . . . . . . . . . 10 (𝐶 Nat 𝐷) = (𝐶 Nat 𝐷)
1615natrcl 17877 . . . . . . . . 9 (𝑆 ∈ (𝐺(𝐶 Nat 𝐷)𝐿) → (𝐺 ∈ (𝐶 Func 𝐷) ∧ 𝐿 ∈ (𝐶 Func 𝐷)))
1714, 16syl 17 . . . . . . . 8 (𝜑 → (𝐺 ∈ (𝐶 Func 𝐷) ∧ 𝐿 ∈ (𝐶 Func 𝐷)))
1817simpld 494 . . . . . . 7 (𝜑𝐺 ∈ (𝐶 Func 𝐷))
1918func1st2nd 49317 . . . . . 6 (𝜑 → (1st𝐺)(𝐶 Func 𝐷)(2nd𝐺))
2013, 11, 19funcf1 17790 . . . . 5 (𝜑 → (1st𝐺):(Base‘𝐶)⟶(Base‘𝐷))
21 fucocolem1.x . . . . 5 (𝜑𝑋 ∈ (Base‘𝐶))
2220, 21ffvelcdmd 7030 . . . 4 (𝜑 → ((1st𝐺)‘𝑋) ∈ (Base‘𝐷))
2312, 22ffvelcdmd 7030 . . 3 (𝜑 → ((1st𝐹)‘((1st𝐺)‘𝑋)) ∈ (Base‘𝐸))
24 fucocolem1.p . . . . . 6 (𝜑𝑃 ∈ (𝐷 Func 𝐸))
2524func1st2nd 49317 . . . . 5 (𝜑 → (1st𝑃)(𝐷 Func 𝐸)(2nd𝑃))
2611, 1, 25funcf1 17790 . . . 4 (𝜑 → (1st𝑃):(Base‘𝐷)⟶(Base‘𝐸))
27 fucocolem1.q . . . . . . 7 (𝜑𝑄 ∈ (𝐶 Func 𝐷))
2827func1st2nd 49317 . . . . . 6 (𝜑 → (1st𝑄)(𝐶 Func 𝐷)(2nd𝑄))
2913, 11, 28funcf1 17790 . . . . 5 (𝜑 → (1st𝑄):(Base‘𝐶)⟶(Base‘𝐷))
3029, 21ffvelcdmd 7030 . . . 4 (𝜑 → ((1st𝑄)‘𝑋) ∈ (Base‘𝐷))
3126, 30ffvelcdmd 7030 . . 3 (𝜑 → ((1st𝑃)‘((1st𝑄)‘𝑋)) ∈ (Base‘𝐸))
327simprd 495 . . . . . 6 (𝜑𝐾 ∈ (𝐷 Func 𝐸))
3332func1st2nd 49317 . . . . 5 (𝜑 → (1st𝐾)(𝐷 Func 𝐸)(2nd𝐾))
3411, 1, 33funcf1 17790 . . . 4 (𝜑 → (1st𝐾):(Base‘𝐷)⟶(Base‘𝐸))
35 fucoco.v . . . . . . . . 9 (𝜑𝑉 ∈ (𝐿(𝐶 Nat 𝐷)𝑁))
3615natrcl 17877 . . . . . . . . 9 (𝑉 ∈ (𝐿(𝐶 Nat 𝐷)𝑁) → (𝐿 ∈ (𝐶 Func 𝐷) ∧ 𝑁 ∈ (𝐶 Func 𝐷)))
3735, 36syl 17 . . . . . . . 8 (𝜑 → (𝐿 ∈ (𝐶 Func 𝐷) ∧ 𝑁 ∈ (𝐶 Func 𝐷)))
3837simprd 495 . . . . . . 7 (𝜑𝑁 ∈ (𝐶 Func 𝐷))
3938func1st2nd 49317 . . . . . 6 (𝜑 → (1st𝑁)(𝐶 Func 𝐷)(2nd𝑁))
4013, 11, 39funcf1 17790 . . . . 5 (𝜑 → (1st𝑁):(Base‘𝐶)⟶(Base‘𝐷))
4140, 21ffvelcdmd 7030 . . . 4 (𝜑 → ((1st𝑁)‘𝑋) ∈ (Base‘𝐷))
4234, 41ffvelcdmd 7030 . . 3 (𝜑 → ((1st𝐾)‘((1st𝑁)‘𝑋)) ∈ (Base‘𝐸))
4317simprd 495 . . . . . . . 8 (𝜑𝐿 ∈ (𝐶 Func 𝐷))
4443func1st2nd 49317 . . . . . . 7 (𝜑 → (1st𝐿)(𝐶 Func 𝐷)(2nd𝐿))
4513, 11, 44funcf1 17790 . . . . . 6 (𝜑 → (1st𝐿):(Base‘𝐶)⟶(Base‘𝐷))
4645, 21ffvelcdmd 7030 . . . . 5 (𝜑 → ((1st𝐿)‘𝑋) ∈ (Base‘𝐷))
4712, 46ffvelcdmd 7030 . . . 4 (𝜑 → ((1st𝐹)‘((1st𝐿)‘𝑋)) ∈ (Base‘𝐸))
48 eqid 2736 . . . . . 6 (Hom ‘𝐷) = (Hom ‘𝐷)
4911, 48, 2, 9, 22, 46funcf2 17792 . . . . 5 (𝜑 → (((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋)):(((1st𝐺)‘𝑋)(Hom ‘𝐷)((1st𝐿)‘𝑋))⟶(((1st𝐹)‘((1st𝐺)‘𝑋))(Hom ‘𝐸)((1st𝐹)‘((1st𝐿)‘𝑋))))
5015, 14nat1st2nd 17878 . . . . . 6 (𝜑𝑆 ∈ (⟨(1st𝐺), (2nd𝐺)⟩(𝐶 Nat 𝐷)⟨(1st𝐿), (2nd𝐿)⟩))
5115, 50, 13, 48, 21natcl 17880 . . . . 5 (𝜑 → (𝑆𝑋) ∈ (((1st𝐺)‘𝑋)(Hom ‘𝐷)((1st𝐿)‘𝑋)))
5249, 51ffvelcdmd 7030 . . . 4 (𝜑 → ((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋)) ∈ (((1st𝐹)‘((1st𝐺)‘𝑋))(Hom ‘𝐸)((1st𝐹)‘((1st𝐿)‘𝑋))))
53 fucocolem1.b . . . 4 (𝜑𝐵 ∈ (((1st𝐹)‘((1st𝐿)‘𝑋))(Hom ‘𝐸)((1st𝑃)‘((1st𝑄)‘𝑋))))
541, 2, 3, 10, 23, 47, 31, 52, 53catcocl 17608 . . 3 (𝜑 → (𝐵(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐹)‘((1st𝐿)‘𝑋))⟩(comp‘𝐸)((1st𝑃)‘((1st𝑄)‘𝑋)))((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋))) ∈ (((1st𝐹)‘((1st𝐺)‘𝑋))(Hom ‘𝐸)((1st𝑃)‘((1st𝑄)‘𝑋))))
55 fucocolem1.a . . 3 (𝜑𝐴 ∈ (((1st𝑃)‘((1st𝑄)‘𝑋))(Hom ‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋))))
56 fucoco.u . . . . . . . 8 (𝜑𝑈 ∈ (𝐾(𝐷 Nat 𝐸)𝑀))
575natrcl 17877 . . . . . . . 8 (𝑈 ∈ (𝐾(𝐷 Nat 𝐸)𝑀) → (𝐾 ∈ (𝐷 Func 𝐸) ∧ 𝑀 ∈ (𝐷 Func 𝐸)))
5856, 57syl 17 . . . . . . 7 (𝜑 → (𝐾 ∈ (𝐷 Func 𝐸) ∧ 𝑀 ∈ (𝐷 Func 𝐸)))
5958simprd 495 . . . . . 6 (𝜑𝑀 ∈ (𝐷 Func 𝐸))
6059func1st2nd 49317 . . . . 5 (𝜑 → (1st𝑀)(𝐷 Func 𝐸)(2nd𝑀))
6111, 1, 60funcf1 17790 . . . 4 (𝜑 → (1st𝑀):(Base‘𝐷)⟶(Base‘𝐸))
6261, 41ffvelcdmd 7030 . . 3 (𝜑 → ((1st𝑀)‘((1st𝑁)‘𝑋)) ∈ (Base‘𝐸))
635, 56nat1st2nd 17878 . . . 4 (𝜑𝑈 ∈ (⟨(1st𝐾), (2nd𝐾)⟩(𝐷 Nat 𝐸)⟨(1st𝑀), (2nd𝑀)⟩))
645, 63, 11, 2, 41natcl 17880 . . 3 (𝜑 → (𝑈‘((1st𝑁)‘𝑋)) ∈ (((1st𝐾)‘((1st𝑁)‘𝑋))(Hom ‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋))))
651, 2, 3, 10, 23, 31, 42, 54, 55, 62, 64catass 17609 . 2 (𝜑 → (((𝑈‘((1st𝑁)‘𝑋))(⟨((1st𝑃)‘((1st𝑄)‘𝑋)), ((1st𝐾)‘((1st𝑁)‘𝑋))⟩(comp‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋)))𝐴)(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝑃)‘((1st𝑄)‘𝑋))⟩(comp‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋)))(𝐵(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐹)‘((1st𝐿)‘𝑋))⟩(comp‘𝐸)((1st𝑃)‘((1st𝑄)‘𝑋)))((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋)))) = ((𝑈‘((1st𝑁)‘𝑋))(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐾)‘((1st𝑁)‘𝑋))⟩(comp‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋)))(𝐴(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝑃)‘((1st𝑄)‘𝑋))⟩(comp‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋)))(𝐵(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐹)‘((1st𝐿)‘𝑋))⟩(comp‘𝐸)((1st𝑃)‘((1st𝑄)‘𝑋)))((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋))))))
661, 2, 3, 10, 23, 47, 31, 52, 53, 42, 55catass 17609 . . 3 (𝜑 → ((𝐴(⟨((1st𝐹)‘((1st𝐿)‘𝑋)), ((1st𝑃)‘((1st𝑄)‘𝑋))⟩(comp‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋)))𝐵)(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐹)‘((1st𝐿)‘𝑋))⟩(comp‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋)))((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋))) = (𝐴(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝑃)‘((1st𝑄)‘𝑋))⟩(comp‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋)))(𝐵(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐹)‘((1st𝐿)‘𝑋))⟩(comp‘𝐸)((1st𝑃)‘((1st𝑄)‘𝑋)))((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋)))))
6766oveq2d 7374 . 2 (𝜑 → ((𝑈‘((1st𝑁)‘𝑋))(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐾)‘((1st𝑁)‘𝑋))⟩(comp‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋)))((𝐴(⟨((1st𝐹)‘((1st𝐿)‘𝑋)), ((1st𝑃)‘((1st𝑄)‘𝑋))⟩(comp‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋)))𝐵)(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐹)‘((1st𝐿)‘𝑋))⟩(comp‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋)))((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋)))) = ((𝑈‘((1st𝑁)‘𝑋))(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐾)‘((1st𝑁)‘𝑋))⟩(comp‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋)))(𝐴(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝑃)‘((1st𝑄)‘𝑋))⟩(comp‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋)))(𝐵(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐹)‘((1st𝐿)‘𝑋))⟩(comp‘𝐸)((1st𝑃)‘((1st𝑄)‘𝑋)))((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋))))))
6865, 67eqtr4d 2774 1 (𝜑 → (((𝑈‘((1st𝑁)‘𝑋))(⟨((1st𝑃)‘((1st𝑄)‘𝑋)), ((1st𝐾)‘((1st𝑁)‘𝑋))⟩(comp‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋)))𝐴)(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝑃)‘((1st𝑄)‘𝑋))⟩(comp‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋)))(𝐵(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐹)‘((1st𝐿)‘𝑋))⟩(comp‘𝐸)((1st𝑃)‘((1st𝑄)‘𝑋)))((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋)))) = ((𝑈‘((1st𝑁)‘𝑋))(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐾)‘((1st𝑁)‘𝑋))⟩(comp‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋)))((𝐴(⟨((1st𝐹)‘((1st𝐿)‘𝑋)), ((1st𝑃)‘((1st𝑄)‘𝑋))⟩(comp‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋)))𝐵)(⟨((1st𝐹)‘((1st𝐺)‘𝑋)), ((1st𝐹)‘((1st𝐿)‘𝑋))⟩(comp‘𝐸)((1st𝐾)‘((1st𝑁)‘𝑋)))((((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋))‘(𝑆𝑋)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wcel 2113  cop 4586  cfv 6492  (class class class)co 7358  1st c1st 7931  2nd c2nd 7932  Basecbs 17136  Hom chom 17188  compcco 17189   Func cfunc 17778   Nat cnat 17868
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 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2184  ax-ext 2708  ax-rep 5224  ax-sep 5241  ax-nul 5251  ax-pow 5310  ax-pr 5377  ax-un 7680
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2539  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2811  df-nfc 2885  df-ne 2933  df-ral 3052  df-rex 3061  df-reu 3351  df-rab 3400  df-v 3442  df-sbc 3741  df-csb 3850  df-dif 3904  df-un 3906  df-in 3908  df-ss 3918  df-nul 4286  df-if 4480  df-pw 4556  df-sn 4581  df-pr 4583  df-op 4587  df-uni 4864  df-iun 4948  df-br 5099  df-opab 5161  df-mpt 5180  df-id 5519  df-xp 5630  df-rel 5631  df-cnv 5632  df-co 5633  df-dm 5634  df-rn 5635  df-res 5636  df-ima 5637  df-iota 6448  df-fun 6494  df-fn 6495  df-f 6496  df-f1 6497  df-fo 6498  df-f1o 6499  df-fv 6500  df-ov 7361  df-oprab 7362  df-mpo 7363  df-1st 7933  df-2nd 7934  df-map 8765  df-ixp 8836  df-cat 17591  df-func 17782  df-nat 17870
This theorem is referenced by:  fucocolem3  49596  fucoco  49598
  Copyright terms: Public domain W3C validator