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

Theorem initoid 17761
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 17759 . 2 ((𝜑𝑂 ∈ (InitO‘𝐶)) → (𝑂𝐵 ∧ ∀𝑜𝐵 ∃! ∈ (𝑂𝐻𝑜)))
5 oveq2 7315 . . . . . . . 8 (𝑜 = 𝑂 → (𝑂𝐻𝑜) = (𝑂𝐻𝑂))
65eleq2d 2822 . . . . . . 7 (𝑜 = 𝑂 → ( ∈ (𝑂𝐻𝑜) ↔ ∈ (𝑂𝐻𝑂)))
76eubidv 2584 . . . . . 6 (𝑜 = 𝑂 → (∃! ∈ (𝑂𝐻𝑜) ↔ ∃! ∈ (𝑂𝐻𝑂)))
87rspcv 3562 . . . . 5 (𝑂𝐵 → (∀𝑜𝐵 ∃! ∈ (𝑂𝐻𝑜) → ∃! ∈ (𝑂𝐻𝑂)))
98adantl 483 . . . 4 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (∀𝑜𝐵 ∃! ∈ (𝑂𝐻𝑜) → ∃! ∈ (𝑂𝐻𝑂)))
10 eusn 4670 . . . . 5 (∃! ∈ (𝑂𝐻𝑂) ↔ ∃(𝑂𝐻𝑂) = {})
11 eqid 2736 . . . . . . . . 9 (Id‘𝐶) = (Id‘𝐶)
123ad2antrr 724 . . . . . . . . 9 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → 𝐶 ∈ Cat)
13 simpr 486 . . . . . . . . 9 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → 𝑂𝐵)
141, 2, 11, 12, 13catidcl 17436 . . . . . . . 8 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → ((Id‘𝐶)‘𝑂) ∈ (𝑂𝐻𝑂))
15 fvex 6817 . . . . . . . . . . . . 13 ((Id‘𝐶)‘𝑂) ∈ V
1615elsn 4580 . . . . . . . . . . . 12 (((Id‘𝐶)‘𝑂) ∈ {} ↔ ((Id‘𝐶)‘𝑂) = )
17 eqcom 2743 . . . . . . . . . . . 12 (((Id‘𝐶)‘𝑂) = = ((Id‘𝐶)‘𝑂))
18 sneqbg 4780 . . . . . . . . . . . . . 14 ( ∈ V → ({} = {((Id‘𝐶)‘𝑂)} ↔ = ((Id‘𝐶)‘𝑂)))
1918bicomd 222 . . . . . . . . . . . . 13 ( ∈ V → ( = ((Id‘𝐶)‘𝑂) ↔ {} = {((Id‘𝐶)‘𝑂)}))
2019elv 3443 . . . . . . . . . . . 12 ( = ((Id‘𝐶)‘𝑂) ↔ {} = {((Id‘𝐶)‘𝑂)})
2116, 17, 203bitri 297 . . . . . . . . . . 11 (((Id‘𝐶)‘𝑂) ∈ {} ↔ {} = {((Id‘𝐶)‘𝑂)})
2221biimpi 215 . . . . . . . . . 10 (((Id‘𝐶)‘𝑂) ∈ {} → {} = {((Id‘𝐶)‘𝑂)})
2322a1i 11 . . . . . . . . 9 ((𝑂𝐻𝑂) = {} → (((Id‘𝐶)‘𝑂) ∈ {} → {} = {((Id‘𝐶)‘𝑂)}))
24 eleq2 2825 . . . . . . . . 9 ((𝑂𝐻𝑂) = {} → (((Id‘𝐶)‘𝑂) ∈ (𝑂𝐻𝑂) ↔ ((Id‘𝐶)‘𝑂) ∈ {}))
25 eqeq1 2740 . . . . . . . . 9 ((𝑂𝐻𝑂) = {} → ((𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)} ↔ {} = {((Id‘𝐶)‘𝑂)}))
2623, 24, 253imtr4d 294 . . . . . . . 8 ((𝑂𝐻𝑂) = {} → (((Id‘𝐶)‘𝑂) ∈ (𝑂𝐻𝑂) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
2714, 26syl5 34 . . . . . . 7 ((𝑂𝐻𝑂) = {} → (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
2827exlimiv 1931 . . . . . 6 (∃(𝑂𝐻𝑂) = {} → (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
2928com12 32 . . . . 5 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (∃(𝑂𝐻𝑂) = {} → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
3010, 29biimtrid 241 . . . 4 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (∃! ∈ (𝑂𝐻𝑂) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
319, 30syld 47 . . 3 (((𝜑𝑂 ∈ (InitO‘𝐶)) ∧ 𝑂𝐵) → (∀𝑜𝐵 ∃! ∈ (𝑂𝐻𝑜) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
3231expimpd 455 . 2 ((𝜑𝑂 ∈ (InitO‘𝐶)) → ((𝑂𝐵 ∧ ∀𝑜𝐵 ∃! ∈ (𝑂𝐻𝑜)) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)}))
334, 32mpd 15 1 ((𝜑𝑂 ∈ (InitO‘𝐶)) → (𝑂𝐻𝑂) = {((Id‘𝐶)‘𝑂)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397   = wceq 1539  wex 1779  wcel 2104  ∃!weu 2566  wral 3062  Vcvv 3437  {csn 4565  cfv 6458  (class class class)co 7307  Basecbs 16957  Hom chom 17018  Catccat 17418  Idccid 17419  InitOcinito 17741
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-rep 5218  ax-sep 5232  ax-nul 5239  ax-pr 5361
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-rmo 3285  df-reu 3286  df-rab 3287  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-iun 4933  df-br 5082  df-opab 5144  df-mpt 5165  df-id 5500  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-res 5612  df-ima 5613  df-iota 6410  df-fun 6460  df-fn 6461  df-f 6462  df-f1 6463  df-fo 6464  df-f1o 6465  df-fv 6466  df-riota 7264  df-ov 7310  df-cat 17422  df-cid 17423  df-inito 17744
This theorem is referenced by:  2initoinv  17770
  Copyright terms: Public domain W3C validator