![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > diagval | Structured version Visualization version GIF version |
Description: Define the diagonal functor, which is the functor 𝐶⟶(𝐷 Func 𝐶) whose object part is 𝑥 ∈ 𝐶 ↦ (𝑦 ∈ 𝐷 ↦ 𝑥). We can define this equationally as the currying of the first projection functor, and by expressing it this way we get a quick proof of functoriality. (Contributed by Mario Carneiro, 6-Jan-2017.) (Revised by Mario Carneiro, 15-Jan-2017.) |
Ref | Expression |
---|---|
diagval.l | ⊢ 𝐿 = (𝐶Δfunc𝐷) |
diagval.c | ⊢ (𝜑 → 𝐶 ∈ Cat) |
diagval.d | ⊢ (𝜑 → 𝐷 ∈ Cat) |
Ref | Expression |
---|---|
diagval | ⊢ (𝜑 → 𝐿 = (〈𝐶, 𝐷〉 curryF (𝐶 1stF 𝐷))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | diagval.l | . 2 ⊢ 𝐿 = (𝐶Δfunc𝐷) | |
2 | df-diag 18119 | . . . 4 ⊢ Δfunc = (𝑐 ∈ Cat, 𝑑 ∈ Cat ↦ (〈𝑐, 𝑑〉 curryF (𝑐 1stF 𝑑))) | |
3 | 2 | a1i 11 | . . 3 ⊢ (𝜑 → Δfunc = (𝑐 ∈ Cat, 𝑑 ∈ Cat ↦ (〈𝑐, 𝑑〉 curryF (𝑐 1stF 𝑑)))) |
4 | simprl 769 | . . . . 5 ⊢ ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → 𝑐 = 𝐶) | |
5 | simprr 771 | . . . . 5 ⊢ ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → 𝑑 = 𝐷) | |
6 | 4, 5 | opeq12d 4843 | . . . 4 ⊢ ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → 〈𝑐, 𝑑〉 = 〈𝐶, 𝐷〉) |
7 | 4, 5 | oveq12d 7380 | . . . 4 ⊢ ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (𝑐 1stF 𝑑) = (𝐶 1stF 𝐷)) |
8 | 6, 7 | oveq12d 7380 | . . 3 ⊢ ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (〈𝑐, 𝑑〉 curryF (𝑐 1stF 𝑑)) = (〈𝐶, 𝐷〉 curryF (𝐶 1stF 𝐷))) |
9 | diagval.c | . . 3 ⊢ (𝜑 → 𝐶 ∈ Cat) | |
10 | diagval.d | . . 3 ⊢ (𝜑 → 𝐷 ∈ Cat) | |
11 | ovexd 7397 | . . 3 ⊢ (𝜑 → (〈𝐶, 𝐷〉 curryF (𝐶 1stF 𝐷)) ∈ V) | |
12 | 3, 8, 9, 10, 11 | ovmpod 7512 | . 2 ⊢ (𝜑 → (𝐶Δfunc𝐷) = (〈𝐶, 𝐷〉 curryF (𝐶 1stF 𝐷))) |
13 | 1, 12 | eqtrid 2783 | 1 ⊢ (𝜑 → 𝐿 = (〈𝐶, 𝐷〉 curryF (𝐶 1stF 𝐷))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 = wceq 1541 ∈ wcel 2106 Vcvv 3446 〈cop 4597 (class class class)co 7362 ∈ cmpo 7364 Catccat 17558 1stF c1stf 18071 curryF ccurf 18113 Δfunccdiag 18115 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-10 2137 ax-11 2154 ax-12 2171 ax-ext 2702 ax-sep 5261 ax-nul 5268 ax-pr 5389 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 846 df-3an 1089 df-tru 1544 df-fal 1554 df-ex 1782 df-nf 1786 df-sb 2068 df-mo 2533 df-eu 2562 df-clab 2709 df-cleq 2723 df-clel 2809 df-nfc 2884 df-ne 2940 df-ral 3061 df-rex 3070 df-rab 3406 df-v 3448 df-sbc 3743 df-dif 3916 df-un 3918 df-in 3920 df-ss 3930 df-nul 4288 df-if 4492 df-sn 4592 df-pr 4594 df-op 4598 df-uni 4871 df-br 5111 df-opab 5173 df-id 5536 df-xp 5644 df-rel 5645 df-cnv 5646 df-co 5647 df-dm 5648 df-iota 6453 df-fun 6503 df-fv 6509 df-ov 7365 df-oprab 7366 df-mpo 7367 df-diag 18119 |
This theorem is referenced by: diagcl 18144 diag11 18146 diag12 18147 diag2 18148 |
Copyright terms: Public domain | W3C validator |