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

Theorem isinito 18221
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 18218 . . 3 (𝜑 → (InitO‘𝐶) = {𝑖 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑖𝐻𝑏)})
54eleq2d 2850 . 2 (𝜑 → (𝐼 ∈ (InitO‘𝐶) ↔ 𝐼 ∈ {𝑖 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑖𝐻𝑏)}))
6 isinito.i . . 3 (𝜑 → 𝐼 ∈ 𝐵)
7 oveq1 7458 . . . . . . 7 (𝑖 = 𝐼 → (𝑖𝐻𝑏) = (𝐼𝐻𝑏))
87eleq2d 2850 . . . . . 6 (𝑖 = 𝐼 → (ℎ ∈ (𝑖𝐻𝑏) ↔ ℎ ∈ (𝐼𝐻𝑏)))
98eubidv 2614 . . . . 5 (𝑖 = 𝐼 → (∃!ℎ ℎ ∈ (𝑖𝐻𝑏) ↔ ∃!ℎ ℎ ∈ (𝐼𝐻𝑏)))
109ralbidv 3189 . . . 4 (𝑖 = 𝐼 → (∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑖𝐻𝑏) ↔ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝐼𝐻𝑏)))
1110elrab3 3649 . . 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 1570   ∈ wcel 2147  ∃!weu 2596  ∀wral 3080  {crab 3416  ‘cfv 6566  (class class class)co 7451  Basecbs 17431  Hom chom 17483  Catccat 17888  InitOcinito 18206
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-iota 6520  df-fun 6568  df-fv 6574  df-ov 7454  df-inito 18209
This theorem is used by:  isinitoi  18224  initoeu2  18241  zrinitorngc  20945  zrninitoringc  20979  irinitoringc  21840  isinito2lem  50964
  Copyright terms: Public domain W3C validator