MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  initoval Structured version   Visualization version   GIF version

Theorem initoval 16647
Description: The value of the initial object function, i.e. the set of all initial objects of a category. (Contributed by AV, 3-Apr-2020.)
Hypotheses
Ref Expression
initoval.c (𝜑𝐶 ∈ Cat)
initoval.b 𝐵 = (Base‘𝐶)
initoval.h 𝐻 = (Hom ‘𝐶)
Assertion
Ref Expression
initoval (𝜑 → (InitO‘𝐶) = {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑎𝐻𝑏)})
Distinct variable groups:   𝑎,𝑏,   𝐵,𝑎,𝑏   𝐶,𝑎,𝑏,
Allowed substitution hints:   𝜑(,𝑎,𝑏)   𝐵()   𝐻(,𝑎,𝑏)

Proof of Theorem initoval
Dummy variable 𝑐 is distinct from all other variables.
StepHypRef Expression
1 df-inito 16641 . . 3 InitO = (𝑐 ∈ Cat ↦ {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑎(Hom ‘𝑐)𝑏)})
21a1i 11 . 2 (𝜑 → InitO = (𝑐 ∈ Cat ↦ {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑎(Hom ‘𝑐)𝑏)}))
3 fveq2 6191 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
4 initoval.b . . . . 5 𝐵 = (Base‘𝐶)
53, 4syl6eqr 2674 . . . 4 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
6 fveq2 6191 . . . . . . . . 9 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
7 initoval.h . . . . . . . . 9 𝐻 = (Hom ‘𝐶)
86, 7syl6eqr 2674 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻)
98oveqd 6667 . . . . . . 7 (𝑐 = 𝐶 → (𝑎(Hom ‘𝑐)𝑏) = (𝑎𝐻𝑏))
109eleq2d 2687 . . . . . 6 (𝑐 = 𝐶 → ( ∈ (𝑎(Hom ‘𝑐)𝑏) ↔ ∈ (𝑎𝐻𝑏)))
1110eubidv 2490 . . . . 5 (𝑐 = 𝐶 → (∃! ∈ (𝑎(Hom ‘𝑐)𝑏) ↔ ∃! ∈ (𝑎𝐻𝑏)))
125, 11raleqbidv 3152 . . . 4 (𝑐 = 𝐶 → (∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑎(Hom ‘𝑐)𝑏) ↔ ∀𝑏𝐵 ∃! ∈ (𝑎𝐻𝑏)))
135, 12rabeqbidv 3195 . . 3 (𝑐 = 𝐶 → {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑎(Hom ‘𝑐)𝑏)} = {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑎𝐻𝑏)})
1413adantl 482 . 2 ((𝜑𝑐 = 𝐶) → {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑎(Hom ‘𝑐)𝑏)} = {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑎𝐻𝑏)})
15 initoval.c . 2 (𝜑𝐶 ∈ Cat)
16 fvex 6201 . . . . 5 (Base‘𝐶) ∈ V
174, 16eqeltri 2697 . . . 4 𝐵 ∈ V
1817rabex 4813 . . 3 {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑎𝐻𝑏)} ∈ V
1918a1i 11 . 2 (𝜑 → {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑎𝐻𝑏)} ∈ V)
202, 14, 15, 19fvmptd 6288 1 (𝜑 → (InitO‘𝐶) = {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑎𝐻𝑏)})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1483  wcel 1990  ∃!weu 2470  wral 2912  {crab 2916  Vcvv 3200  cmpt 4729  cfv 5888  (class class class)co 6650  Basecbs 15857  Hom chom 15952  Catccat 16325  InitOcinito 16638
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-iota 5851  df-fun 5890  df-fv 5896  df-ov 6653  df-inito 16641
This theorem is referenced by:  isinito  16650  isinitoi  16653
  Copyright terms: Public domain W3C validator