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

Theorem initoid 17697
Description: For an initial object, the identity arrow is the one and only morphism of the object to the object itself. (Contributed by AV, 6-Apr-2020.)
Hypotheses
Ref Expression
isinitoi.b 𝐵 = (Base‘𝐶)
isinitoi.h 𝐻 = (Hom ‘𝐶)
isinitoi.c (𝜑𝐶 ∈ Cat)
Assertion
Ref Expression
initoid ((𝜑𝑂 ∈ (InitO‘𝐶)) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)})

Proof of Theorem initoid
Dummy variables 𝑜 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 isinitoi.b . . 3 𝐵 = (Base‘𝐶)
2 isinitoi.h . . 3 𝐻 = (Hom ‘𝐶)
3 isinitoi.c . . 3 (𝜑𝐶 ∈ Cat)
41, 2, 3isinitoi 17695 . 2 ((𝜑𝑂 ∈ (InitO‘𝐶)) → (𝑂𝐵 ∧ ∀𝑜𝐵 ∃! ∈ (𝑂𝐻𝑜)))
5 oveq2 7276 . . . . . . . 8 (𝑜 = 𝑂 → (𝑂𝐻𝑜) = (𝑂𝐻𝑂))
65eleq2d 2825 . . . . . . 7 (𝑜 = 𝑂 → ( ∈ (𝑂𝐻𝑜) ↔ ∈ (𝑂𝐻𝑂)))
76eubidv 2587 . . . . . 6 (𝑜 = 𝑂 → (∃! ∈ (𝑂𝐻𝑜) ↔ ∃! ∈ (𝑂𝐻𝑂)))
87rspcv 3555 . . . . 5 (𝑂𝐵 → (∀𝑜𝐵 ∃! ∈ (𝑂𝐻𝑜) → ∃! ∈ (𝑂𝐻𝑂)))
98adantl 481 . . . 4 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (∀𝑜𝐵 ∃! ∈ (𝑂𝐻𝑜) → ∃! ∈ (𝑂𝐻𝑂)))
10 eusn 4671 . . . . 5 (∃! ∈ (𝑂𝐻𝑂) ↔ ∃(𝑂𝐻𝑂) = {})
11 eqid 2739 . . . . . . . . 9 (Id‘𝐶) = (Id‘𝐶)
123ad2antrr 722 . . . . . . . . 9 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → 𝐶 ∈ Cat)
13 simpr 484 . . . . . . . . 9 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → 𝑂𝐵)
141, 2, 11, 12, 13catidcl 17372 . . . . . . . 8 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → ((Id‘𝐶)‘𝑂) ∈ (𝑂𝐻𝑂))
15 fvex 6781 . . . . . . . . . . . . 13 ((Id‘𝐶)‘𝑂) ∈ V
1615elsn 4581 . . . . . . . . . . . 12 (((Id‘𝐶)‘𝑂) ∈ {} ↔ ((Id‘𝐶)‘𝑂) = )
17 eqcom 2746 . . . . . . . . . . . 12 (((Id‘𝐶)‘𝑂) = = ((Id‘𝐶)‘𝑂))
18 sneqbg 4779 . . . . . . . . . . . . . 14 ( ∈ V → ({} = {((Id‘𝐶)‘𝑂)} ↔ = ((Id‘𝐶)‘𝑂)))
1918bicomd 222 . . . . . . . . . . . . 13 ( ∈ V → ( = ((Id‘𝐶)‘𝑂) ↔ {} = {((Id‘𝐶)‘𝑂)}))
2019elv 3436 . . . . . . . . . . . 12 ( = ((Id‘𝐶)‘𝑂) ↔ {} = {((Id‘𝐶)‘𝑂)})
2116, 17, 203bitri 296 . . . . . . . . . . 11 (((Id‘𝐶)‘𝑂) ∈ {} ↔ {} = {((Id‘𝐶)‘𝑂)})
2221biimpi 215 . . . . . . . . . 10 (((Id‘𝐶)‘𝑂) ∈ {} → {} = {((Id‘𝐶)‘𝑂)})
2322a1i 11 . . . . . . . . 9 ((𝑂𝐻𝑂) = {} → (((Id‘𝐶)‘𝑂) ∈ {} → {} = {((Id‘𝐶)‘𝑂)}))
24 eleq2 2828 . . . . . . . . 9 ((𝑂𝐻𝑂) = {} → (((Id‘𝐶)‘𝑂) ∈ (𝑂𝐻𝑂) ↔ ((Id‘𝐶)‘𝑂) ∈ {}))
25 eqeq1 2743 . . . . . . . . 9 ((𝑂𝐻𝑂) = {} → ((𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)} ↔ {} = {((Id‘𝐶)‘𝑂)}))
2623, 24, 253imtr4d 293 . . . . . . . 8 ((𝑂𝐻𝑂) = {} → (((Id‘𝐶)‘𝑂) ∈ (𝑂𝐻𝑂) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
2714, 26syl5 34 . . . . . . 7 ((𝑂𝐻𝑂) = {} → (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
2827exlimiv 1936 . . . . . 6 (∃(𝑂𝐻𝑂) = {} → (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
2928com12 32 . . . . 5 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (∃(𝑂𝐻𝑂) = {} → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
3010, 29syl5bi 241 . . . 4 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (∃! ∈ (𝑂𝐻𝑂) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
319, 30syld 47 . . 3 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (∀𝑜𝐵 ∃! ∈ (𝑂𝐻𝑜) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
3231expimpd 453 . 2 ((𝜑𝑂 ∈ (InitO‘𝐶)) → ((𝑂𝐵 ∧ ∀𝑜𝐵 ∃! ∈ (𝑂𝐻𝑜)) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
334, 32mpd 15 1 ((𝜑𝑂 ∈ (InitO‘𝐶)) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1541  wex 1785  wcel 2109  ∃!weu 2569  wral 3065  Vcvv 3430  {csn 4566  cfv 6430  (class class class)co 7268  Basecbs 16893  Hom chom 16954  Catccat 17354  Idccid 17355  InitOcinito 17677
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-rep 5213  ax-sep 5226  ax-nul 5233  ax-pr 5355
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rex 3071  df-reu 3072  df-rmo 3073  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-nul 4262  df-if 4465  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4845  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-id 5488  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-riota 7225  df-ov 7271  df-cat 17358  df-cid 17359  df-inito 17680
This theorem is referenced by:  2initoinv  17706
  Copyright terms: Public domain W3C validator