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

Theorem catass 16553
Description: Associativity of composition in a category. (Contributed by Mario Carneiro, 2-Jan-2017.)
Hypotheses
Ref Expression
catcocl.b 𝐵 = (Base‘𝐶)
catcocl.h 𝐻 = (Hom ‘𝐶)
catcocl.o · = (comp‘𝐶)
catcocl.c (𝜑𝐶 ∈ Cat)
catcocl.x (𝜑𝑋𝐵)
catcocl.y (𝜑𝑌𝐵)
catcocl.z (𝜑𝑍𝐵)
catcocl.f (𝜑𝐹 ∈ (𝑋𝐻𝑌))
catcocl.g (𝜑𝐺 ∈ (𝑌𝐻𝑍))
catass.w (𝜑𝑊𝐵)
catass.g (𝜑𝐾 ∈ (𝑍𝐻𝑊))
Assertion
Ref Expression
catass (𝜑 → ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹)))

Proof of Theorem catass
Dummy variables 𝑓 𝑔 𝑘 𝑤 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 catcocl.c . . 3 (𝜑𝐶 ∈ Cat)
2 catcocl.b . . . . 5 𝐵 = (Base‘𝐶)
3 catcocl.h . . . . 5 𝐻 = (Hom ‘𝐶)
4 catcocl.o . . . . 5 · = (comp‘𝐶)
52, 3, 4iscat 16539 . . . 4 (𝐶 ∈ Cat → (𝐶 ∈ Cat ↔ ∀𝑥𝐵 (∃𝑔 ∈ (𝑥𝐻𝑥)∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑥)(𝑔(⟨𝑦, 𝑥· 𝑥)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑥𝐻𝑦)(𝑓(⟨𝑥, 𝑥· 𝑦)𝑔) = 𝑓) ∧ ∀𝑦𝐵𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)((𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) ∈ (𝑥𝐻𝑧) ∧ ∀𝑤𝐵𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓))))))
65ibi 256 . . 3 (𝐶 ∈ Cat → ∀𝑥𝐵 (∃𝑔 ∈ (𝑥𝐻𝑥)∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑥)(𝑔(⟨𝑦, 𝑥· 𝑥)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑥𝐻𝑦)(𝑓(⟨𝑥, 𝑥· 𝑦)𝑔) = 𝑓) ∧ ∀𝑦𝐵𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)((𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) ∈ (𝑥𝐻𝑧) ∧ ∀𝑤𝐵𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓)))))
71, 6syl 17 . 2 (𝜑 → ∀𝑥𝐵 (∃𝑔 ∈ (𝑥𝐻𝑥)∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑥)(𝑔(⟨𝑦, 𝑥· 𝑥)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑥𝐻𝑦)(𝑓(⟨𝑥, 𝑥· 𝑦)𝑔) = 𝑓) ∧ ∀𝑦𝐵𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)((𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) ∈ (𝑥𝐻𝑧) ∧ ∀𝑤𝐵𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓)))))
8 catcocl.x . . 3 (𝜑𝑋𝐵)
9 catcocl.y . . . . . 6 (𝜑𝑌𝐵)
109adantr 466 . . . . 5 ((𝜑𝑥 = 𝑋) → 𝑌𝐵)
11 catcocl.z . . . . . . 7 (𝜑𝑍𝐵)
1211ad2antrr 697 . . . . . 6 (((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) → 𝑍𝐵)
13 catcocl.f . . . . . . . . 9 (𝜑𝐹 ∈ (𝑋𝐻𝑌))
1413ad3antrrr 701 . . . . . . . 8 ((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) → 𝐹 ∈ (𝑋𝐻𝑌))
15 simpllr 752 . . . . . . . . 9 ((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) → 𝑥 = 𝑋)
16 simplr 744 . . . . . . . . 9 ((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) → 𝑦 = 𝑌)
1715, 16oveq12d 6810 . . . . . . . 8 ((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) → (𝑥𝐻𝑦) = (𝑋𝐻𝑌))
1814, 17eleqtrrd 2852 . . . . . . 7 ((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) → 𝐹 ∈ (𝑥𝐻𝑦))
19 catcocl.g . . . . . . . . . 10 (𝜑𝐺 ∈ (𝑌𝐻𝑍))
2019ad4antr 704 . . . . . . . . 9 (((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) → 𝐺 ∈ (𝑌𝐻𝑍))
21 simpllr 752 . . . . . . . . . 10 (((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) → 𝑦 = 𝑌)
22 simplr 744 . . . . . . . . . 10 (((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) → 𝑧 = 𝑍)
2321, 22oveq12d 6810 . . . . . . . . 9 (((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) → (𝑦𝐻𝑧) = (𝑌𝐻𝑍))
2420, 23eleqtrrd 2852 . . . . . . . 8 (((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) → 𝐺 ∈ (𝑦𝐻𝑧))
25 catass.w . . . . . . . . . . 11 (𝜑𝑊𝐵)
2625ad5antr 708 . . . . . . . . . 10 ((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) → 𝑊𝐵)
27 catass.g . . . . . . . . . . . . 13 (𝜑𝐾 ∈ (𝑍𝐻𝑊))
2827ad6antr 712 . . . . . . . . . . . 12 (((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) → 𝐾 ∈ (𝑍𝐻𝑊))
29 simp-4r 762 . . . . . . . . . . . . 13 (((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) → 𝑧 = 𝑍)
30 simpr 471 . . . . . . . . . . . . 13 (((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) → 𝑤 = 𝑊)
3129, 30oveq12d 6810 . . . . . . . . . . . 12 (((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) → (𝑧𝐻𝑤) = (𝑍𝐻𝑊))
3228, 31eleqtrrd 2852 . . . . . . . . . . 11 (((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) → 𝐾 ∈ (𝑧𝐻𝑤))
33 simp-7r 774 . . . . . . . . . . . . . . 15 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → 𝑥 = 𝑋)
34 simp-6r 770 . . . . . . . . . . . . . . 15 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → 𝑦 = 𝑌)
3533, 34opeq12d 4545 . . . . . . . . . . . . . 14 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → ⟨𝑥, 𝑦⟩ = ⟨𝑋, 𝑌⟩)
36 simplr 744 . . . . . . . . . . . . . 14 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → 𝑤 = 𝑊)
3735, 36oveq12d 6810 . . . . . . . . . . . . 13 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → (⟨𝑥, 𝑦· 𝑤) = (⟨𝑋, 𝑌· 𝑊))
38 simp-5r 766 . . . . . . . . . . . . . . . 16 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → 𝑧 = 𝑍)
3934, 38opeq12d 4545 . . . . . . . . . . . . . . 15 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → ⟨𝑦, 𝑧⟩ = ⟨𝑌, 𝑍⟩)
4039, 36oveq12d 6810 . . . . . . . . . . . . . 14 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → (⟨𝑦, 𝑧· 𝑤) = (⟨𝑌, 𝑍· 𝑊))
41 simpr 471 . . . . . . . . . . . . . 14 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → 𝑘 = 𝐾)
42 simpllr 752 . . . . . . . . . . . . . 14 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → 𝑔 = 𝐺)
4340, 41, 42oveq123d 6813 . . . . . . . . . . . . 13 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → (𝑘(⟨𝑦, 𝑧· 𝑤)𝑔) = (𝐾(⟨𝑌, 𝑍· 𝑊)𝐺))
44 simp-4r 762 . . . . . . . . . . . . 13 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → 𝑓 = 𝐹)
4537, 43, 44oveq123d 6813 . . . . . . . . . . . 12 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → ((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹))
4633, 38opeq12d 4545 . . . . . . . . . . . . . 14 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → ⟨𝑥, 𝑧⟩ = ⟨𝑋, 𝑍⟩)
4746, 36oveq12d 6810 . . . . . . . . . . . . 13 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → (⟨𝑥, 𝑧· 𝑤) = (⟨𝑋, 𝑍· 𝑊))
4835, 38oveq12d 6810 . . . . . . . . . . . . . 14 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → (⟨𝑥, 𝑦· 𝑧) = (⟨𝑋, 𝑌· 𝑍))
4948, 42, 44oveq123d 6813 . . . . . . . . . . . . 13 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → (𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝐺(⟨𝑋, 𝑌· 𝑍)𝐹))
5047, 41, 49oveq123d 6813 . . . . . . . . . . . 12 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓)) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹)))
5145, 50eqeq12d 2785 . . . . . . . . . . 11 ((((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) ∧ 𝑘 = 𝐾) → (((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓)) ↔ ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹))))
5232, 51rspcdv 3461 . . . . . . . . . 10 (((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) ∧ 𝑤 = 𝑊) → (∀𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓)) → ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹))))
5326, 52rspcimdv 3459 . . . . . . . . 9 ((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) → (∀𝑤𝐵𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓)) → ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹))))
5453adantld 474 . . . . . . . 8 ((((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) ∧ 𝑔 = 𝐺) → (((𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) ∈ (𝑥𝐻𝑧) ∧ ∀𝑤𝐵𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓))) → ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹))))
5524, 54rspcimdv 3459 . . . . . . 7 (((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) ∧ 𝑓 = 𝐹) → (∀𝑔 ∈ (𝑦𝐻𝑧)((𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) ∈ (𝑥𝐻𝑧) ∧ ∀𝑤𝐵𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓))) → ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹))))
5618, 55rspcimdv 3459 . . . . . 6 ((((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) ∧ 𝑧 = 𝑍) → (∀𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)((𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) ∈ (𝑥𝐻𝑧) ∧ ∀𝑤𝐵𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓))) → ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹))))
5712, 56rspcimdv 3459 . . . . 5 (((𝜑𝑥 = 𝑋) ∧ 𝑦 = 𝑌) → (∀𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)((𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) ∈ (𝑥𝐻𝑧) ∧ ∀𝑤𝐵𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓))) → ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹))))
5810, 57rspcimdv 3459 . . . 4 ((𝜑𝑥 = 𝑋) → (∀𝑦𝐵𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)((𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) ∈ (𝑥𝐻𝑧) ∧ ∀𝑤𝐵𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓))) → ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹))))
5958adantld 474 . . 3 ((𝜑𝑥 = 𝑋) → ((∃𝑔 ∈ (𝑥𝐻𝑥)∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑥)(𝑔(⟨𝑦, 𝑥· 𝑥)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑥𝐻𝑦)(𝑓(⟨𝑥, 𝑥· 𝑦)𝑔) = 𝑓) ∧ ∀𝑦𝐵𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)((𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) ∈ (𝑥𝐻𝑧) ∧ ∀𝑤𝐵𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓)))) → ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹))))
608, 59rspcimdv 3459 . 2 (𝜑 → (∀𝑥𝐵 (∃𝑔 ∈ (𝑥𝐻𝑥)∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑥)(𝑔(⟨𝑦, 𝑥· 𝑥)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑥𝐻𝑦)(𝑓(⟨𝑥, 𝑥· 𝑦)𝑔) = 𝑓) ∧ ∀𝑦𝐵𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)((𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) ∈ (𝑥𝐻𝑧) ∧ ∀𝑤𝐵𝑘 ∈ (𝑧𝐻𝑤)((𝑘(⟨𝑦, 𝑧· 𝑤)𝑔)(⟨𝑥, 𝑦· 𝑤)𝑓) = (𝑘(⟨𝑥, 𝑧· 𝑤)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓)))) → ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹))))
617, 60mpd 15 1 (𝜑 → ((𝐾(⟨𝑌, 𝑍· 𝑊)𝐺)(⟨𝑋, 𝑌· 𝑊)𝐹) = (𝐾(⟨𝑋, 𝑍· 𝑊)(𝐺(⟨𝑋, 𝑌· 𝑍)𝐹)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382   = wceq 1630  wcel 2144  wral 3060  wrex 3061  cop 4320  cfv 6031  (class class class)co 6792  Basecbs 16063  Hom chom 16159  compcco 16160  Catccat 16531
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1869  ax-4 1884  ax-5 1990  ax-6 2056  ax-7 2092  ax-9 2153  ax-10 2173  ax-11 2189  ax-12 2202  ax-13 2407  ax-ext 2750  ax-nul 4920
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 827  df-3an 1072  df-tru 1633  df-ex 1852  df-nf 1857  df-sb 2049  df-eu 2621  df-clab 2757  df-cleq 2763  df-clel 2766  df-nfc 2901  df-ral 3065  df-rex 3066  df-rab 3069  df-v 3351  df-sbc 3586  df-dif 3724  df-un 3726  df-in 3728  df-ss 3735  df-nul 4062  df-if 4224  df-sn 4315  df-pr 4317  df-op 4321  df-uni 4573  df-br 4785  df-iota 5994  df-fv 6039  df-ov 6795  df-cat 16535
This theorem is referenced by:  oppccatid  16585  sectcan  16621  sectco  16622  sectmon  16648  monsect  16649  rcaninv  16660  subccatid  16712  fuccocl  16830  fucass  16834  invfuc  16840  arwass  16930  xpccatid  17035  evlfcllem  17068  hofcllem  17105
  Copyright terms: Public domain W3C validator