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

Theorem istermoi 18175
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 18169 . . . . 5 (𝜑 → (TermO‘𝐶) = {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑎)})
54eleq2d 2847 . . . 4 (𝜑 → (𝑂 ∈ (TermO‘𝐶) ↔ 𝑂 ∈ {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑎)}))
6 elrabi 3641 . . . 4 (𝑂 ∈ {𝑎 ∈ 𝐵 ∣ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑎)} → 𝑂 ∈ 𝐵)
75, 6biimtrdi 256 . . 3 (𝜑 → (𝑂 ∈ (TermO‘𝐶) → 𝑂 ∈ 𝐵))
87imp 412 . 2 ((𝜑 ∧ 𝑂 ∈ (TermO‘𝐶)) → 𝑂 ∈ 𝐵)
91adantr 486 . . . . 5 ((𝜑 ∧ 𝑂 ∈ 𝐵) → 𝐶 ∈ Cat)
10 simpr 490 . . . . 5 ((𝜑 ∧ 𝑂 ∈ 𝐵) → 𝑂 ∈ 𝐵)
112, 3, 9, 10istermo 18172 . . . 4 ((𝜑 ∧ 𝑂 ∈ 𝐵) → (𝑂 ∈ (TermO‘𝐶) ↔ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑂)))
1211biimpd 232 . . 3 ((𝜑 ∧ 𝑂 ∈ 𝐵) → (𝑂 ∈ (TermO‘𝐶) → ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑂)))
1312impancom 457 . 2 ((𝜑 ∧ 𝑂 ∈ (TermO‘𝐶)) → (𝑂 ∈ 𝐵 → ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑂)))
148, 13jcai 526 1 ((𝜑 ∧ 𝑂 ∈ (TermO‘𝐶)) → (𝑂 ∈ 𝐵 ∧ ∀𝑏 ∈ 𝐵 ∃!ℎ ℎ ∈ (𝑏𝐻𝑂)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∃!weu 2594  ∀wral 3077  {crab 3413  ‘cfv 6538  (class class class)co 7420  Basecbs 17387  Hom chom 17439  Catccat 17838  TermOctermo 18157
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6494  df-fun 6540  df-fv 6546  df-ov 7423  df-termo 18160
This theorem is used by:  termoid  18177  termoo  18183  termoeu1  18193  termoo2  50340
  Copyright terms: Public domain W3C validator