Metamath Proof Explorer


Theorem fucofval

Description: Value of the function giving the functor composition bifunctor. Hypotheses fucofval.c and fucofval.d are not redundant ( fucofvalne ). (Contributed by Zhi Wang, 29-Sep-2025)

Ref Expression
Hypotheses fucofval.c ( 𝜑𝐶𝑇 )
fucofval.d ( 𝜑𝐷𝑈 )
fucofval.e ( 𝜑𝐸𝑉 )
fucofval.o ( 𝜑 → ( ⟨ 𝐶 , 𝐷 ⟩ ∘F 𝐸 ) = )
fucofval.w ( 𝜑𝑊 = ( ( 𝐷 Func 𝐸 ) × ( 𝐶 Func 𝐷 ) ) )
Assertion fucofval ( 𝜑 = ⟨ ( ∘func𝑊 ) , ( 𝑢𝑊 , 𝑣𝑊 ( 1st ‘ ( 2nd𝑢 ) ) / 𝑓 ( 1st ‘ ( 1st𝑢 ) ) / 𝑘 ( 2nd ‘ ( 1st𝑢 ) ) / 𝑙 ( 1st ‘ ( 2nd𝑣 ) ) / 𝑚 ( 1st ‘ ( 1st𝑣 ) ) / 𝑟 ( 𝑏 ∈ ( ( 1st𝑢 ) ( 𝐷 Nat 𝐸 ) ( 1st𝑣 ) ) , 𝑎 ∈ ( ( 2nd𝑢 ) ( 𝐶 Nat 𝐷 ) ( 2nd𝑣 ) ) ↦ ( 𝑥 ∈ ( Base ‘ 𝐶 ) ↦ ( ( 𝑏 ‘ ( 𝑚𝑥 ) ) ( ⟨ ( 𝑘 ‘ ( 𝑓𝑥 ) ) , ( 𝑘 ‘ ( 𝑚𝑥 ) ) ⟩ ( comp ‘ 𝐸 ) ( 𝑟 ‘ ( 𝑚𝑥 ) ) ) ( ( ( 𝑓𝑥 ) 𝑙 ( 𝑚𝑥 ) ) ‘ ( 𝑎𝑥 ) ) ) ) ) ) ⟩ )

Proof

Step Hyp Ref Expression
1 fucofval.c ( 𝜑𝐶𝑇 )
2 fucofval.d ( 𝜑𝐷𝑈 )
3 fucofval.e ( 𝜑𝐸𝑉 )
4 fucofval.o ( 𝜑 → ( ⟨ 𝐶 , 𝐷 ⟩ ∘F 𝐸 ) = )
5 fucofval.w ( 𝜑𝑊 = ( ( 𝐷 Func 𝐸 ) × ( 𝐶 Func 𝐷 ) ) )
6 opex 𝐶 , 𝐷 ⟩ ∈ V
7 6 a1i ( 𝜑 → ⟨ 𝐶 , 𝐷 ⟩ ∈ V )
8 op1stg ( ( 𝐶𝑇𝐷𝑈 ) → ( 1st ‘ ⟨ 𝐶 , 𝐷 ⟩ ) = 𝐶 )
9 1 2 8 syl2anc ( 𝜑 → ( 1st ‘ ⟨ 𝐶 , 𝐷 ⟩ ) = 𝐶 )
10 op2ndg ( ( 𝐶𝑇𝐷𝑈 ) → ( 2nd ‘ ⟨ 𝐶 , 𝐷 ⟩ ) = 𝐷 )
11 1 2 10 syl2anc ( 𝜑 → ( 2nd ‘ ⟨ 𝐶 , 𝐷 ⟩ ) = 𝐷 )
12 7 9 11 3 4 5 fucofvalg ( 𝜑 = ⟨ ( ∘func𝑊 ) , ( 𝑢𝑊 , 𝑣𝑊 ( 1st ‘ ( 2nd𝑢 ) ) / 𝑓 ( 1st ‘ ( 1st𝑢 ) ) / 𝑘 ( 2nd ‘ ( 1st𝑢 ) ) / 𝑙 ( 1st ‘ ( 2nd𝑣 ) ) / 𝑚 ( 1st ‘ ( 1st𝑣 ) ) / 𝑟 ( 𝑏 ∈ ( ( 1st𝑢 ) ( 𝐷 Nat 𝐸 ) ( 1st𝑣 ) ) , 𝑎 ∈ ( ( 2nd𝑢 ) ( 𝐶 Nat 𝐷 ) ( 2nd𝑣 ) ) ↦ ( 𝑥 ∈ ( Base ‘ 𝐶 ) ↦ ( ( 𝑏 ‘ ( 𝑚𝑥 ) ) ( ⟨ ( 𝑘 ‘ ( 𝑓𝑥 ) ) , ( 𝑘 ‘ ( 𝑚𝑥 ) ) ⟩ ( comp ‘ 𝐸 ) ( 𝑟 ‘ ( 𝑚𝑥 ) ) ) ( ( ( 𝑓𝑥 ) 𝑙 ( 𝑚𝑥 ) ) ‘ ( 𝑎𝑥 ) ) ) ) ) ) ⟩ )