Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  functermc Structured version   Visualization version   GIF version

Theorem functermc 51159
Description: Functor to a terminal category. (Contributed by Zhi Wang, 17-Oct-2025.)
Hypotheses
Ref Expression
functermc.d (𝜑 → 𝐷 ∈ Cat)
functermc.e (𝜑 → 𝐸 ∈ TermCat)
functermc.b 𝐵 = (Base‘𝐷)
functermc.c 𝐶 = (Base‘𝐸)
functermc.h 𝐻 = (Hom ‘𝐷)
functermc.j 𝐽 = (Hom ‘𝐸)
functermc.f 𝐹 = (𝐵 × 𝐶)
functermc.g 𝐺 = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥𝐻𝑦) × ((𝐹‘𝑥)𝐽(𝐹‘𝑦))))
Assertion
Ref Expression
functermc (𝜑 → (𝐾(𝐷 Func 𝐸)𝐿 ↔ (𝐾 = 𝐹 ∧ 𝐿 = 𝐺)))
Distinct variable groups:   𝑥,𝐵,𝑦   𝑥,𝐹,𝑦   𝑥,𝐻,𝑦   𝑥,𝐽,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝐶(𝑥, 𝑦)   𝐷(𝑥, 𝑦)   𝐸(𝑥, 𝑦)   𝐺(𝑥, 𝑦)   𝐾(𝑥, 𝑦)   𝐿(𝑥, 𝑦)

Proof of Theorem functermc
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 functermc.b . . . 4 𝐵 = (Base‘𝐷)
2 functermc.c . . . 4 𝐶 = (Base‘𝐸)
3 simpr 490 . . . 4 ((𝜑 ∧ 𝐾(𝐷 Func 𝐸)𝐿) → 𝐾(𝐷 Func 𝐸)𝐿)
41, 2, 3funcf1 18119 . . 3 ((𝜑 ∧ 𝐾(𝐷 Func 𝐸)𝐿) → 𝐾:𝐵⟶𝐶)
5 functermc.e . . . . . 6 (𝜑 → 𝐸 ∈ TermCat)
65, 2termcbas 51131 . . . . 5 (𝜑 → ∃𝑧 𝐶 = {𝑧})
7 feq3 6735 . . . . . . 7 (𝐶 = {𝑧} → (𝐾:𝐵⟶𝐶 ↔ 𝐾:𝐵⟶{𝑧}))
8 vex 3465 . . . . . . . . 9 𝑧 ∈ V
98fconst2 7260 . . . . . . . 8 (𝐾:𝐵⟶{𝑧} ↔ 𝐾 = (𝐵 × {𝑧}))
10 functermc.f . . . . . . . . . 10 𝐹 = (𝐵 × 𝐶)
11 xpeq2 5687 . . . . . . . . . 10 (𝐶 = {𝑧} → (𝐵 × 𝐶) = (𝐵 × {𝑧}))
1210, 11eqtrid 2821 . . . . . . . . 9 (𝐶 = {𝑧} → 𝐹 = (𝐵 × {𝑧}))
1312eqeq2d 2785 . . . . . . . 8 (𝐶 = {𝑧} → (𝐾 = 𝐹 ↔ 𝐾 = (𝐵 × {𝑧})))
149, 13bitr4id 293 . . . . . . 7 (𝐶 = {𝑧} → (𝐾:𝐵⟶{𝑧} ↔ 𝐾 = 𝐹))
157, 14bitrd 282 . . . . . 6 (𝐶 = {𝑧} → (𝐾:𝐵⟶𝐶 ↔ 𝐾 = 𝐹))
1615exlimiv 1972 . . . . 5 (∃𝑧 𝐶 = {𝑧} → (𝐾:𝐵⟶𝐶 ↔ 𝐾 = 𝐹))
176, 16syl 18 . . . 4 (𝜑 → (𝐾:𝐵⟶𝐶 ↔ 𝐾 = 𝐹))
1817biimpa 482 . . 3 ((𝜑 ∧ 𝐾:𝐵⟶𝐶) → 𝐾 = 𝐹)
194, 18syldan 603 . 2 ((𝜑 ∧ 𝐾(𝐷 Func 𝐸)𝐿) → 𝐾 = 𝐹)
20 functermc.h . . 3 𝐻 = (Hom ‘𝐷)
21 functermc.j . . 3 𝐽 = (Hom ‘𝐸)
22 functermc.d . . 3 (𝜑 → 𝐷 ∈ Cat)
235termcthind 51129 . . 3 (𝜑 → 𝐸 ∈ ThinCat)
248fconst 6816 . . . . . 6 (𝐵 × {𝑧}):𝐵⟶{𝑧}
2512feq1d 6737 . . . . . . 7 (𝐶 = {𝑧} → (𝐹:𝐵⟶𝐶 ↔ (𝐵 × {𝑧}):𝐵⟶𝐶))
26 feq3 6735 . . . . . . 7 (𝐶 = {𝑧} → ((𝐵 × {𝑧}):𝐵⟶𝐶 ↔ (𝐵 × {𝑧}):𝐵⟶{𝑧}))
2725, 26bitrd 282 . . . . . 6 (𝐶 = {𝑧} → (𝐹:𝐵⟶𝐶 ↔ (𝐵 × {𝑧}):𝐵⟶{𝑧}))
2824, 27mpbiri 261 . . . . 5 (𝐶 = {𝑧} → 𝐹:𝐵⟶𝐶)
2928exlimiv 1972 . . . 4 (∃𝑧 𝐶 = {𝑧} → 𝐹:𝐵⟶𝐶)
306, 29syl 18 . . 3 (𝜑 → 𝐹:𝐵⟶𝐶)
31 functermc.g . . 3 𝐺 = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥𝐻𝑦) × ((𝐹‘𝑥)𝐽(𝐹‘𝑦))))
325adantr 486 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → 𝐸 ∈ TermCat)
3330ffvelcdmda 7134 . . . . . . 7 ((𝜑 ∧ 𝑧 ∈ 𝐵) → (𝐹‘𝑧) ∈ 𝐶)
3433adantrr 730 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → (𝐹‘𝑧) ∈ 𝐶)
3530ffvelcdmda 7134 . . . . . . 7 ((𝜑 ∧ 𝑤 ∈ 𝐵) → (𝐹‘𝑤) ∈ 𝐶)
3635adantrl 729 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → (𝐹‘𝑤) ∈ 𝐶)
3732, 2, 34, 36, 21termchomn0 51135 . . . . 5 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → ¬ ((𝐹‘𝑧)𝐽(𝐹‘𝑤)) = ∅)
3837pm2.21d 122 . . . 4 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → (((𝐹‘𝑧)𝐽(𝐹‘𝑤)) = ∅ → (𝑧𝐻𝑤) = ∅))
3938ralrimivva 3220 . . 3 (𝜑 → ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 (((𝐹‘𝑧)𝐽(𝐹‘𝑤)) = ∅ → (𝑧𝐻𝑤) = ∅))
401, 2, 20, 21, 22, 23, 30, 31, 39functhinc 51099 . 2 (𝜑 → (𝐹(𝐷 Func 𝐸)𝐿 ↔ 𝐿 = 𝐺))
4119, 40functermclem 51158 1 (𝜑 → (𝐾(𝐷 Func 𝐸)𝐿 ↔ (𝐾 = 𝐹 ∧ 𝐿 = 𝐺)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156  ∅c0 4288  {csn 4595   class class class wbr 5116   × cxp 5664  ⟶wf 6575  ‘cfv 6579  (class class class)co 7470   ∈ cmpo 7472  Basecbs 17455  Hom chom 17507  Catccat 17916   Func cfunc 18107  TermCatctermc 51123
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802
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 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-1st 8054  df-2nd 8055  df-map 8906  df-ixp 8983  df-cat 17920  df-cid 17921  df-func 18111  df-thinc 51069  df-termc 51124
This theorem is used by:  functermc2  51160
  Copyright terms: Public domain W3C validator