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

Theorem dftermo2 17335
Description: A terminal object is an initial object in the opposite category. An alternate definition of df-termo 17316 depending on df-inito 17315. (Contributed by Zhi Wang, 29-Aug-2024.)
Assertion
Ref Expression
dftermo2 TermO = (𝑐 ∈ Cat ↦ (InitO‘(oppCat‘𝑐)))

Proof of Theorem dftermo2
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-termo 17316 . 2 TermO = (𝑐 ∈ Cat ↦ {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑏(Hom ‘𝑐)𝑎)})
2 eqid 2758 . . . . . 6 (oppCat‘𝑐) = (oppCat‘𝑐)
32oppccat 17055 . . . . 5 (𝑐 ∈ Cat → (oppCat‘𝑐) ∈ Cat)
4 eqid 2758 . . . . . 6 (Base‘𝑐) = (Base‘𝑐)
52, 4oppcbas 17051 . . . . 5 (Base‘𝑐) = (Base‘(oppCat‘𝑐))
6 eqid 2758 . . . . 5 (Hom ‘(oppCat‘𝑐)) = (Hom ‘(oppCat‘𝑐))
73, 5, 6initoval 17324 . . . 4 (𝑐 ∈ Cat → (InitO‘(oppCat‘𝑐)) = {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑎(Hom ‘(oppCat‘𝑐))𝑏)})
8 eqid 2758 . . . . . . . . 9 (Hom ‘𝑐) = (Hom ‘𝑐)
98, 2oppchom 17048 . . . . . . . 8 (𝑎(Hom ‘(oppCat‘𝑐))𝑏) = (𝑏(Hom ‘𝑐)𝑎)
109eleq2i 2843 . . . . . . 7 ( ∈ (𝑎(Hom ‘(oppCat‘𝑐))𝑏) ↔ ∈ (𝑏(Hom ‘𝑐)𝑎))
1110eubii 2604 . . . . . 6 (∃! ∈ (𝑎(Hom ‘(oppCat‘𝑐))𝑏) ↔ ∃! ∈ (𝑏(Hom ‘𝑐)𝑎))
1211ralbii 3097 . . . . 5 (∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑎(Hom ‘(oppCat‘𝑐))𝑏) ↔ ∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑏(Hom ‘𝑐)𝑎))
1312rabbii 3385 . . . 4 {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑎(Hom ‘(oppCat‘𝑐))𝑏)} = {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑏(Hom ‘𝑐)𝑎)}
147, 13eqtrdi 2809 . . 3 (𝑐 ∈ Cat → (InitO‘(oppCat‘𝑐)) = {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑏(Hom ‘𝑐)𝑎)})
1514mpteq2ia 5126 . 2 (𝑐 ∈ Cat ↦ (InitO‘(oppCat‘𝑐))) = (𝑐 ∈ Cat ↦ {𝑎 ∈ (Base‘𝑐) ∣ ∀𝑏 ∈ (Base‘𝑐)∃! ∈ (𝑏(Hom ‘𝑐)𝑎)})
161, 15eqtr4i 2784 1 TermO = (𝑐 ∈ Cat ↦ (InitO‘(oppCat‘𝑐)))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1538  wcel 2111  ∃!weu 2587  wral 3070  {crab 3074  cmpt 5115  cfv 6339  (class class class)co 7155  Basecbs 16546  Hom chom 16639  Catccat 16998  oppCatcoppc 17044  InitOcinito 17312  TermOctermo 17313
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-rep 5159  ax-sep 5172  ax-nul 5179  ax-pow 5237  ax-pr 5301  ax-un 7464  ax-cnex 10636  ax-resscn 10637  ax-1cn 10638  ax-icn 10639  ax-addcl 10640  ax-addrcl 10641  ax-mulcl 10642  ax-mulrcl 10643  ax-mulcom 10644  ax-addass 10645  ax-mulass 10646  ax-distr 10647  ax-i2m1 10648  ax-1ne0 10649  ax-1rid 10650  ax-rnegex 10651  ax-rrecex 10652  ax-cnre 10653  ax-pre-lttri 10654  ax-pre-lttrn 10655  ax-pre-ltadd 10656  ax-pre-mulgt0 10657
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-nel 3056  df-ral 3075  df-rex 3076  df-reu 3077  df-rmo 3078  df-rab 3079  df-v 3411  df-sbc 3699  df-csb 3808  df-dif 3863  df-un 3865  df-in 3867  df-ss 3877  df-pss 3879  df-nul 4228  df-if 4424  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4802  df-iun 4888  df-br 5036  df-opab 5098  df-mpt 5116  df-tr 5142  df-id 5433  df-eprel 5438  df-po 5446  df-so 5447  df-fr 5486  df-we 5488  df-xp 5533  df-rel 5534  df-cnv 5535  df-co 5536  df-dm 5537  df-rn 5538  df-res 5539  df-ima 5540  df-pred 6130  df-ord 6176  df-on 6177  df-lim 6178  df-suc 6179  df-iota 6298  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346  df-fv 6347  df-riota 7113  df-ov 7158  df-oprab 7159  df-mpo 7160  df-om 7585  df-1st 7698  df-2nd 7699  df-tpos 7907  df-wrecs 7962  df-recs 8023  df-rdg 8061  df-er 8304  df-en 8533  df-dom 8534  df-sdom 8535  df-pnf 10720  df-mnf 10721  df-xr 10722  df-ltxr 10723  df-le 10724  df-sub 10915  df-neg 10916  df-nn 11680  df-2 11742  df-3 11743  df-4 11744  df-5 11745  df-6 11746  df-7 11747  df-8 11748  df-9 11749  df-n0 11940  df-z 12026  df-dec 12143  df-ndx 16549  df-slot 16550  df-base 16552  df-sets 16553  df-hom 16652  df-cco 16653  df-cat 17002  df-cid 17003  df-oppc 17045  df-inito 17315  df-termo 17316
This theorem is referenced by:  dftermo3  17337
  Copyright terms: Public domain W3C validator