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

Theorem cmdfval 51277
Description: Function value of Colimit. (Contributed by Zhi Wang, 12-Nov-2025.)
Assertion
Ref Expression
cmdfval (𝐶 Colimit 𝐷) = (𝑓 ∈ (𝐷 Func 𝐶) ↦ ((𝐶Δfunc𝐷)(𝐶 UP (𝐷 FuncCat 𝐶))𝑓))
Distinct variable groups:   𝐶,𝑓   𝐷,𝑓

Proof of Theorem cmdfval
Dummy variables 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 490 . . . . 5 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → 𝑑 = 𝐷)
2 simpl 488 . . . . 5 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → 𝑐 = 𝐶)
31, 2oveq12d 7479 . . . 4 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → (𝑑 Func 𝑐) = (𝐷 Func 𝐶))
41, 2oveq12d 7479 . . . . . 6 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → (𝑑 FuncCat 𝑐) = (𝐷 FuncCat 𝐶))
52, 4oveq12d 7479 . . . . 5 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → (𝑐 UP (𝑑 FuncCat 𝑐)) = (𝐶 UP (𝐷 FuncCat 𝐶)))
6 oveq12 7470 . . . . 5 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → (𝑐Δfunc𝑑) = (𝐶Δfunc𝐷))
7 eqidd 2770 . . . . 5 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → 𝑓 = 𝑓)
85, 6, 7oveq123d 7482 . . . 4 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → ((𝑐Δfunc𝑑)(𝑐 UP (𝑑 FuncCat 𝑐))𝑓) = ((𝐶Δfunc𝐷)(𝐶 UP (𝐷 FuncCat 𝐶))𝑓))
93, 8mpteq12dv 5201 . . 3 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → (𝑓 ∈ (𝑑 Func 𝑐) ↦ ((𝑐Δfunc𝑑)(𝑐 UP (𝑑 FuncCat 𝑐))𝑓)) = (𝑓 ∈ (𝐷 Func 𝐶) ↦ ((𝐶Δfunc𝐷)(𝐶 UP (𝐷 FuncCat 𝐶))𝑓)))
10 df-cmd 51273 . . 3 Colimit = (𝑐 ∈ V, 𝑑 ∈ V ↦ (𝑓 ∈ (𝑑 Func 𝑐) ↦ ((𝑐Δfunc𝑑)(𝑐 UP (𝑑 FuncCat 𝑐))𝑓)))
11 ovex 7494 . . . 4 (𝐷 Func 𝐶) ∈ V
1211mptex 7270 . . 3 (𝑓 ∈ (𝐷 Func 𝐶) ↦ ((𝐶Δfunc𝐷)(𝐶 UP (𝐷 FuncCat 𝐶))𝑓)) ∈ V
139, 10, 12ovmpoa 7617 . 2 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝐶 Colimit 𝐷) = (𝑓 ∈ (𝐷 Func 𝐶) ↦ ((𝐶Δfunc𝐷)(𝐶 UP (𝐷 FuncCat 𝐶))𝑓)))
14 reldmcmd 51275 . . . 4 Rel dom Colimit
1514ovprc 7499 . . 3 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝐶 Colimit 𝐷) = ∅)
16 ancom 466 . . . . . 6 ((𝐶 ∈ V ∧ 𝐷 ∈ V) ↔ (𝐷 ∈ V ∧ 𝐶 ∈ V))
17 reldmfunc 50633 . . . . . . 7 Rel dom Func
1817ovprc 7499 . . . . . 6 (¬ (𝐷 ∈ V ∧ 𝐶 ∈ V) → (𝐷 Func 𝐶) = ∅)
1916, 18sylnbi 333 . . . . 5 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝐷 Func 𝐶) = ∅)
2019mpteq1d 5204 . . . 4 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑓 ∈ (𝐷 Func 𝐶) ↦ ((𝐶Δfunc𝐷)(𝐶 UP (𝐷 FuncCat 𝐶))𝑓)) = (𝑓 ∈ ∅ ↦ ((𝐶Δfunc𝐷)(𝐶 UP (𝐷 FuncCat 𝐶))𝑓)))
21 mpt0 6721 . . . 4 (𝑓 ∈ ∅ ↦ ((𝐶Δfunc𝐷)(𝐶 UP (𝐷 FuncCat 𝐶))𝑓)) = ∅
2220, 21eqtrdi 2820 . . 3 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑓 ∈ (𝐷 Func 𝐶) ↦ ((𝐶Δfunc𝐷)(𝐶 UP (𝐷 FuncCat 𝐶))𝑓)) = ∅)
2315, 22eqtr4d 2807 . 2 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝐶 Colimit 𝐷) = (𝑓 ∈ (𝐷 Func 𝐶) ↦ ((𝐶Δfunc𝐷)(𝐶 UP (𝐷 FuncCat 𝐶))𝑓)))
2413, 23pm2.61i 184 1 (𝐶 Colimit 𝐷) = (𝑓 ∈ (𝐷 Func 𝐶) ↦ ((𝐶Δfunc𝐷)(𝐶 UP (𝐷 FuncCat 𝐶))𝑓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   = wceq 1572   ∈ wcel 2151  Vcvv 3456  ∅c0 4283   ↦ cmpt 5195  (class class class)co 7461   Func cfunc 18096   FuncCat cfuc 18187  Δfunccdiag 18453   UP cup 50733   Colimit ccmd 51271
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7464  df-oprab 7465  df-mpo 7466  df-func 18100  df-cmd 51273
This theorem is used by:  cmdrcl  51279  reldmcmd2  51281  cmdfval2  51283  cmdpropd  51285
  Copyright terms: Public domain W3C validator