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

Theorem isinitoi 18226
Description: Implication of a class being an initial object. (Contributed by AV, 6-Apr-2020.)
Hypotheses
Ref Expression
isinitoi.b 𝐵 = (Base‘𝐶)
isinitoi.h 𝐻 = (Hom ‘𝐶)
isinitoi.c (𝜑 → 𝐶 ∈ Cat)
Assertion
Ref Expression
isinitoi ((𝜑 ∧ 𝑂 ∈ (InitO‘𝐶)) → (𝑂 ∈ 𝐵 ∧ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑂𝐻𝑏)))
Distinct variable groups:   𝐵,𝑏   𝐶,𝑏,ℎ   𝑂,𝑏,ℎ
Allowed substitution hints:   𝜑(ℎ, 𝑏)   𝐵(ℎ)   𝐻(ℎ, 𝑏)

Proof of Theorem isinitoi
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 isinitoi.c . . . . . 6 (𝜑 → 𝐶 ∈ Cat)
2 isinitoi.b . . . . . 6 𝐵 = (Base‘𝐶)
3 isinitoi.h . . . . . 6 𝐻 = (Hom ‘𝐶)
41, 2, 3initoval 18220 . . . . 5 (𝜑 → (InitO‘𝐶) = {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑎𝐻𝑏)})
54eleq2d 2853 . . . 4 (𝜑 → (𝑂 ∈ (InitO‘𝐶) ↔ 𝑂 ∈ {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑎𝐻𝑏)}))
6 elrabi 3643 . . . 4 (𝑂 ∈ {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑎𝐻𝑏)} → 𝑂 ∈ 𝐵)
75, 6biimtrdi 256 . . 3 (𝜑 → (𝑂 ∈ (InitO‘𝐶) → 𝑂 ∈ 𝐵))
87imp 412 . 2 ((𝜑 ∧ 𝑂 ∈ (InitO‘𝐶)) → 𝑂 ∈ 𝐵)
91adantr 486 . . . . 5 ((𝜑 ∧ 𝑂 ∈ 𝐵) → 𝐶 ∈ Cat)
10 simpr 490 . . . . 5 ((𝜑 ∧ 𝑂 ∈ 𝐵) → 𝑂 ∈ 𝐵)
112, 3, 9, 10isinito 18223 . . . 4 ((𝜑 ∧ 𝑂 ∈ 𝐵) → (𝑂 ∈ (InitO‘𝐶) ↔ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑂𝐻𝑏)))
1211biimpd 232 . . 3 ((𝜑 ∧ 𝑂 ∈ 𝐵) → (𝑂 ∈ (InitO‘𝐶) → ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑂𝐻𝑏)))
1312impancom 457 . 2 ((𝜑 ∧ 𝑂 ∈ (InitO‘𝐶)) → (𝑂 ∈ 𝐵 → ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑂𝐻𝑏)))
148, 13jcai 526 1 ((𝜑 ∧ 𝑂 ∈ (InitO‘𝐶)) → (𝑂 ∈ 𝐵 ∧ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑂𝐻𝑏)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150  ∃!weu 2599  ∀wral 3083  {crab 3415  ‘cfv 6565  (class class class)co 7450  Basecbs 17433  Hom chom 17485  Catccat 17890  InitOcinito 18208
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-iota 6519  df-fun 6567  df-fv 6573  df-ov 7453  df-inito 18211
This theorem is used by:  initoid  18228  initoo  18234  initoeu1  18238  initoeu2  18243  initoo2  50775
  Copyright terms: Public domain W3C validator