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 49706
Description: Lemma for fucoco 49710. 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 2737 . . 3 (Base‘𝐸) = (Base‘𝐸)
2 eqid 2737 . . 3 (Hom ‘𝐸) = (Hom ‘𝐸)
3 eqid 2737 . . 3 (comp‘𝐸) = (comp‘𝐸)
4 fucoco.r . . . . . . 7 (𝜑𝑅 ∈ (𝐹(𝐷 Nat 𝐸)𝐾))
5 eqid 2737 . . . . . . . 8 (𝐷 Nat 𝐸) = (𝐷 Nat 𝐸)
65natrcl 17889 . . . . . . 7 (𝑅 ∈ (𝐹(𝐷 Nat 𝐸)𝐾) → (𝐹 ∈ (𝐷 Func 𝐸) ∧ 𝐾 ∈ (𝐷 Func 𝐸)))
74, 6syl 17 . . . . . 6 (𝜑 → (𝐹 ∈ (𝐷 Func 𝐸) ∧ 𝐾 ∈ (𝐷 Func 𝐸)))
87simpld 494 . . . . 5 (𝜑𝐹 ∈ (𝐷 Func 𝐸))
98func1st2nd 49429 . . . 4 (𝜑 → (1st𝐹)(𝐷 Func 𝐸)(2nd𝐹))
109funcrcl3 49433 . . 3 (𝜑𝐸 ∈ Cat)
11 eqid 2737 . . . . 5 (Base‘𝐷) = (Base‘𝐷)
1211, 1, 9funcf1 17802 . . . 4 (𝜑 → (1st𝐹):(Base‘𝐷)⟶(Base‘𝐸))
13 eqid 2737 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
14 fucoco.s . . . . . . . . 9 (𝜑𝑆 ∈ (𝐺(𝐶 Nat 𝐷)𝐿))
15 eqid 2737 . . . . . . . . . 10 (𝐶 Nat 𝐷) = (𝐶 Nat 𝐷)
1615natrcl 17889 . . . . . . . . 9 (𝑆 ∈ (𝐺(𝐶 Nat 𝐷)𝐿) → (𝐺 ∈ (𝐶 Func 𝐷) ∧ 𝐿 ∈ (𝐶 Func 𝐷)))
1714, 16syl 17 . . . . . . . 8 (𝜑 → (𝐺 ∈ (𝐶 Func 𝐷) ∧ 𝐿 ∈ (𝐶 Func 𝐷)))
1817simpld 494 . . . . . . 7 (𝜑𝐺 ∈ (𝐶 Func 𝐷))
1918func1st2nd 49429 . . . . . 6 (𝜑 → (1st𝐺)(𝐶 Func 𝐷)(2nd𝐺))
2013, 11, 19funcf1 17802 . . . . 5 (𝜑 → (1st𝐺):(Base‘𝐶)⟶(Base‘𝐷))
21 fucocolem1.x . . . . 5 (𝜑𝑋 ∈ (Base‘𝐶))
2220, 21ffvelcdmd 7039 . . . 4 (𝜑 → ((1st𝐺)‘𝑋) ∈ (Base‘𝐷))
2312, 22ffvelcdmd 7039 . . 3 (𝜑 → ((1st𝐹)‘((1st𝐺)‘𝑋)) ∈ (Base‘𝐸))
24 fucocolem1.p . . . . . 6 (𝜑𝑃 ∈ (𝐷 Func 𝐸))
2524func1st2nd 49429 . . . . 5 (𝜑 → (1st𝑃)(𝐷 Func 𝐸)(2nd𝑃))
2611, 1, 25funcf1 17802 . . . 4 (𝜑 → (1st𝑃):(Base‘𝐷)⟶(Base‘𝐸))
27 fucocolem1.q . . . . . . 7 (𝜑𝑄 ∈ (𝐶 Func 𝐷))
2827func1st2nd 49429 . . . . . 6 (𝜑 → (1st𝑄)(𝐶 Func 𝐷)(2nd𝑄))
2913, 11, 28funcf1 17802 . . . . 5 (𝜑 → (1st𝑄):(Base‘𝐶)⟶(Base‘𝐷))
3029, 21ffvelcdmd 7039 . . . 4 (𝜑 → ((1st𝑄)‘𝑋) ∈ (Base‘𝐷))
3126, 30ffvelcdmd 7039 . . 3 (𝜑 → ((1st𝑃)‘((1st𝑄)‘𝑋)) ∈ (Base‘𝐸))
327simprd 495 . . . . . 6 (𝜑𝐾 ∈ (𝐷 Func 𝐸))
3332func1st2nd 49429 . . . . 5 (𝜑 → (1st𝐾)(𝐷 Func 𝐸)(2nd𝐾))
3411, 1, 33funcf1 17802 . . . 4 (𝜑 → (1st𝐾):(Base‘𝐷)⟶(Base‘𝐸))
35 fucoco.v . . . . . . . . 9 (𝜑𝑉 ∈ (𝐿(𝐶 Nat 𝐷)𝑁))
3615natrcl 17889 . . . . . . . . 9 (𝑉 ∈ (𝐿(𝐶 Nat 𝐷)𝑁) → (𝐿 ∈ (𝐶 Func 𝐷) ∧ 𝑁 ∈ (𝐶 Func 𝐷)))
3735, 36syl 17 . . . . . . . 8 (𝜑 → (𝐿 ∈ (𝐶 Func 𝐷) ∧ 𝑁 ∈ (𝐶 Func 𝐷)))
3837simprd 495 . . . . . . 7 (𝜑𝑁 ∈ (𝐶 Func 𝐷))
3938func1st2nd 49429 . . . . . 6 (𝜑 → (1st𝑁)(𝐶 Func 𝐷)(2nd𝑁))
4013, 11, 39funcf1 17802 . . . . 5 (𝜑 → (1st𝑁):(Base‘𝐶)⟶(Base‘𝐷))
4140, 21ffvelcdmd 7039 . . . 4 (𝜑 → ((1st𝑁)‘𝑋) ∈ (Base‘𝐷))
4234, 41ffvelcdmd 7039 . . 3 (𝜑 → ((1st𝐾)‘((1st𝑁)‘𝑋)) ∈ (Base‘𝐸))
4317simprd 495 . . . . . . . 8 (𝜑𝐿 ∈ (𝐶 Func 𝐷))
4443func1st2nd 49429 . . . . . . 7 (𝜑 → (1st𝐿)(𝐶 Func 𝐷)(2nd𝐿))
4513, 11, 44funcf1 17802 . . . . . 6 (𝜑 → (1st𝐿):(Base‘𝐶)⟶(Base‘𝐷))
4645, 21ffvelcdmd 7039 . . . . 5 (𝜑 → ((1st𝐿)‘𝑋) ∈ (Base‘𝐷))
4712, 46ffvelcdmd 7039 . . . 4 (𝜑 → ((1st𝐹)‘((1st𝐿)‘𝑋)) ∈ (Base‘𝐸))
48 eqid 2737 . . . . . 6 (Hom ‘𝐷) = (Hom ‘𝐷)
4911, 48, 2, 9, 22, 46funcf2 17804 . . . . 5 (𝜑 → (((1st𝐺)‘𝑋)(2nd𝐹)((1st𝐿)‘𝑋)):(((1st𝐺)‘𝑋)(Hom ‘𝐷)((1st𝐿)‘𝑋))⟶(((1st𝐹)‘((1st𝐺)‘𝑋))(Hom ‘𝐸)((1st𝐹)‘((1st𝐿)‘𝑋))))
5015, 14nat1st2nd 17890 . . . . . 6 (𝜑𝑆 ∈ (⟨(1st𝐺), (2nd𝐺)⟩(𝐶 Nat 𝐷)⟨(1st𝐿), (2nd𝐿)⟩))
5115, 50, 13, 48, 21natcl 17892 . . . . 5 (𝜑 → (𝑆𝑋) ∈ (((1st𝐺)‘𝑋)(Hom ‘𝐷)((1st𝐿)‘𝑋)))
5249, 51ffvelcdmd 7039 . . . 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 17620 . . 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 17889 . . . . . . . 8 (𝑈 ∈ (𝐾(𝐷 Nat 𝐸)𝑀) → (𝐾 ∈ (𝐷 Func 𝐸) ∧ 𝑀 ∈ (𝐷 Func 𝐸)))
5856, 57syl 17 . . . . . . 7 (𝜑 → (𝐾 ∈ (𝐷 Func 𝐸) ∧ 𝑀 ∈ (𝐷 Func 𝐸)))
5958simprd 495 . . . . . 6 (𝜑𝑀 ∈ (𝐷 Func 𝐸))
6059func1st2nd 49429 . . . . 5 (𝜑 → (1st𝑀)(𝐷 Func 𝐸)(2nd𝑀))
6111, 1, 60funcf1 17802 . . . 4 (𝜑 → (1st𝑀):(Base‘𝐷)⟶(Base‘𝐸))
6261, 41ffvelcdmd 7039 . . 3 (𝜑 → ((1st𝑀)‘((1st𝑁)‘𝑋)) ∈ (Base‘𝐸))
635, 56nat1st2nd 17890 . . . 4 (𝜑𝑈 ∈ (⟨(1st𝐾), (2nd𝐾)⟩(𝐷 Nat 𝐸)⟨(1st𝑀), (2nd𝑀)⟩))
645, 63, 11, 2, 41natcl 17892 . . 3 (𝜑 → (𝑈‘((1st𝑁)‘𝑋)) ∈ (((1st𝐾)‘((1st𝑁)‘𝑋))(Hom ‘𝐸)((1st𝑀)‘((1st𝑁)‘𝑋))))
651, 2, 3, 10, 23, 31, 42, 54, 55, 62, 64catass 17621 . 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 17621 . . 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 7384 . 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 2775 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 1542  wcel 2114  cop 4588  cfv 6500  (class class class)co 7368  1st c1st 7941  2nd c2nd 7942  Basecbs 17148  Hom chom 17200  compcco 17201   Func cfunc 17790   Nat cnat 17880
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-rep 5226  ax-sep 5243  ax-nul 5253  ax-pow 5312  ax-pr 5379  ax-un 7690
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-ral 3053  df-rex 3063  df-reu 3353  df-rab 3402  df-v 3444  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-nul 4288  df-if 4482  df-pw 4558  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-iun 4950  df-br 5101  df-opab 5163  df-mpt 5182  df-id 5527  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-res 5644  df-ima 5645  df-iota 6456  df-fun 6502  df-fn 6503  df-f 6504  df-f1 6505  df-fo 6506  df-f1o 6507  df-fv 6508  df-ov 7371  df-oprab 7372  df-mpo 7373  df-1st 7943  df-2nd 7944  df-map 8777  df-ixp 8848  df-cat 17603  df-func 17794  df-nat 17882
This theorem is referenced by:  fucocolem3  49708  fucoco  49710
  Copyright terms: Public domain W3C validator