| Mathbox for Zhi Wang |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > postcofval | Structured version Visualization version GIF version | ||
| Description: Value of the post-composition functor as a curry of the functor composition bifunctor. (Contributed by Zhi Wang, 11-Oct-2025.) |
| Ref | Expression |
|---|---|
| postcofval.q | ⊢ 𝑄 = (𝐶 FuncCat 𝐷) |
| postcofval.r | ⊢ 𝑅 = (𝐷 FuncCat 𝐸) |
| postcofval.o | ⊢ ⚬ = (〈𝑅, 𝑄〉 curryF (〈𝐶, 𝐷〉 ∘F 𝐸)) |
| postcofval.f | ⊢ (𝜑 → 𝐹 ∈ (𝐷 Func 𝐸)) |
| postcofval.c | ⊢ (𝜑 → 𝐶 ∈ Cat) |
| postcofval.k | ⊢ 𝐾 = ((1st ‘ ⚬ )‘𝐹) |
| Ref | Expression |
|---|---|
| postcofval | ⊢ (𝜑 → 𝐾 = 〈(𝑔 ∈ (𝐶 Func 𝐷) ↦ (𝐹 ∘func 𝑔)), (𝑔 ∈ (𝐶 Func 𝐷), ℎ ∈ (𝐶 Func 𝐷) ↦ (𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑔)‘𝑥)(2nd ‘𝐹)((1st ‘ℎ)‘𝑥))‘(𝑎‘𝑥)))))〉) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | postcofval.o | . . 3 ⊢ ⚬ = (〈𝑅, 𝑄〉 curryF (〈𝐶, 𝐷〉 ∘F 𝐸)) | |
| 2 | postcofval.r | . . . 4 ⊢ 𝑅 = (𝐷 FuncCat 𝐸) | |
| 3 | 2 | fucbas 18145 | . . 3 ⊢ (𝐷 Func 𝐸) = (Base‘𝑅) |
| 4 | postcofval.f | . . . . . 6 ⊢ (𝜑 → 𝐹 ∈ (𝐷 Func 𝐸)) | |
| 5 | 4 | func1st2nd 50297 | . . . . 5 ⊢ (𝜑 → (1st ‘𝐹)(𝐷 Func 𝐸)(2nd ‘𝐹)) |
| 6 | 5 | funcrcl2 50300 | . . . 4 ⊢ (𝜑 → 𝐷 ∈ Cat) |
| 7 | 5 | funcrcl3 50301 | . . . 4 ⊢ (𝜑 → 𝐸 ∈ Cat) |
| 8 | 2, 6, 7 | fuccat 18155 | . . 3 ⊢ (𝜑 → 𝑅 ∈ Cat) |
| 9 | postcofval.q | . . . 4 ⊢ 𝑄 = (𝐶 FuncCat 𝐷) | |
| 10 | postcofval.c | . . . 4 ⊢ (𝜑 → 𝐶 ∈ Cat) | |
| 11 | 9, 10, 6 | fuccat 18155 | . . 3 ⊢ (𝜑 → 𝑄 ∈ Cat) |
| 12 | 2, 9 | oveq12i 7434 | . . . 4 ⊢ (𝑅 ×c 𝑄) = ((𝐷 FuncCat 𝐸) ×c (𝐶 FuncCat 𝐷)) |
| 13 | eqid 2760 | . . . 4 ⊢ (𝐶 FuncCat 𝐸) = (𝐶 FuncCat 𝐸) | |
| 14 | 12, 13, 10, 6, 7 | fucofunca 50589 | . . 3 ⊢ (𝜑 → (〈𝐶, 𝐷〉 ∘F 𝐸) ∈ ((𝑅 ×c 𝑄) Func (𝐶 FuncCat 𝐸))) |
| 15 | 9 | fucbas 18145 | . . 3 ⊢ (𝐶 Func 𝐷) = (Base‘𝑄) |
| 16 | postcofval.k | . . 3 ⊢ 𝐾 = ((1st ‘ ⚬ )‘𝐹) | |
| 17 | eqid 2760 | . . . 4 ⊢ (𝐶 Nat 𝐷) = (𝐶 Nat 𝐷) | |
| 18 | 9, 17 | fuchom 18146 | . . 3 ⊢ (𝐶 Nat 𝐷) = (Hom ‘𝑄) |
| 19 | eqid 2760 | . . 3 ⊢ (Id‘𝑅) = (Id‘𝑅) | |
| 20 | 1, 3, 8, 11, 14, 15, 4, 16, 18, 19 | curf1 18406 | . 2 ⊢ (𝜑 → 𝐾 = 〈(𝑔 ∈ (𝐶 Func 𝐷) ↦ (𝐹(1st ‘(〈𝐶, 𝐷〉 ∘F 𝐸))𝑔)), (𝑔 ∈ (𝐶 Func 𝐷), ℎ ∈ (𝐶 Func 𝐷) ↦ (𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ) ↦ (((Id‘𝑅)‘𝐹)(〈𝐹, 𝑔〉(2nd ‘(〈𝐶, 𝐷〉 ∘F 𝐸))〈𝐹, ℎ〉)𝑎)))〉) |
| 21 | eqidd 2761 | . . . . 5 ⊢ ((𝜑 ∧ 𝑔 ∈ (𝐶 Func 𝐷)) → (1st ‘(〈𝐶, 𝐷〉 ∘F 𝐸)) = (1st ‘(〈𝐶, 𝐷〉 ∘F 𝐸))) | |
| 22 | simpr 490 | . . . . 5 ⊢ ((𝜑 ∧ 𝑔 ∈ (𝐶 Func 𝐷)) → 𝑔 ∈ (𝐶 Func 𝐷)) | |
| 23 | 4 | adantr 486 | . . . . 5 ⊢ ((𝜑 ∧ 𝑔 ∈ (𝐶 Func 𝐷)) → 𝐹 ∈ (𝐷 Func 𝐸)) |
| 24 | 21, 22, 23 | fuco11b 50566 | . . . 4 ⊢ ((𝜑 ∧ 𝑔 ∈ (𝐶 Func 𝐷)) → (𝐹(1st ‘(〈𝐶, 𝐷〉 ∘F 𝐸))𝑔) = (𝐹 ∘func 𝑔)) |
| 25 | 24 | mpteq2dva 5197 | . . 3 ⊢ (𝜑 → (𝑔 ∈ (𝐶 Func 𝐷) ↦ (𝐹(1st ‘(〈𝐶, 𝐷〉 ∘F 𝐸))𝑔)) = (𝑔 ∈ (𝐶 Func 𝐷) ↦ (𝐹 ∘func 𝑔))) |
| 26 | eqidd 2761 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ)) → (2nd ‘(〈𝐶, 𝐷〉 ∘F 𝐸)) = (2nd ‘(〈𝐶, 𝐷〉 ∘F 𝐸))) | |
| 27 | simpr 490 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ)) → 𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ)) | |
| 28 | 4 | adantr 486 | . . . . . 6 ⊢ ((𝜑 ∧ 𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ)) → 𝐹 ∈ (𝐷 Func 𝐸)) |
| 29 | 26, 19, 2, 27, 28 | fucolid 50590 | . . . . 5 ⊢ ((𝜑 ∧ 𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ)) → (((Id‘𝑅)‘𝐹)(〈𝐹, 𝑔〉(2nd ‘(〈𝐶, 𝐷〉 ∘F 𝐸))〈𝐹, ℎ〉)𝑎) = (𝑥 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑔)‘𝑥)(2nd ‘𝐹)((1st ‘ℎ)‘𝑥))‘(𝑎‘𝑥)))) |
| 30 | 29 | mpteq2dva 5197 | . . . 4 ⊢ (𝜑 → (𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ) ↦ (((Id‘𝑅)‘𝐹)(〈𝐹, 𝑔〉(2nd ‘(〈𝐶, 𝐷〉 ∘F 𝐸))〈𝐹, ℎ〉)𝑎)) = (𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑔)‘𝑥)(2nd ‘𝐹)((1st ‘ℎ)‘𝑥))‘(𝑎‘𝑥))))) |
| 31 | 30 | mpoeq3dv 7501 | . . 3 ⊢ (𝜑 → (𝑔 ∈ (𝐶 Func 𝐷), ℎ ∈ (𝐶 Func 𝐷) ↦ (𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ) ↦ (((Id‘𝑅)‘𝐹)(〈𝐹, 𝑔〉(2nd ‘(〈𝐶, 𝐷〉 ∘F 𝐸))〈𝐹, ℎ〉)𝑎))) = (𝑔 ∈ (𝐶 Func 𝐷), ℎ ∈ (𝐶 Func 𝐷) ↦ (𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑔)‘𝑥)(2nd ‘𝐹)((1st ‘ℎ)‘𝑥))‘(𝑎‘𝑥)))))) |
| 32 | 25, 31 | opeq12d 4847 | . 2 ⊢ (𝜑 → 〈(𝑔 ∈ (𝐶 Func 𝐷) ↦ (𝐹(1st ‘(〈𝐶, 𝐷〉 ∘F 𝐸))𝑔)), (𝑔 ∈ (𝐶 Func 𝐷), ℎ ∈ (𝐶 Func 𝐷) ↦ (𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ) ↦ (((Id‘𝑅)‘𝐹)(〈𝐹, 𝑔〉(2nd ‘(〈𝐶, 𝐷〉 ∘F 𝐸))〈𝐹, ℎ〉)𝑎)))〉 = 〈(𝑔 ∈ (𝐶 Func 𝐷) ↦ (𝐹 ∘func 𝑔)), (𝑔 ∈ (𝐶 Func 𝐷), ℎ ∈ (𝐶 Func 𝐷) ↦ (𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑔)‘𝑥)(2nd ‘𝐹)((1st ‘ℎ)‘𝑥))‘(𝑎‘𝑥)))))〉) |
| 33 | 20, 32 | eqtrd 2795 | 1 ⊢ (𝜑 → 𝐾 = 〈(𝑔 ∈ (𝐶 Func 𝐷) ↦ (𝐹 ∘func 𝑔)), (𝑔 ∈ (𝐶 Func 𝐷), ℎ ∈ (𝐶 Func 𝐷) ↦ (𝑎 ∈ (𝑔(𝐶 Nat 𝐷)ℎ) ↦ (𝑥 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑔)‘𝑥)(2nd ‘𝐹)((1st ‘ℎ)‘𝑥))‘(𝑎‘𝑥)))))〉) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1569 ∈ wcel 2144 〈cop 4834 ↦ cmpt 5185 ‘cfv 6541 (class class class)co 7422 ∈ cmpo 7424 1st c1st 8001 2nd c2nd 8002 Basecbs 17394 Catccat 17845 Idccid 17846 Func cfunc 18036 ∘func ccofu 18038 Nat cnat 18126 FuncCat cfuc 18127 ×c cxpc 18349 curryF ccurf 18391 ∘F cfuco 50545 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1827 ax-4 1841 ax-5 1942 ax-6 1999 ax-7 2040 ax-8 2146 ax-9 2154 ax-10 2177 ax-11 2193 ax-12 2212 ax-ext 2732 ax-rep 5231 ax-sep 5248 ax-nul 5259 ax-pow 5326 ax-pr 5390 ax-un 7753 ax-cnex 11261 ax-resscn 11262 ax-1cn 11263 ax-icn 11264 ax-addcl 11265 ax-addrcl 11266 ax-mulcl 11267 ax-mulrcl 11268 ax-mulcom 11269 ax-addass 11270 ax-mulass 11271 ax-distr 11272 ax-i2m1 11273 ax-1ne0 11274 ax-1rid 11275 ax-rnegex 11276 ax-rrecex 11277 ax-cnre 11278 ax-pre-lttri 11279 ax-pre-lttrn 11280 ax-pre-ltadd 11281 ax-pre-mulgt0 11282 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1104 df-3an 1105 df-tru 1572 df-fal 1582 df-ex 1812 df-nf 1816 df-sb 2099 df-mo 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-nfc 2909 df-ne 2956 df-nel 3062 df-ral 3077 df-rex 3087 df-rmo 3365 df-reu 3366 df-rab 3413 df-v 3452 df-sbc 3739 df-csb 3848 df-ss 3897 df-pss 4013 df-dif 4046 df-in 4090 df-un 4150 df-nul 4278 df-if 4482 df-pw 4558 df-sn 4585 df-pr 4587 df-tp 4589 df-op 4835 df-uni 4867 df-iun 4952 df-br 5103 df-opab 5167 df-mpt 5186 df-tr 5212 df-id 5545 df-eprel 5550 df-po 5558 df-so 5559 df-fr 5603 df-we 5605 df-xp 5656 df-rel 5657 df-cnv 5658 df-co 5659 df-dm 5660 df-rn 5661 df-res 5662 df-ima 5663 df-pred 6306 df-ord 6367 df-on 6368 df-lim 6369 df-suc 6370 df-iota 6496 df-fun 6543 df-fn 6544 df-f 6545 df-f1 6546 df-fo 6547 df-f1o 6548 df-fv 6549 df-riota 7379 df-ov 7425 df-oprab 7426 df-mpo 7427 df-om 7880 df-1st 8003 df-2nd 8004 df-frecs 8304 df-wrecs 8335 df-recs 8384 df-rdg 8423 df-1o 8481 df-er 8722 df-map 8854 df-ixp 8931 df-en 8979 df-dom 8980 df-sdom 8981 df-fin 8982 df-pnf 11350 df-mnf 11351 df-xr 11352 df-ltxr 11353 df-le 11354 df-sub 11548 df-neg 11549 df-nn 12341 df-2 12410 df-3 12411 df-4 12412 df-5 12413 df-6 12414 df-7 12415 df-8 12416 df-9 12417 df-n0 12612 df-z 12699 df-dec 12820 df-uz 12971 df-fz 13645 df-struct 17332 df-slot 17367 df-ndx 17379 df-base 17395 df-hom 17459 df-cco 17460 df-cat 17849 df-cid 17850 df-func 18040 df-cofu 18042 df-nat 18128 df-fuc 18129 df-xpc 18353 df-curf 18395 df-fuco 50546 |
| This theorem is used by: postcof1st 50605 postcof2nd 50606 |
| Copyright terms: Public domain | W3C validator |