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

Theorem istermoi 16654
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 16648 . . . . 5 (𝜑 → (TermO‘𝐶) = {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑎)})
54eleq2d 2687 . . . 4 (𝜑 → (𝑂 ∈ (TermO‘𝐶) ↔ 𝑂 ∈ {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑎)}))
6 elrabi 3359 . . . 4 (𝑂 ∈ {𝑎𝐵 ∣ ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑎)} → 𝑂𝐵)
75, 6syl6bi 243 . . 3 (𝜑 → (𝑂 ∈ (TermO‘𝐶) → 𝑂𝐵))
87imp 445 . 2 ((𝜑𝑂 ∈ (TermO‘𝐶)) → 𝑂𝐵)
91adantr 481 . . . . 5 ((𝜑𝑂𝐵) → 𝐶 ∈ Cat)
10 simpr 477 . . . . 5 ((𝜑𝑂𝐵) → 𝑂𝐵)
112, 3, 9, 10istermo 16651 . . . 4 ((𝜑𝑂𝐵) → (𝑂 ∈ (TermO‘𝐶) ↔ ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑂)))
1211biimpd 219 . . 3 ((𝜑𝑂𝐵) → (𝑂 ∈ (TermO‘𝐶) → ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑂)))
1312impancom 456 . 2 ((𝜑𝑂 ∈ (TermO‘𝐶)) → (𝑂𝐵 → ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑂)))
148, 13jcai 559 1 ((𝜑𝑂 ∈ (TermO‘𝐶)) → (𝑂𝐵 ∧ ∀𝑏𝐵 ∃! ∈ (𝑏𝐻𝑂)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1483  wcel 1990  ∃!weu 2470  wral 2912  {crab 2916  cfv 5888  (class class class)co 6650  Basecbs 15857  Hom chom 15952  Catccat 16325  TermOctermo 16639
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-iota 5851  df-fun 5890  df-fv 5896  df-ov 6653  df-termo 16642
This theorem is referenced by:  termoid  16656  termoo  16658  termoeu1  16668
  Copyright terms: Public domain W3C validator