Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fucofn2 Structured version   Visualization version   GIF version

Theorem fucofn2 49821
Description: The morphism part of the functor composition bifunctor is a function on the Cartesian square of the base set. (Contributed by Zhi Wang, 29-Sep-2025.)
Hypotheses
Ref Expression
fucofval.c (𝜑𝐶𝑇)
fucofval.d (𝜑𝐷𝑈)
fucofval.e (𝜑𝐸𝑉)
fuco1.o (𝜑 → (⟨𝐶, 𝐷⟩ ∘F 𝐸) = ⟨𝑂, 𝑃⟩)
fuco1.w (𝜑𝑊 = ((𝐷 Func 𝐸) × (𝐶 Func 𝐷)))
Assertion
Ref Expression
fucofn2 (𝜑𝑃 Fn (𝑊 × 𝑊))

Proof of Theorem fucofn2
Dummy variables 𝑎 𝑏 𝑓 𝑘 𝑙 𝑚 𝑟 𝑢 𝑣 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2740 . . 3 (𝑢𝑊, 𝑣𝑊(1st ‘(2nd𝑢)) / 𝑓(1st ‘(1st𝑢)) / 𝑘(2nd ‘(1st𝑢)) / 𝑙(1st ‘(2nd𝑣)) / 𝑚(1st ‘(1st𝑣)) / 𝑟(𝑏 ∈ ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)), 𝑎 ∈ ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘(𝑚𝑥))(⟨(𝑘‘(𝑓𝑥)), (𝑘‘(𝑚𝑥))⟩(comp‘𝐸)(𝑟‘(𝑚𝑥)))(((𝑓𝑥)𝑙(𝑚𝑥))‘(𝑎𝑥)))))) = (𝑢𝑊, 𝑣𝑊(1st ‘(2nd𝑢)) / 𝑓(1st ‘(1st𝑢)) / 𝑘(2nd ‘(1st𝑢)) / 𝑙(1st ‘(2nd𝑣)) / 𝑚(1st ‘(1st𝑣)) / 𝑟(𝑏 ∈ ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)), 𝑎 ∈ ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘(𝑚𝑥))(⟨(𝑘‘(𝑓𝑥)), (𝑘‘(𝑚𝑥))⟩(comp‘𝐸)(𝑟‘(𝑚𝑥)))(((𝑓𝑥)𝑙(𝑚𝑥))‘(𝑎𝑥))))))
2 ovex 7396 . . . . . . . . 9 ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)) ∈ V
3 ovex 7396 . . . . . . . . 9 ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ∈ V
42, 3mpoex 8028 . . . . . . . 8 (𝑏 ∈ ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)), 𝑎 ∈ ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘(𝑚𝑥))(⟨(𝑘‘(𝑓𝑥)), (𝑘‘(𝑚𝑥))⟩(comp‘𝐸)(𝑟‘(𝑚𝑥)))(((𝑓𝑥)𝑙(𝑚𝑥))‘(𝑎𝑥))))) ∈ V
54csbex 5240 . . . . . . 7 (1st ‘(1st𝑣)) / 𝑟(𝑏 ∈ ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)), 𝑎 ∈ ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘(𝑚𝑥))(⟨(𝑘‘(𝑓𝑥)), (𝑘‘(𝑚𝑥))⟩(comp‘𝐸)(𝑟‘(𝑚𝑥)))(((𝑓𝑥)𝑙(𝑚𝑥))‘(𝑎𝑥))))) ∈ V
65csbex 5240 . . . . . 6 (1st ‘(2nd𝑣)) / 𝑚(1st ‘(1st𝑣)) / 𝑟(𝑏 ∈ ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)), 𝑎 ∈ ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘(𝑚𝑥))(⟨(𝑘‘(𝑓𝑥)), (𝑘‘(𝑚𝑥))⟩(comp‘𝐸)(𝑟‘(𝑚𝑥)))(((𝑓𝑥)𝑙(𝑚𝑥))‘(𝑎𝑥))))) ∈ V
76csbex 5240 . . . . 5 (2nd ‘(1st𝑢)) / 𝑙(1st ‘(2nd𝑣)) / 𝑚(1st ‘(1st𝑣)) / 𝑟(𝑏 ∈ ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)), 𝑎 ∈ ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘(𝑚𝑥))(⟨(𝑘‘(𝑓𝑥)), (𝑘‘(𝑚𝑥))⟩(comp‘𝐸)(𝑟‘(𝑚𝑥)))(((𝑓𝑥)𝑙(𝑚𝑥))‘(𝑎𝑥))))) ∈ V
87csbex 5240 . . . 4 (1st ‘(1st𝑢)) / 𝑘(2nd ‘(1st𝑢)) / 𝑙(1st ‘(2nd𝑣)) / 𝑚(1st ‘(1st𝑣)) / 𝑟(𝑏 ∈ ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)), 𝑎 ∈ ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘(𝑚𝑥))(⟨(𝑘‘(𝑓𝑥)), (𝑘‘(𝑚𝑥))⟩(comp‘𝐸)(𝑟‘(𝑚𝑥)))(((𝑓𝑥)𝑙(𝑚𝑥))‘(𝑎𝑥))))) ∈ V
98csbex 5240 . . 3 (1st ‘(2nd𝑢)) / 𝑓(1st ‘(1st𝑢)) / 𝑘(2nd ‘(1st𝑢)) / 𝑙(1st ‘(2nd𝑣)) / 𝑚(1st ‘(1st𝑣)) / 𝑟(𝑏 ∈ ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)), 𝑎 ∈ ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘(𝑚𝑥))(⟨(𝑘‘(𝑓𝑥)), (𝑘‘(𝑚𝑥))⟩(comp‘𝐸)(𝑟‘(𝑚𝑥)))(((𝑓𝑥)𝑙(𝑚𝑥))‘(𝑎𝑥))))) ∈ V
101, 9fnmpoi 8019 . 2 (𝑢𝑊, 𝑣𝑊(1st ‘(2nd𝑢)) / 𝑓(1st ‘(1st𝑢)) / 𝑘(2nd ‘(1st𝑢)) / 𝑙(1st ‘(2nd𝑣)) / 𝑚(1st ‘(1st𝑣)) / 𝑟(𝑏 ∈ ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)), 𝑎 ∈ ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘(𝑚𝑥))(⟨(𝑘‘(𝑓𝑥)), (𝑘‘(𝑚𝑥))⟩(comp‘𝐸)(𝑟‘(𝑚𝑥)))(((𝑓𝑥)𝑙(𝑚𝑥))‘(𝑎𝑥)))))) Fn (𝑊 × 𝑊)
11 fucofval.c . . . 4 (𝜑𝐶𝑇)
12 fucofval.d . . . 4 (𝜑𝐷𝑈)
13 fucofval.e . . . 4 (𝜑𝐸𝑉)
14 fuco1.o . . . 4 (𝜑 → (⟨𝐶, 𝐷⟩ ∘F 𝐸) = ⟨𝑂, 𝑃⟩)
15 fuco1.w . . . 4 (𝜑𝑊 = ((𝐷 Func 𝐸) × (𝐶 Func 𝐷)))
1611, 12, 13, 14, 15fuco2 49820 . . 3 (𝜑𝑃 = (𝑢𝑊, 𝑣𝑊(1st ‘(2nd𝑢)) / 𝑓(1st ‘(1st𝑢)) / 𝑘(2nd ‘(1st𝑢)) / 𝑙(1st ‘(2nd𝑣)) / 𝑚(1st ‘(1st𝑣)) / 𝑟(𝑏 ∈ ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)), 𝑎 ∈ ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘(𝑚𝑥))(⟨(𝑘‘(𝑓𝑥)), (𝑘‘(𝑚𝑥))⟩(comp‘𝐸)(𝑟‘(𝑚𝑥)))(((𝑓𝑥)𝑙(𝑚𝑥))‘(𝑎𝑥)))))))
1716fneq1d 6585 . 2 (𝜑 → (𝑃 Fn (𝑊 × 𝑊) ↔ (𝑢𝑊, 𝑣𝑊(1st ‘(2nd𝑢)) / 𝑓(1st ‘(1st𝑢)) / 𝑘(2nd ‘(1st𝑢)) / 𝑙(1st ‘(2nd𝑣)) / 𝑚(1st ‘(1st𝑣)) / 𝑟(𝑏 ∈ ((1st𝑢)(𝐷 Nat 𝐸)(1st𝑣)), 𝑎 ∈ ((2nd𝑢)(𝐶 Nat 𝐷)(2nd𝑣)) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((𝑏‘(𝑚𝑥))(⟨(𝑘‘(𝑓𝑥)), (𝑘‘(𝑚𝑥))⟩(comp‘𝐸)(𝑟‘(𝑚𝑥)))(((𝑓𝑥)𝑙(𝑚𝑥))‘(𝑎𝑥)))))) Fn (𝑊 × 𝑊)))
1810, 17mpbiri 259 1 (𝜑𝑃 Fn (𝑊 × 𝑊))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1547  wcel 2119  csb 3838  cop 4568  cmpt 5160   × cxp 5623   Fn wfn 6487  cfv 6492  (class class class)co 7363  cmpo 7365  1st c1st 7936  2nd c2nd 7937  Basecbs 17177  compcco 17230   Func cfunc 17819   Nat cnat 17909  F cfuco 49813
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2712  ax-rep 5206  ax-sep 5225  ax-nul 5235  ax-pow 5301  ax-pr 5369  ax-un 7685
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2543  df-eu 2573  df-clab 2719  df-cleq 2732  df-clel 2815  df-nfc 2889  df-ne 2936  df-ral 3055  df-rex 3065  df-reu 3346  df-rab 3393  df-v 3434  df-sbc 3731  df-csb 3839  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-nul 4269  df-if 4462  df-pw 4538  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4846  df-iun 4930  df-br 5080  df-opab 5142  df-mpt 5161  df-id 5520  df-xp 5631  df-rel 5632  df-cnv 5633  df-co 5634  df-dm 5635  df-rn 5636  df-res 5637  df-ima 5638  df-iota 6448  df-fun 6494  df-fn 6495  df-f 6496  df-f1 6497  df-fo 6498  df-f1o 6499  df-fv 6500  df-ov 7366  df-oprab 7367  df-mpo 7368  df-1st 7938  df-2nd 7939  df-cofu 17825  df-fuco 49814
This theorem is referenced by:  fucofunc  49856
  Copyright terms: Public domain W3C validator