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 49513
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 17792 . . 3 ((𝜑𝐾(𝐷 Func 𝐸)𝐿) → 𝐾:𝐵𝐶)
5 functermc.e . . . . . 6 (𝜑𝐸 ∈ TermCat)
65, 2termcbas 49485 . . . . 5 (𝜑 → ∃𝑧 𝐶 = {𝑧})
7 feq3 6636 . . . . . . 7 (𝐶 = {𝑧} → (𝐾:𝐵𝐶𝐾:𝐵⟶{𝑧}))
8 vex 3442 . . . . . . . . 9 𝑧 ∈ V
98fconst2 7145 . . . . . . . 8 (𝐾:𝐵⟶{𝑧} ↔ 𝐾 = (𝐵 × {𝑧}))
10 functermc.f . . . . . . . . . 10 𝐹 = (𝐵 × 𝐶)
11 xpeq2 5644 . . . . . . . . . 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 49483 . . 3 (𝜑𝐸 ∈ ThinCat)
248fconst 6714 . . . . . 6 (𝐵 × {𝑧}):𝐵⟶{𝑧}
2512feq1d 6638 . . . . . . 7 (𝐶 = {𝑧} → (𝐹:𝐵𝐶 ↔ (𝐵 × {𝑧}):𝐵𝐶))
26 feq3 6636 . . . . . . 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 7022 . . . . . . 7 ((𝜑𝑧𝐵) → (𝐹𝑧) ∈ 𝐶)
3433adantrr 717 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵)) → (𝐹𝑧) ∈ 𝐶)
3530ffvelcdmda 7022 . . . . . . 7 ((𝜑𝑤𝐵) → (𝐹𝑤) ∈ 𝐶)
3635adantrl 716 . . . . . 6 ((𝜑 ∧ (𝑧𝐵𝑤𝐵)) → (𝐹𝑤) ∈ 𝐶)
3732, 2, 34, 36, 21termchomn0 49489 . . . . 5 ((𝜑 ∧ (𝑧𝐵𝑤𝐵)) → ¬ ((𝐹𝑧)𝐽(𝐹𝑤)) = ∅)
3837pm2.21d 121 . . . 4 ((𝜑 ∧ (𝑧𝐵𝑤𝐵)) → (((𝐹𝑧)𝐽(𝐹𝑤)) = ∅ → (𝑧𝐻𝑤) = ∅))
3938ralrimivva 3172 . . 3 (𝜑 → ∀𝑧𝐵𝑤𝐵 (((𝐹𝑧)𝐽(𝐹𝑤)) = ∅ → (𝑧𝐻𝑤) = ∅))
401, 2, 20, 21, 22, 23, 30, 31, 39functhinc 49453 . 2 (𝜑 → (𝐹(𝐷 Func 𝐸)𝐿𝐿 = 𝐺))
4119, 40functermclem 49512 1 (𝜑 → (𝐾(𝐷 Func 𝐸)𝐿 ↔ (𝐾 = 𝐹𝐿 = 𝐺)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1540  wex 1779  wcel 2109  c0 4286  {csn 4579   class class class wbr 5095   × cxp 5621  wf 6482  cfv 6486  (class class class)co 7353  cmpo 7355  Basecbs 17139  Hom chom 17191  Catccat 17589   Func cfunc 17780  TermCatctermc 49477
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 5221  ax-sep 5238  ax-nul 5248  ax-pow 5307  ax-pr 5374  ax-un 7675
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 3345  df-reu 3346  df-rab 3397  df-v 3440  df-sbc 3745  df-csb 3854  df-dif 3908  df-un 3910  df-in 3912  df-ss 3922  df-nul 4287  df-if 4479  df-pw 4555  df-sn 4580  df-pr 4582  df-op 4586  df-uni 4862  df-iun 4946  df-br 5096  df-opab 5158  df-mpt 5177  df-id 5518  df-xp 5629  df-rel 5630  df-cnv 5631  df-co 5632  df-dm 5633  df-rn 5634  df-res 5635  df-ima 5636  df-iota 6442  df-fun 6488  df-fn 6489  df-f 6490  df-f1 6491  df-fo 6492  df-f1o 6493  df-fv 6494  df-riota 7310  df-ov 7356  df-oprab 7357  df-mpo 7358  df-1st 7931  df-2nd 7932  df-map 8762  df-ixp 8832  df-cat 17593  df-cid 17594  df-func 17784  df-thinc 49423  df-termc 49478
This theorem is referenced by:  functermc2  49514
  Copyright terms: Public domain W3C validator