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 49470
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 484 . . . 4 ((𝜑𝐾(𝐷 Func 𝐸)𝐿) → 𝐾(𝐷 Func 𝐸)𝐿)
41, 2, 3funcf1 17804 . . 3 ((𝜑𝐾(𝐷 Func 𝐸)𝐿) → 𝐾:𝐵𝐶)
5 functermc.e . . . . . 6 (𝜑𝐸 ∈ TermCat)
65, 2termcbas 49442 . . . . 5 (𝜑 → ∃𝑧 𝐶 = {𝑧})
7 feq3 6650 . . . . . . 7 (𝐶 = {𝑧} → (𝐾:𝐵𝐶𝐾:𝐵⟶{𝑧}))
8 vex 3448 . . . . . . . . 9 𝑧 ∈ V
98fconst2 7161 . . . . . . . 8 (𝐾:𝐵⟶{𝑧} ↔ 𝐾 = (𝐵 × {𝑧}))
10 functermc.f . . . . . . . . . 10 𝐹 = (𝐵 × 𝐶)
11 xpeq2 5652 . . . . . . . . . 10 (𝐶 = {𝑧} → (𝐵 × 𝐶) = (𝐵 × {𝑧}))
1210, 11eqtrid 2776 . . . . . . . . 9 (𝐶 = {𝑧} → 𝐹 = (𝐵 × {𝑧}))
1312eqeq2d 2740 . . . . . . . 8 (𝐶 = {𝑧} → (𝐾 = 𝐹𝐾 = (𝐵 × {𝑧})))
149, 13bitr4id 290 . . . . . . 7 (𝐶 = {𝑧} → (𝐾:𝐵⟶{𝑧} ↔ 𝐾 = 𝐹))
157, 14bitrd 279 . . . . . 6 (𝐶 = {𝑧} → (𝐾:𝐵𝐶𝐾 = 𝐹))
1615exlimiv 1930 . . . . 5 (∃𝑧 𝐶 = {𝑧} → (𝐾:𝐵𝐶𝐾 = 𝐹))
176, 16syl 17 . . . 4 (𝜑 → (𝐾:𝐵𝐶𝐾 = 𝐹))
1817biimpa 476 . . 3 ((𝜑𝐾:𝐵𝐶) → 𝐾 = 𝐹)
194, 18syldan 591 . 2 ((𝜑𝐾(𝐷 Func 𝐸)𝐿) → 𝐾 = 𝐹)
20 functermc.h . . 3 𝐻 = (Hom ‘𝐷)
21 functermc.j . . 3 𝐽 = (Hom ‘𝐸)
22 functermc.d . . 3 (𝜑𝐷 ∈ Cat)
235termcthind 49440 . . 3 (𝜑𝐸 ∈ ThinCat)
248fconst 6728 . . . . . 6 (𝐵 × {𝑧}):𝐵⟶{𝑧}
2512feq1d 6652 . . . . . . 7 (𝐶 = {𝑧} → (𝐹:𝐵𝐶 ↔ (𝐵 × {𝑧}):𝐵𝐶))
26 feq3 6650 . . . . . . 7 (𝐶 = {𝑧} → ((𝐵 × {𝑧}):𝐵𝐶 ↔ (𝐵 × {𝑧}):𝐵⟶{𝑧}))
2725, 26bitrd 279 . . . . . 6 (𝐶 = {𝑧} → (𝐹:𝐵𝐶 ↔ (𝐵 × {𝑧}):𝐵⟶{𝑧}))
2824, 27mpbiri 258 . . . . 5 (𝐶 = {𝑧} → 𝐹:𝐵𝐶)
2928exlimiv 1930 . . . 4 (∃𝑧 𝐶 = {𝑧} → 𝐹:𝐵𝐶)
306, 29syl 17 . . 3 (𝜑𝐹:𝐵𝐶)
31 functermc.g . . 3 𝐺 = (𝑥𝐵, 𝑦𝐵 ↦ ((𝑥𝐻𝑦) × ((𝐹𝑥)𝐽(𝐹𝑦))))
325adantr 480 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵)) → 𝐸 ∈ TermCat)
3330ffvelcdmda 7038 . . . . . . 7 ((𝜑𝑧𝐵) → (𝐹𝑧) ∈ 𝐶)
3433adantrr 717 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵)) → (𝐹𝑧) ∈ 𝐶)
3530ffvelcdmda 7038 . . . . . . 7 ((𝜑𝑤𝐵) → (𝐹𝑤) ∈ 𝐶)
3635adantrl 716 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵)) → (𝐹𝑤) ∈ 𝐶)
3732, 2, 34, 36, 21termchomn0 49446 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵)) → ¬ ((𝐹𝑧)𝐽(𝐹𝑤)) = ∅)
3837pm2.21d 121 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵)) → (((𝐹𝑧)𝐽(𝐹𝑤)) = ∅ → (𝑧𝐻𝑤) = ∅))
3938ralrimivva 3178 . . 3 (𝜑 → ∀𝑧𝐵𝑤𝐵 (((𝐹𝑧)𝐽(𝐹𝑤)) = ∅ → (𝑧𝐻𝑤) = ∅))
401, 2, 20, 21, 22, 23, 30, 31, 39functhinc 49410 . 2 (𝜑 → (𝐹(𝐷 Func 𝐸)𝐿𝐿 = 𝐺))
4119, 40functermclem 49469 1 (𝜑 → (𝐾(𝐷 Func 𝐸)𝐿 ↔ (𝐾 = 𝐹𝐿 = 𝐺)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1540  wex 1779  wcel 2109  c0 4292  {csn 4585   class class class wbr 5102   × cxp 5629  wf 6495  cfv 6499  (class class class)co 7369  cmpo 7371  Basecbs 17155  Hom chom 17207  Catccat 17601   Func cfunc 17792  TermCatctermc 49434
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-rep 5229  ax-sep 5246  ax-nul 5256  ax-pow 5315  ax-pr 5382  ax-un 7691
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-rmo 3351  df-reu 3352  df-rab 3403  df-v 3446  df-sbc 3751  df-csb 3860  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-nul 4293  df-if 4485  df-pw 4561  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4868  df-iun 4953  df-br 5103  df-opab 5165  df-mpt 5184  df-id 5526  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-iota 6452  df-fun 6501  df-fn 6502  df-f 6503  df-f1 6504  df-fo 6505  df-f1o 6506  df-fv 6507  df-riota 7326  df-ov 7372  df-oprab 7373  df-mpo 7374  df-1st 7947  df-2nd 7948  df-map 8778  df-ixp 8848  df-cat 17605  df-cid 17606  df-func 17796  df-thinc 49380  df-termc 49435
This theorem is referenced by:  functermc2  49471
  Copyright terms: Public domain W3C validator