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

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

Proof of Theorem istermoi
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, 3termoval 16855 . . . . 5 (𝜑 → (TermO‘𝐶) = {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑎)})
54eleq2d 2878 . . . 4 (𝜑 → (𝑂 ∈ (TermO‘𝐶) ↔ 𝑂 ∈ {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑎)}))
6 elrabi 3561 . . . 4 (𝑂 ∈ {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑎)} → 𝑂𝐵)
75, 6syl6bi 244 . . 3 (𝜑 → (𝑂 ∈ (TermO‘𝐶) → 𝑂𝐵))
87imp 395 . 2 ((𝜑𝑂 ∈ (TermO‘𝐶)) → 𝑂𝐵)
91adantr 468 . . . . 5 ((𝜑𝑂𝐵) → 𝐶 ∈ Cat)
10 simpr 473 . . . . 5 ((𝜑𝑂𝐵) → 𝑂𝐵)
112, 3, 9, 10istermo 16858 . . . 4 ((𝜑𝑂𝐵) → (𝑂 ∈ (TermO‘𝐶) ↔ ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑂)))
1211biimpd 220 . . 3 ((𝜑𝑂𝐵) → (𝑂 ∈ (TermO‘𝐶) → ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑂)))
1312impancom 441 . 2 ((𝜑𝑂 ∈ (TermO‘𝐶)) → (𝑂𝐵 → ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑂)))
148, 13jcai 508 1 ((𝜑𝑂 ∈ (TermO‘𝐶)) → (𝑂𝐵 ∧ ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑂)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1637  wcel 2157  ∃!weu 2637  wral 3103  {crab 3107  cfv 6104  (class class class)co 6877  Basecbs 16071  Hom chom 16167  Catccat 16532  TermOctermo 16846
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2069  ax-7 2105  ax-9 2166  ax-10 2186  ax-11 2202  ax-12 2215  ax-13 2422  ax-ext 2791  ax-sep 4982  ax-nul 4990  ax-pr 5103
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2062  df-mo 2635  df-eu 2638  df-clab 2800  df-cleq 2806  df-clel 2809  df-nfc 2944  df-ral 3108  df-rex 3109  df-rab 3112  df-v 3400  df-sbc 3641  df-csb 3736  df-dif 3779  df-un 3781  df-in 3783  df-ss 3790  df-nul 4124  df-if 4287  df-sn 4378  df-pr 4380  df-op 4384  df-uni 4638  df-br 4852  df-opab 4914  df-mpt 4931  df-id 5226  df-xp 5324  df-rel 5325  df-cnv 5326  df-co 5327  df-dm 5328  df-iota 6067  df-fun 6106  df-fv 6112  df-ov 6880  df-termo 16849
This theorem is referenced by:  termoid  16863  termoo  16865  termoeu1  16875
  Copyright terms: Public domain W3C validator