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

Theorem isinito 18249
Description: The predicate "is an initial object" of a category. (Contributed by AV, 3-Apr-2020.)
Hypotheses
Ref Expression
isinito.b 𝐵 = (Base‘𝐶)
isinito.h 𝐻 = (Hom ‘𝐶)
isinito.c (𝜑 → 𝐶 ∈ Cat)
isinito.i (𝜑 → 𝐼 ∈ 𝐵)
Assertion
Ref Expression
isinito (𝜑 → (𝐼 ∈ (InitO‘𝐶) ↔ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝐼𝐻𝑏)))
Distinct variable groups:   𝐵,𝑏   𝐶,𝑏,ℎ   𝐼,𝑏,ℎ
Allowed substitution hints:   𝜑(ℎ, 𝑏)   𝐵(ℎ)   𝐻(ℎ, 𝑏)

Proof of Theorem isinito
Dummy variable 𝑖 is distinct from all other variables.
StepHypRef Expression
1 isinito.c . . . 4 (𝜑 → 𝐶 ∈ Cat)
2 isinito.b . . . 4 𝐵 = (Base‘𝐶)
3 isinito.h . . . 4 𝐻 = (Hom ‘𝐶)
41, 2, 3initoval 18246 . . 3 (𝜑 → (InitO‘𝐶) = {𝑖 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑖𝐻𝑏)})
54eleq2d 2861 . 2 (𝜑 → (𝐼 ∈ (InitO‘𝐶) ↔ 𝐼 ∈ {𝑖 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑖𝐻𝑏)}))
6 isinito.i . . 3 (𝜑 → 𝐼 ∈ 𝐵)
7 oveq1 7477 . . . . . . 7 (𝑖 = 𝐼 → (𝑖𝐻𝑏) = (𝐼𝐻𝑏))
87eleq2d 2861 . . . . . 6 (𝑖 = 𝐼 → (ℎ ∈ (𝑖𝐻𝑏) ↔ ℎ ∈ (𝐼𝐻𝑏)))
98eubidv 2625 . . . . 5 (𝑖 = 𝐼 → (∃!ℎ ℎ ∈ (𝑖𝐻𝑏) ↔ ∃!ℎ ℎ ∈ (𝐼𝐻𝑏)))
109ralbidv 3200 . . . 4 (𝑖 = 𝐼 → (∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑖𝐻𝑏) ↔ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝐼𝐻𝑏)))
1110elrab3 3656 . . 3 (𝐼 ∈ 𝐵 → (𝐼 ∈ {𝑖 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑖𝐻𝑏)} ↔ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝐼𝐻𝑏)))
126, 11syl 18 . 2 (𝜑 → (𝐼 ∈ {𝑖 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑖𝐻𝑏)} ↔ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝐼𝐻𝑏)))
135, 12bitrd 282 1 (𝜑 → (𝐼 ∈ (InitO‘𝐶) ↔ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝐼𝐻𝑏)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1572   ∈ wcel 2156  ∃!weu 2605  ∀wral 3091  {crab 3423  ‘cfv 6579  (class class class)co 7470  Basecbs 17455  Hom chom 17507  Catccat 17916  InitOcinito 18234
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
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 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-iota 6533  df-fun 6581  df-fv 6587  df-ov 7473  df-inito 18237
This theorem is used by:  isinitoi  18252  initoeu2  18269  zrinitorngc  20977  zrninitoringc  21011  irinitoringc  21885  isinito2lem  51149
  Copyright terms: Public domain W3C validator