![]() |
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 18173 | . . . 4 ⊢ Δfunc = (𝑐 ∈ Cat, 𝑑 ∈ Cat ↦ (⟨𝑐, 𝑑⟩ curryF (𝑐 1stF 𝑑))) | |
3 | 2 | a1i 11 | . . 3 ⊢ (𝜑 → Δfunc = (𝑐 ∈ Cat, 𝑑 ∈ Cat ↦ (⟨𝑐, 𝑑⟩ curryF (𝑐 1stF 𝑑)))) |
4 | simprl 767 | . . . . 5 ⊢ ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → 𝑐 = 𝐶) | |
5 | simprr 769 | . . . . 5 ⊢ ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → 𝑑 = 𝐷) | |
6 | 4, 5 | opeq12d 4880 | . . . 4 ⊢ ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → ⟨𝑐, 𝑑⟩ = ⟨𝐶, 𝐷⟩) |
7 | 4, 5 | oveq12d 7429 | . . . 4 ⊢ ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (𝑐 1stF 𝑑) = (𝐶 1stF 𝐷)) |
8 | 6, 7 | oveq12d 7429 | . . 3 ⊢ ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (⟨𝑐, 𝑑⟩ curryF (𝑐 1stF 𝑑)) = (⟨𝐶, 𝐷⟩ curryF (𝐶 1stF 𝐷))) |
9 | diagval.c | . . 3 ⊢ (𝜑 → 𝐶 ∈ Cat) | |
10 | diagval.d | . . 3 ⊢ (𝜑 → 𝐷 ∈ Cat) | |
11 | ovexd 7446 | . . 3 ⊢ (𝜑 → (⟨𝐶, 𝐷⟩ curryF (𝐶 1stF 𝐷)) ∈ V) | |
12 | 3, 8, 9, 10, 11 | ovmpod 7562 | . 2 ⊢ (𝜑 → (𝐶Δfunc𝐷) = (⟨𝐶, 𝐷⟩ curryF (𝐶 1stF 𝐷))) |
13 | 1, 12 | eqtrid 2782 | 1 ⊢ (𝜑 → 𝐿 = (⟨𝐶, 𝐷⟩ curryF (𝐶 1stF 𝐷))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 394 = wceq 1539 ∈ wcel 2104 Vcvv 3472 ⟨cop 4633 (class class class)co 7411 ∈ cmpo 7413 Catccat 17612 1stF c1stf 18125 curryF ccurf 18167 Δfunccdiag 18169 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1911 ax-6 1969 ax-7 2009 ax-8 2106 ax-9 2114 ax-10 2135 ax-11 2152 ax-12 2169 ax-ext 2701 ax-sep 5298 ax-nul 5305 ax-pr 5426 |
This theorem depends on definitions: df-bi 206 df-an 395 df-or 844 df-3an 1087 df-tru 1542 df-fal 1552 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2532 df-eu 2561 df-clab 2708 df-cleq 2722 df-clel 2808 df-nfc 2883 df-ne 2939 df-ral 3060 df-rex 3069 df-rab 3431 df-v 3474 df-sbc 3777 df-dif 3950 df-un 3952 df-in 3954 df-ss 3964 df-nul 4322 df-if 4528 df-sn 4628 df-pr 4630 df-op 4634 df-uni 4908 df-br 5148 df-opab 5210 df-id 5573 df-xp 5681 df-rel 5682 df-cnv 5683 df-co 5684 df-dm 5685 df-iota 6494 df-fun 6544 df-fv 6550 df-ov 7414 df-oprab 7415 df-mpo 7416 df-diag 18173 |
This theorem is referenced by: diagcl 18198 diag11 18200 diag12 18201 diag2 18202 |
Copyright terms: Public domain | W3C validator |