| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > termoval | Structured version Visualization version GIF version | ||
| Description: The value of the terminal object function, i.e. the set of all terminal objects of a category. (Contributed by AV, 3-Apr-2020.) |
| Ref | Expression |
|---|---|
| initoval.c | ⊢ (𝜑 → 𝐶 ∈ Cat) |
| initoval.b | ⊢ 𝐵 = (Base‘𝐶) |
| initoval.h | ⊢ 𝐻 = (Hom ‘𝐶) |
| Ref | Expression |
|---|---|
| termoval | ⊢ (𝜑 → (TermO‘𝐶) = {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑎)}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-termo 18212 | . 2 ⊢ TermO = (𝑐 ∈ Cat ↦ {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃!ℎ ℎ ∈ (𝑏(Hom ‘𝑐)𝑎)}) | |
| 2 | fveq2 6915 | . . . 4 ⊢ (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶)) | |
| 3 | initoval.b | . . . 4 ⊢ 𝐵 = (Base‘𝐶) | |
| 4 | 2, 3 | eqtr4di 2819 | . . 3 ⊢ (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵) |
| 5 | fveq2 6915 | . . . . . . . 8 ⊢ (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶)) | |
| 6 | initoval.h | . . . . . . . 8 ⊢ 𝐻 = (Hom ‘𝐶) | |
| 7 | 5, 6 | eqtr4di 2819 | . . . . . . 7 ⊢ (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻) |
| 8 | 7 | oveqd 7467 | . . . . . 6 ⊢ (𝑐 = 𝐶 → (𝑏(Hom ‘𝑐)𝑎) = (𝑏𝐻𝑎)) |
| 9 | 8 | eleq2d 2853 | . . . . 5 ⊢ (𝑐 = 𝐶 → (ℎ ∈ (𝑏(Hom ‘𝑐)𝑎) ↔ ℎ ∈ (𝑏𝐻𝑎))) |
| 10 | 9 | eubidv 2617 | . . . 4 ⊢ (𝑐 = 𝐶 → (∃!ℎ ℎ ∈ (𝑏(Hom ‘𝑐)𝑎) ↔ ∃!ℎ ℎ ∈ (𝑏𝐻𝑎))) |
| 11 | 4, 10 | raleqbidv 3338 | . . 3 ⊢ (𝑐 = 𝐶 → (∀𝑏 ∈ (Base‘𝑐)∃!ℎ ℎ ∈ (𝑏(Hom ‘𝑐)𝑎) ↔ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑎))) |
| 12 | 4, 11 | rabeqbidv 3432 | . 2 ⊢ (𝑐 = 𝐶 → {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃!ℎ ℎ ∈ (𝑏(Hom ‘𝑐)𝑎)} = {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑎)}) |
| 13 | initoval.c | . 2 ⊢ (𝜑 → 𝐶 ∈ Cat) | |
| 14 | 3 | fvexi 6929 | . . . 4 ⊢ 𝐵 ∈ V |
| 15 | 14 | rabex 5306 | . . 3 ⊢ {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑎)} ∈ V |
| 16 | 15 | a1i 11 | . 2 ⊢ (𝜑 → {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑎)} ∈ V) |
| 17 | 1, 12, 13, 16 | fvmptd3 7047 | 1 ⊢ (𝜑 → (TermO‘𝐶) = {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑎)}) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 = wceq 1572 ∈ wcel 2150 ∃!weu 2599 ∀wral 3083 {crab 3415 Vcvv 3453 ‘cfv 6565 (class class class)co 7450 Basecbs 17433 Hom chom 17485 Catccat 17890 TermOctermo 18209 |
| 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 2152 ax-9 2160 ax-10 2183 ax-11 2200 ax-12 2219 ax-ext 2738 ax-sep 5254 ax-nul 5265 ax-pr 5397 |
| 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 2104 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2842 df-nfc 2916 df-ne 2963 df-ral 3084 df-rex 3094 df-rab 3416 df-v 3455 df-ss 3900 df-dif 4049 df-in 4093 df-un 4153 df-nul 4281 df-if 4485 df-pw 4561 df-sn 4588 df-pr 4590 df-op 4840 df-uni 4872 df-br 5108 df-opab 5173 df-mpt 5192 df-id 5552 df-xp 5663 df-rel 5664 df-cnv 5665 df-co 5666 df-dm 5667 df-iota 6519 df-fun 6567 df-fv 6573 df-ov 7453 df-termo 18212 |
| This theorem is used by: istermo 18224 istermoi 18227 dfinito2 18230 termopropdlem 50784 termopropd 50787 |
| Copyright terms: Public domain | W3C validator |