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

Theorem comffval 17905
Description: Value of the functionalized composition operation. (Contributed by Mario Carneiro, 4-Jan-2017.)
Hypotheses
Ref Expression
comfffval.o 𝑂 = (compf‘𝐶)
comfffval.b 𝐵 = (Base‘𝐶)
comfffval.h 𝐻 = (Hom ‘𝐶)
comfffval.x · = (comp‘𝐶)
comffval.x (𝜑 → 𝑋 ∈ 𝐵)
comffval.y (𝜑 → 𝑌 ∈ 𝐵)
comffval.z (𝜑 → 𝑍 ∈ 𝐵)
Assertion
Ref Expression
comffval (𝜑 → (⟨𝑋, 𝑌⟩𝑂𝑍) = (𝑔 ∈ (𝑌𝐻𝑍), 𝑓 ∈ (𝑋𝐻𝑌) ↦ (𝑔(⟨𝑋, 𝑌⟩ · 𝑍)𝑓)))
Distinct variable groups:   𝑓,𝑔,𝐶   𝜑,𝑓,𝑔   · ,𝑓,𝑔   𝑓,𝑋,𝑔   𝑓,𝑌,𝑔   𝑓,𝑍,𝑔   𝑓,𝐻,𝑔
Allowed substitution hints:   𝐵(𝑓, 𝑔)   𝑂(𝑓, 𝑔)

Proof of Theorem comffval
Dummy variables 𝑥 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 comfffval.o . . . 4 𝑂 = (compf‘𝐶)
2 comfffval.b . . . 4 𝐵 = (Base‘𝐶)
3 comfffval.h . . . 4 𝐻 = (Hom ‘𝐶)
4 comfffval.x . . . 4 · = (comp‘𝐶)
51, 2, 3, 4comfffval 17904 . . 3 𝑂 = (𝑥 ∈ (𝐵 × 𝐵), 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ ((2nd ‘𝑥)𝐻𝑧), 𝑓 ∈ (𝐻‘𝑥) ↦ (𝑔(𝑥 · 𝑧)𝑓)))
65a1i 11 . 2 (𝜑 → 𝑂 = (𝑥 ∈ (𝐵 × 𝐵), 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ ((2nd ‘𝑥)𝐻𝑧), 𝑓 ∈ (𝐻‘𝑥) ↦ (𝑔(𝑥 · 𝑧)𝑓))))
7 simprl 783 . . . . . 6 ((𝜑 ∧ (𝑥 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → 𝑥 = ⟨𝑋, 𝑌⟩)
87fveq2d 6915 . . . . 5 ((𝜑 ∧ (𝑥 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (2nd ‘𝑥) = (2nd ‘⟨𝑋, 𝑌⟩))
9 comffval.x . . . . . . 7 (𝜑 → 𝑋 ∈ 𝐵)
10 comffval.y . . . . . . 7 (𝜑 → 𝑌 ∈ 𝐵)
11 op2ndg 8041 . . . . . . 7 ((𝑋 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵) → (2nd ‘⟨𝑋, 𝑌⟩) = 𝑌)
129, 10, 11syl2anc 596 . . . . . 6 (𝜑 → (2nd ‘⟨𝑋, 𝑌⟩) = 𝑌)
1312adantr 486 . . . . 5 ((𝜑 ∧ (𝑥 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (2nd ‘⟨𝑋, 𝑌⟩) = 𝑌)
148, 13eqtrd 2798 . . . 4 ((𝜑 ∧ (𝑥 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (2nd ‘𝑥) = 𝑌)
15 simprr 785 . . . 4 ((𝜑 ∧ (𝑥 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → 𝑧 = 𝑍)
1614, 15oveq12d 7464 . . 3 ((𝜑 ∧ (𝑥 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → ((2nd ‘𝑥)𝐻𝑧) = (𝑌𝐻𝑍))
177fveq2d 6915 . . . 4 ((𝜑 ∧ (𝑥 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (𝐻‘𝑥) = (𝐻‘⟨𝑋, 𝑌⟩))
18 df-ov 7449 . . . 4 (𝑋𝐻𝑌) = (𝐻‘⟨𝑋, 𝑌⟩)
1917, 18eqtr4di 2816 . . 3 ((𝜑 ∧ (𝑥 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (𝐻‘𝑥) = (𝑋𝐻𝑌))
207, 15oveq12d 7464 . . . 4 ((𝜑 ∧ (𝑥 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (𝑥 · 𝑧) = (⟨𝑋, 𝑌⟩ · 𝑍))
2120oveqd 7463 . . 3 ((𝜑 ∧ (𝑥 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (𝑔(𝑥 · 𝑧)𝑓) = (𝑔(⟨𝑋, 𝑌⟩ · 𝑍)𝑓))
2216, 19, 21mpoeq123dv 7521 . 2 ((𝜑 ∧ (𝑥 = ⟨𝑋, 𝑌⟩ ∧ 𝑧 = 𝑍)) → (𝑔 ∈ ((2nd ‘𝑥)𝐻𝑧), 𝑓 ∈ (𝐻‘𝑥) ↦ (𝑔(𝑥 · 𝑧)𝑓)) = (𝑔 ∈ (𝑌𝐻𝑍), 𝑓 ∈ (𝑋𝐻𝑌) ↦ (𝑔(⟨𝑋, 𝑌⟩ · 𝑍)𝑓)))
239, 10opelxpd 5695 . 2 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝐵 × 𝐵))
24 comffval.z . 2 (𝜑 → 𝑍 ∈ 𝐵)
25 ovex 7479 . . . 4 (𝑌𝐻𝑍) ∈ V
26 ovex 7479 . . . 4 (𝑋𝐻𝑌) ∈ V
2725, 26mpoex 8120 . . 3 (𝑔 ∈ (𝑌𝐻𝑍), 𝑓 ∈ (𝑋𝐻𝑌) ↦ (𝑔(⟨𝑋, 𝑌⟩ · 𝑍)𝑓)) ∈ V
2827a1i 11 . 2 (𝜑 → (𝑔 ∈ (𝑌𝐻𝑍), 𝑓 ∈ (𝑋𝐻𝑌) ↦ (𝑔(⟨𝑋, 𝑌⟩ · 𝑍)𝑓)) ∈ V)
296, 22, 23, 24, 28ovmpod 7599 1 (𝜑 → (⟨𝑋, 𝑌⟩𝑂𝑍) = (𝑔 ∈ (𝑌𝐻𝑍), 𝑓 ∈ (𝑋𝐻𝑌) ↦ (𝑔(⟨𝑋, 𝑌⟩ · 𝑍)𝑓)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ⟨cop 4838   × cxp 5654  ‘cfv 6561  (class class class)co 7446   ∈ cmpo 7448  2nd c2nd 8027  Basecbs 17419  Hom chom 17471  compcco 17472  compfccomf 17873
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-un 7778
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-ov 7449  df-oprab 7450  df-mpo 7451  df-1st 8028  df-2nd 8029  df-comf 17877
This theorem is used by:  comfval  17906  comffval2  17908  comffn  17911
  Copyright terms: Public domain W3C validator