Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  initc Structured version   Visualization version   GIF version

Theorem initc 49008
Description: Sets with empty base are the only initial objects in the category of small categories. Example 7.2(3) of [Adamek] p. 101. (Contributed by Zhi Wang, 15-Nov-2025.)
Assertion
Ref Expression
initc ((𝐶 ∈ V ∧ ∅ = (Base‘𝐶)) ↔ ∀𝑑 ∈ Cat ∃!𝑓 𝑓 ∈ (𝐶 Func 𝑑))
Distinct variable group:   𝐶,𝑑,𝑓

Proof of Theorem initc
StepHypRef Expression
1 simpll 766 . . . . . 6 (((𝐶 ∈ V ∧ ∅ = (Base‘𝐶)) ∧ 𝑑 ∈ Cat) → 𝐶 ∈ V)
2 simplr 768 . . . . . 6 (((𝐶 ∈ V ∧ ∅ = (Base‘𝐶)) ∧ 𝑑 ∈ Cat) → ∅ = (Base‘𝐶))
3 simpr 484 . . . . . 6 (((𝐶 ∈ V ∧ ∅ = (Base‘𝐶)) ∧ 𝑑 ∈ Cat) → 𝑑 ∈ Cat)
41, 2, 30funcg 49002 . . . . 5 (((𝐶 ∈ V ∧ ∅ = (Base‘𝐶)) ∧ 𝑑 ∈ Cat) → (𝐶 Func 𝑑) = {⟨∅, ∅⟩})
5 opex 5432 . . . . . 6 ⟨∅, ∅⟩ ∈ V
6 sneq 4607 . . . . . . 7 (𝑓 = ⟨∅, ∅⟩ → {𝑓} = {⟨∅, ∅⟩})
76eqeq2d 2741 . . . . . 6 (𝑓 = ⟨∅, ∅⟩ → ((𝐶 Func 𝑑) = {𝑓} ↔ (𝐶 Func 𝑑) = {⟨∅, ∅⟩}))
85, 7spcev 3581 . . . . 5 ((𝐶 Func 𝑑) = {⟨∅, ∅⟩} → ∃𝑓(𝐶 Func 𝑑) = {𝑓})
94, 8syl 17 . . . 4 (((𝐶 ∈ V ∧ ∅ = (Base‘𝐶)) ∧ 𝑑 ∈ Cat) → ∃𝑓(𝐶 Func 𝑑) = {𝑓})
10 eusn 4702 . . . 4 (∃!𝑓 𝑓 ∈ (𝐶 Func 𝑑) ↔ ∃𝑓(𝐶 Func 𝑑) = {𝑓})
119, 10sylibr 234 . . 3 (((𝐶 ∈ V ∧ ∅ = (Base‘𝐶)) ∧ 𝑑 ∈ Cat) → ∃!𝑓 𝑓 ∈ (𝐶 Func 𝑑))
1211ralrimiva 3127 . 2 ((𝐶 ∈ V ∧ ∅ = (Base‘𝐶)) → ∀𝑑 ∈ Cat ∃!𝑓 𝑓 ∈ (𝐶 Func 𝑑))
13 0cat 17656 . . . 4 ∅ ∈ Cat
14 oveq2 7402 . . . . . . 7 (𝑑 = ∅ → (𝐶 Func 𝑑) = (𝐶 Func ∅))
1514eleq2d 2815 . . . . . 6 (𝑑 = ∅ → (𝑓 ∈ (𝐶 Func 𝑑) ↔ 𝑓 ∈ (𝐶 Func ∅)))
1615eubidv 2580 . . . . 5 (𝑑 = ∅ → (∃!𝑓 𝑓 ∈ (𝐶 Func 𝑑) ↔ ∃!𝑓 𝑓 ∈ (𝐶 Func ∅)))
1716rspcv 3593 . . . 4 (∅ ∈ Cat → (∀𝑑 ∈ Cat ∃!𝑓 𝑓 ∈ (𝐶 Func 𝑑) → ∃!𝑓 𝑓 ∈ (𝐶 Func ∅)))
1813, 17ax-mp 5 . . 3 (∀𝑑 ∈ Cat ∃!𝑓 𝑓 ∈ (𝐶 Func 𝑑) → ∃!𝑓 𝑓 ∈ (𝐶 Func ∅))
19 euex 2571 . . 3 (∃!𝑓 𝑓 ∈ (𝐶 Func ∅) → ∃𝑓 𝑓 ∈ (𝐶 Func ∅))
20 funcrcl 17831 . . . . . . 7 (𝑓 ∈ (𝐶 Func ∅) → (𝐶 ∈ Cat ∧ ∅ ∈ Cat))
2120simpld 494 . . . . . 6 (𝑓 ∈ (𝐶 Func ∅) → 𝐶 ∈ Cat)
2221elexd 3479 . . . . 5 (𝑓 ∈ (𝐶 Func ∅) → 𝐶 ∈ V)
23 eqid 2730 . . . . . . 7 (Base‘𝐶) = (Base‘𝐶)
24 base0 17190 . . . . . . 7 ∅ = (Base‘∅)
25 eqidd 2731 . . . . . . 7 (𝑓 ∈ (𝐶 Func ∅) → ∅ = ∅)
26 id 22 . . . . . . 7 (𝑓 ∈ (𝐶 Func ∅) → 𝑓 ∈ (𝐶 Func ∅))
2723, 24, 25, 26func0g2 49007 . . . . . 6 (𝑓 ∈ (𝐶 Func ∅) → (Base‘𝐶) = ∅)
2827eqcomd 2736 . . . . 5 (𝑓 ∈ (𝐶 Func ∅) → ∅ = (Base‘𝐶))
2922, 28jca 511 . . . 4 (𝑓 ∈ (𝐶 Func ∅) → (𝐶 ∈ V ∧ ∅ = (Base‘𝐶)))
3029exlimiv 1930 . . 3 (∃𝑓 𝑓 ∈ (𝐶 Func ∅) → (𝐶 ∈ V ∧ ∅ = (Base‘𝐶)))
3118, 19, 303syl 18 . 2 (∀𝑑 ∈ Cat ∃!𝑓 𝑓 ∈ (𝐶 Func 𝑑) → (𝐶 ∈ V ∧ ∅ = (Base‘𝐶)))
3212, 31impbii 209 1 ((𝐶 ∈ V ∧ ∅ = (Base‘𝐶)) ↔ ∀𝑑 ∈ Cat ∃!𝑓 𝑓 ∈ (𝐶 Func 𝑑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1540  wex 1779  wcel 2109  ∃!weu 2562  wral 3046  Vcvv 3455  c0 4304  {csn 4597  cop 4603  cfv 6519  (class class class)co 7394  Basecbs 17185  Catccat 17631   Func cfunc 17822
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 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-rep 5242  ax-sep 5259  ax-nul 5269  ax-pow 5328  ax-pr 5395  ax-un 7718  ax-cnex 11142  ax-1cn 11144  ax-addcl 11146
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2880  df-ne 2928  df-ral 3047  df-rex 3056  df-reu 3358  df-rab 3412  df-v 3457  df-sbc 3762  df-csb 3871  df-dif 3925  df-un 3927  df-in 3929  df-ss 3939  df-pss 3942  df-nul 4305  df-if 4497  df-pw 4573  df-sn 4598  df-pr 4600  df-op 4604  df-uni 4880  df-iun 4965  df-br 5116  df-opab 5178  df-mpt 5197  df-tr 5223  df-id 5541  df-eprel 5546  df-po 5554  df-so 5555  df-fr 5599  df-we 5601  df-xp 5652  df-rel 5653  df-cnv 5654  df-co 5655  df-dm 5656  df-rn 5657  df-res 5658  df-ima 5659  df-pred 6282  df-ord 6343  df-on 6344  df-lim 6345  df-suc 6346  df-iota 6472  df-fun 6521  df-fn 6522  df-f 6523  df-f1 6524  df-fo 6525  df-f1o 6526  df-fv 6527  df-ov 7397  df-oprab 7398  df-mpo 7399  df-om 7851  df-1st 7977  df-2nd 7978  df-frecs 8269  df-wrecs 8300  df-recs 8349  df-rdg 8387  df-map 8805  df-ixp 8875  df-nn 12198  df-slot 17158  df-ndx 17170  df-base 17186  df-cat 17635  df-func 17826
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator