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

Theorem isinito 18180
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 18177 . . 3 (𝜑 → (InitO‘𝐶) = {𝑖 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑖𝐻𝑏)})
54eleq2d 2846 . 2 (𝜑 → (𝐼 ∈ (InitO‘𝐶) ↔ 𝐼 ∈ {𝑖 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑖𝐻𝑏)}))
6 isinito.i . . 3 (𝜑 → 𝐼 ∈ 𝐵)
7 oveq1 7431 . . . . . . 7 (𝑖 = 𝐼 → (𝑖𝐻𝑏) = (𝐼𝐻𝑏))
87eleq2d 2846 . . . . . 6 (𝑖 = 𝐼 → (ℎ ∈ (𝑖𝐻𝑏) ↔ ℎ ∈ (𝐼𝐻𝑏)))
98eubidv 2611 . . . . 5 (𝑖 = 𝐼 → (∃!ℎ ℎ ∈ (𝑖𝐻𝑏) ↔ ∃!ℎ ℎ ∈ (𝐼𝐻𝑏)))
109ralbidv 3185 . . . 4 (𝑖 = 𝐼 → (∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑖𝐻𝑏) ↔ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝐼𝐻𝑏)))
1110elrab3 3645 . . 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 1569   ∈ wcel 2144  ∃!weu 2593  ∀wral 3076  {crab 3412  ‘cfv 6543  (class class class)co 7424  Basecbs 17396  Hom chom 17448  Catccat 17847  InitOcinito 18165
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6497  df-fun 6545  df-fv 6551  df-ov 7427  df-inito 18168
This theorem is used by:  isinitoi  18183  initoeu2  18200  zrinitorngc  20903  zrninitoringc  20937  irinitoringc  21794  isinito2lem  50769
  Copyright terms: Public domain W3C validator