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

Theorem initoval 18161
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 18152 . 2 InitO = (𝑐 ∈ Cat ↦ {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃!ℎ ℎ ∈ (𝑎(Hom ‘𝑐)𝑏)})
2 fveq2 6883 . . . 4 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
3 initoval.b . . . 4 𝐵 = (Base‘𝐶)
42, 3eqtr4di 2814 . . 3 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
5 fveq2 6883 . . . . . . . 8 (𝑐 = 𝐶 → (Hom ‘𝑐) = (Hom ‘𝐶))
6 initoval.h . . . . . . . 8 𝐻 = (Hom ‘𝐶)
75, 6eqtr4di 2814 . . . . . . 7 (𝑐 = 𝐶 → (Hom ‘𝑐) = 𝐻)
87oveqd 7435 . . . . . 6 (𝑐 = 𝐶 → (𝑎(Hom ‘𝑐)𝑏) = (𝑎𝐻𝑏))
98eleq2d 2847 . . . . 5 (𝑐 = 𝐶 → (ℎ ∈ (𝑎(Hom ‘𝑐)𝑏) ↔ ℎ ∈ (𝑎𝐻𝑏)))
109eubidv 2612 . . . 4 (𝑐 = 𝐶 → (∃!ℎ ℎ ∈ (𝑎(Hom ‘𝑐)𝑏) ↔ ∃!ℎ ℎ ∈ (𝑎𝐻𝑏)))
114, 10raleqbidv 3335 . . 3 (𝑐 = 𝐶 → (∀𝑏 ∈ (Base‘𝑐)∃!ℎ ℎ ∈ (𝑎(Hom ‘𝑐)𝑏) ↔ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑎𝐻𝑏)))
124, 11rabeqbidv 3430 . 2 (𝑐 = 𝐶 → {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃!ℎ ℎ ∈ (𝑎(Hom ‘𝑐)𝑏)} = {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑎𝐻𝑏)})
13 initoval.c . 2 (𝜑 → 𝐶 ∈ Cat)
143fvexi 6897 . . . 4 𝐵 ∈ V
1514rabex 5300 . . 3 {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑎𝐻𝑏)} ∈ V
1615a1i 11 . 2 (𝜑 → {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑎𝐻𝑏)} ∈ V)
171, 12, 13, 16fvmptd3 7015 1 (𝜑 → (InitO‘𝐶) = {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑎𝐻𝑏)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ∈ wcel 2145  ∃!weu 2594  ∀wral 3077  {crab 3413  Vcvv 3451  ‘cfv 6537  (class class class)co 7418  Basecbs 17380  Hom chom 17432  Catccat 17831  InitOcinito 18149
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6493  df-fun 6539  df-fv 6545  df-ov 7421  df-inito 18152
This theorem is used by:  isinito  18164  isinitoi  18167  dftermo2  18172  initopropdlem  50317  initopropd  50320
  Copyright terms: Public domain W3C validator