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

Theorem comfeq 16287
Description: Condition for two categories with the same hom-sets to have the same composition. (Contributed by Mario Carneiro, 4-Jan-2017.)
Hypotheses
Ref Expression
comfeq.1 · = (comp‘𝐶)
comfeq.2 = (comp‘𝐷)
comfeq.h 𝐻 = (Hom ‘𝐶)
comfeq.3 (𝜑𝐵 = (Base‘𝐶))
comfeq.4 (𝜑𝐵 = (Base‘𝐷))
comfeq.5 (𝜑 → (Homf𝐶) = (Homf𝐷))
Assertion
Ref Expression
comfeq (𝜑 → ((compf𝐶) = (compf𝐷) ↔ ∀𝑥𝐵𝑦𝐵𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓)))
Distinct variable groups:   𝑓,𝑔,𝑥,𝑦,𝑧,𝐵   𝐶,𝑓,𝑔,𝑧   𝜑,𝑓,𝑔,𝑧   · ,𝑓,𝑔,𝑥,𝑦   𝐷,𝑓,𝑔,𝑧   𝑓,𝐻,𝑔,𝑥,𝑦   ,𝑓,𝑔,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐶(𝑥,𝑦)   𝐷(𝑥,𝑦)   (𝑧)   · (𝑧)   𝐻(𝑧)

Proof of Theorem comfeq
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 ovex 6632 . . . . . 6 ((2nd𝑢)𝐻𝑧) ∈ V
2 fvex 6158 . . . . . 6 (𝐻𝑢) ∈ V
31, 2mpt2ex 7192 . . . . 5 (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)) ∈ V
43rgen2w 2920 . . . 4 𝑢 ∈ (𝐵 × 𝐵)∀𝑧𝐵 (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)) ∈ V
5 mpt22eqb 6722 . . . 4 (∀𝑢 ∈ (𝐵 × 𝐵)∀𝑧𝐵 (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)) ∈ V → ((𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓))) = (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))) ↔ ∀𝑢 ∈ (𝐵 × 𝐵)∀𝑧𝐵 (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)) = (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))))
64, 5ax-mp 5 . . 3 ((𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓))) = (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))) ↔ ∀𝑢 ∈ (𝐵 × 𝐵)∀𝑧𝐵 (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)) = (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓)))
7 vex 3189 . . . . . . . . 9 𝑥 ∈ V
8 vex 3189 . . . . . . . . 9 𝑦 ∈ V
97, 8op2ndd 7124 . . . . . . . 8 (𝑢 = ⟨𝑥, 𝑦⟩ → (2nd𝑢) = 𝑦)
109oveq1d 6619 . . . . . . 7 (𝑢 = ⟨𝑥, 𝑦⟩ → ((2nd𝑢)𝐻𝑧) = (𝑦𝐻𝑧))
11 fveq2 6148 . . . . . . . . 9 (𝑢 = ⟨𝑥, 𝑦⟩ → (𝐻𝑢) = (𝐻‘⟨𝑥, 𝑦⟩))
12 df-ov 6607 . . . . . . . . 9 (𝑥𝐻𝑦) = (𝐻‘⟨𝑥, 𝑦⟩)
1311, 12syl6eqr 2673 . . . . . . . 8 (𝑢 = ⟨𝑥, 𝑦⟩ → (𝐻𝑢) = (𝑥𝐻𝑦))
14 oveq1 6611 . . . . . . . . . 10 (𝑢 = ⟨𝑥, 𝑦⟩ → (𝑢 · 𝑧) = (⟨𝑥, 𝑦· 𝑧))
1514oveqd 6621 . . . . . . . . 9 (𝑢 = ⟨𝑥, 𝑦⟩ → (𝑔(𝑢 · 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦· 𝑧)𝑓))
16 oveq1 6611 . . . . . . . . . 10 (𝑢 = ⟨𝑥, 𝑦⟩ → (𝑢 𝑧) = (⟨𝑥, 𝑦 𝑧))
1716oveqd 6621 . . . . . . . . 9 (𝑢 = ⟨𝑥, 𝑦⟩ → (𝑔(𝑢 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓))
1815, 17eqeq12d 2636 . . . . . . . 8 (𝑢 = ⟨𝑥, 𝑦⟩ → ((𝑔(𝑢 · 𝑧)𝑓) = (𝑔(𝑢 𝑧)𝑓) ↔ (𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓)))
1913, 18raleqbidv 3141 . . . . . . 7 (𝑢 = ⟨𝑥, 𝑦⟩ → (∀𝑓 ∈ (𝐻𝑢)(𝑔(𝑢 · 𝑧)𝑓) = (𝑔(𝑢 𝑧)𝑓) ↔ ∀𝑓 ∈ (𝑥𝐻𝑦)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓)))
2010, 19raleqbidv 3141 . . . . . 6 (𝑢 = ⟨𝑥, 𝑦⟩ → (∀𝑔 ∈ ((2nd𝑢)𝐻𝑧)∀𝑓 ∈ (𝐻𝑢)(𝑔(𝑢 · 𝑧)𝑓) = (𝑔(𝑢 𝑧)𝑓) ↔ ∀𝑔 ∈ (𝑦𝐻𝑧)∀𝑓 ∈ (𝑥𝐻𝑦)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓)))
21 ovex 6632 . . . . . . . 8 (𝑔(𝑢 · 𝑧)𝑓) ∈ V
2221rgen2w 2920 . . . . . . 7 𝑔 ∈ ((2nd𝑢)𝐻𝑧)∀𝑓 ∈ (𝐻𝑢)(𝑔(𝑢 · 𝑧)𝑓) ∈ V
23 mpt22eqb 6722 . . . . . . 7 (∀𝑔 ∈ ((2nd𝑢)𝐻𝑧)∀𝑓 ∈ (𝐻𝑢)(𝑔(𝑢 · 𝑧)𝑓) ∈ V → ((𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)) = (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓)) ↔ ∀𝑔 ∈ ((2nd𝑢)𝐻𝑧)∀𝑓 ∈ (𝐻𝑢)(𝑔(𝑢 · 𝑧)𝑓) = (𝑔(𝑢 𝑧)𝑓)))
2422, 23ax-mp 5 . . . . . 6 ((𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)) = (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓)) ↔ ∀𝑔 ∈ ((2nd𝑢)𝐻𝑧)∀𝑓 ∈ (𝐻𝑢)(𝑔(𝑢 · 𝑧)𝑓) = (𝑔(𝑢 𝑧)𝑓))
25 ralcom 3090 . . . . . 6 (∀𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓) ↔ ∀𝑔 ∈ (𝑦𝐻𝑧)∀𝑓 ∈ (𝑥𝐻𝑦)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓))
2620, 24, 253bitr4g 303 . . . . 5 (𝑢 = ⟨𝑥, 𝑦⟩ → ((𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)) = (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓)) ↔ ∀𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓)))
2726ralbidv 2980 . . . 4 (𝑢 = ⟨𝑥, 𝑦⟩ → (∀𝑧𝐵 (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)) = (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓)) ↔ ∀𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓)))
2827ralxp 5223 . . 3 (∀𝑢 ∈ (𝐵 × 𝐵)∀𝑧𝐵 (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)) = (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓)) ↔ ∀𝑥𝐵𝑦𝐵𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓))
296, 28bitri 264 . 2 ((𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓))) = (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))) ↔ ∀𝑥𝐵𝑦𝐵𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓))
30 comfeq.3 . . . . . 6 (𝜑𝐵 = (Base‘𝐶))
3130sqxpeqd 5101 . . . . 5 (𝜑 → (𝐵 × 𝐵) = ((Base‘𝐶) × (Base‘𝐶)))
32 eqidd 2622 . . . . 5 (𝜑 → (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)) = (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)))
3331, 30, 32mpt2eq123dv 6670 . . . 4 (𝜑 → (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓))) = (𝑢 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑧 ∈ (Base‘𝐶) ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓))))
34 eqid 2621 . . . . 5 (compf𝐶) = (compf𝐶)
35 eqid 2621 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
36 comfeq.h . . . . 5 𝐻 = (Hom ‘𝐶)
37 comfeq.1 . . . . 5 · = (comp‘𝐶)
3834, 35, 36, 37comfffval 16279 . . . 4 (compf𝐶) = (𝑢 ∈ ((Base‘𝐶) × (Base‘𝐶)), 𝑧 ∈ (Base‘𝐶) ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓)))
3933, 38syl6eqr 2673 . . 3 (𝜑 → (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓))) = (compf𝐶))
40 eqid 2621 . . . . . . . 8 (Hom ‘𝐷) = (Hom ‘𝐷)
41 comfeq.5 . . . . . . . . 9 (𝜑 → (Homf𝐶) = (Homf𝐷))
42413ad2ant1 1080 . . . . . . . 8 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → (Homf𝐶) = (Homf𝐷))
43 xp2nd 7144 . . . . . . . . . 10 (𝑢 ∈ (𝐵 × 𝐵) → (2nd𝑢) ∈ 𝐵)
44433ad2ant2 1081 . . . . . . . . 9 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → (2nd𝑢) ∈ 𝐵)
45303ad2ant1 1080 . . . . . . . . 9 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → 𝐵 = (Base‘𝐶))
4644, 45eleqtrd 2700 . . . . . . . 8 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → (2nd𝑢) ∈ (Base‘𝐶))
47 simp3 1061 . . . . . . . . 9 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → 𝑧𝐵)
4847, 45eleqtrd 2700 . . . . . . . 8 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → 𝑧 ∈ (Base‘𝐶))
4935, 36, 40, 42, 46, 48homfeqval 16278 . . . . . . 7 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → ((2nd𝑢)𝐻𝑧) = ((2nd𝑢)(Hom ‘𝐷)𝑧))
50 xp1st 7143 . . . . . . . . . . . 12 (𝑢 ∈ (𝐵 × 𝐵) → (1st𝑢) ∈ 𝐵)
51503ad2ant2 1081 . . . . . . . . . . 11 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → (1st𝑢) ∈ 𝐵)
5251, 45eleqtrd 2700 . . . . . . . . . 10 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → (1st𝑢) ∈ (Base‘𝐶))
5335, 36, 40, 42, 52, 46homfeqval 16278 . . . . . . . . 9 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → ((1st𝑢)𝐻(2nd𝑢)) = ((1st𝑢)(Hom ‘𝐷)(2nd𝑢)))
54 df-ov 6607 . . . . . . . . 9 ((1st𝑢)𝐻(2nd𝑢)) = (𝐻‘⟨(1st𝑢), (2nd𝑢)⟩)
55 df-ov 6607 . . . . . . . . 9 ((1st𝑢)(Hom ‘𝐷)(2nd𝑢)) = ((Hom ‘𝐷)‘⟨(1st𝑢), (2nd𝑢)⟩)
5653, 54, 553eqtr3g 2678 . . . . . . . 8 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → (𝐻‘⟨(1st𝑢), (2nd𝑢)⟩) = ((Hom ‘𝐷)‘⟨(1st𝑢), (2nd𝑢)⟩))
57 1st2nd2 7150 . . . . . . . . . 10 (𝑢 ∈ (𝐵 × 𝐵) → 𝑢 = ⟨(1st𝑢), (2nd𝑢)⟩)
58573ad2ant2 1081 . . . . . . . . 9 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → 𝑢 = ⟨(1st𝑢), (2nd𝑢)⟩)
5958fveq2d 6152 . . . . . . . 8 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → (𝐻𝑢) = (𝐻‘⟨(1st𝑢), (2nd𝑢)⟩))
6058fveq2d 6152 . . . . . . . 8 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → ((Hom ‘𝐷)‘𝑢) = ((Hom ‘𝐷)‘⟨(1st𝑢), (2nd𝑢)⟩))
6156, 59, 603eqtr4d 2665 . . . . . . 7 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → (𝐻𝑢) = ((Hom ‘𝐷)‘𝑢))
62 eqidd 2622 . . . . . . 7 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → (𝑔(𝑢 𝑧)𝑓) = (𝑔(𝑢 𝑧)𝑓))
6349, 61, 62mpt2eq123dv 6670 . . . . . 6 ((𝜑𝑢 ∈ (𝐵 × 𝐵) ∧ 𝑧𝐵) → (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓)) = (𝑔 ∈ ((2nd𝑢)(Hom ‘𝐷)𝑧), 𝑓 ∈ ((Hom ‘𝐷)‘𝑢) ↦ (𝑔(𝑢 𝑧)𝑓)))
6463mpt2eq3dva 6672 . . . . 5 (𝜑 → (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))) = (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)(Hom ‘𝐷)𝑧), 𝑓 ∈ ((Hom ‘𝐷)‘𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))))
65 comfeq.4 . . . . . . 7 (𝜑𝐵 = (Base‘𝐷))
6665sqxpeqd 5101 . . . . . 6 (𝜑 → (𝐵 × 𝐵) = ((Base‘𝐷) × (Base‘𝐷)))
67 eqidd 2622 . . . . . 6 (𝜑 → (𝑔 ∈ ((2nd𝑢)(Hom ‘𝐷)𝑧), 𝑓 ∈ ((Hom ‘𝐷)‘𝑢) ↦ (𝑔(𝑢 𝑧)𝑓)) = (𝑔 ∈ ((2nd𝑢)(Hom ‘𝐷)𝑧), 𝑓 ∈ ((Hom ‘𝐷)‘𝑢) ↦ (𝑔(𝑢 𝑧)𝑓)))
6866, 65, 67mpt2eq123dv 6670 . . . . 5 (𝜑 → (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)(Hom ‘𝐷)𝑧), 𝑓 ∈ ((Hom ‘𝐷)‘𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))) = (𝑢 ∈ ((Base‘𝐷) × (Base‘𝐷)), 𝑧 ∈ (Base‘𝐷) ↦ (𝑔 ∈ ((2nd𝑢)(Hom ‘𝐷)𝑧), 𝑓 ∈ ((Hom ‘𝐷)‘𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))))
6964, 68eqtrd 2655 . . . 4 (𝜑 → (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))) = (𝑢 ∈ ((Base‘𝐷) × (Base‘𝐷)), 𝑧 ∈ (Base‘𝐷) ↦ (𝑔 ∈ ((2nd𝑢)(Hom ‘𝐷)𝑧), 𝑓 ∈ ((Hom ‘𝐷)‘𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))))
70 eqid 2621 . . . . 5 (compf𝐷) = (compf𝐷)
71 eqid 2621 . . . . 5 (Base‘𝐷) = (Base‘𝐷)
72 comfeq.2 . . . . 5 = (comp‘𝐷)
7370, 71, 40, 72comfffval 16279 . . . 4 (compf𝐷) = (𝑢 ∈ ((Base‘𝐷) × (Base‘𝐷)), 𝑧 ∈ (Base‘𝐷) ↦ (𝑔 ∈ ((2nd𝑢)(Hom ‘𝐷)𝑧), 𝑓 ∈ ((Hom ‘𝐷)‘𝑢) ↦ (𝑔(𝑢 𝑧)𝑓)))
7469, 73syl6eqr 2673 . . 3 (𝜑 → (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))) = (compf𝐷))
7539, 74eqeq12d 2636 . 2 (𝜑 → ((𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 · 𝑧)𝑓))) = (𝑢 ∈ (𝐵 × 𝐵), 𝑧𝐵 ↦ (𝑔 ∈ ((2nd𝑢)𝐻𝑧), 𝑓 ∈ (𝐻𝑢) ↦ (𝑔(𝑢 𝑧)𝑓))) ↔ (compf𝐶) = (compf𝐷)))
7629, 75syl5rbbr 275 1 (𝜑 → ((compf𝐶) = (compf𝐷) ↔ ∀𝑥𝐵𝑦𝐵𝑧𝐵𝑓 ∈ (𝑥𝐻𝑦)∀𝑔 ∈ (𝑦𝐻𝑧)(𝑔(⟨𝑥, 𝑦· 𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦 𝑧)𝑓)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  w3a 1036   = wceq 1480  wcel 1987  wral 2907  Vcvv 3186  cop 4154   × cxp 5072  cfv 5847  (class class class)co 6604  cmpt2 6606  1st c1st 7111  2nd c2nd 7112  Basecbs 15781  Hom chom 15873  compcco 15874  Homf chomf 16248  compfccomf 16249
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-1st 7113  df-2nd 7114  df-homf 16252  df-comf 16253
This theorem is referenced by:  comfeqd  16288  2oppccomf  16306  oppccomfpropd  16308  resssetc  16663  resscatc  16676
  Copyright terms: Public domain W3C validator