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 50585
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 18034 . . 3 ((𝜑 ∧ 𝐾(𝐷 Func 𝐸)𝐿) → 𝐾:𝐵⟶𝐶)
5 functermc.e . . . . . 6 (𝜑 → 𝐸 ∈ TermCat)
65, 2termcbas 50557 . . . . 5 (𝜑 → ∃𝑧 𝐶 = {𝑧})
7 feq3 6687 . . . . . . 7 (𝐶 = {𝑧} → (𝐾:𝐵⟶𝐶 ↔ 𝐾:𝐵⟶{𝑧}))
8 vex 3455 . . . . . . . . 9 𝑧 ∈ V
98fconst2 7209 . . . . . . . 8 (𝐾:𝐵⟶{𝑧} ↔ 𝐾 = (𝐵 × {𝑧}))
10 functermc.f . . . . . . . . . 10 𝐹 = (𝐵 × 𝐶)
11 xpeq2 5672 . . . . . . . . . 10 (𝐶 = {𝑧} → (𝐵 × 𝐶) = (𝐵 × {𝑧}))
1210, 11eqtrid 2808 . . . . . . . . 9 (𝐶 = {𝑧} → 𝐹 = (𝐵 × {𝑧}))
1312eqeq2d 2772 . . . . . . . 8 (𝐶 = {𝑧} → (𝐾 = 𝐹 ↔ 𝐾 = (𝐵 × {𝑧})))
149, 13bitr4id 293 . . . . . . 7 (𝐶 = {𝑧} → (𝐾:𝐵⟶{𝑧} ↔ 𝐾 = 𝐹))
157, 14bitrd 282 . . . . . 6 (𝐶 = {𝑧} → (𝐾:𝐵⟶𝐶 ↔ 𝐾 = 𝐹))
1615exlimiv 1963 . . . . 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 50555 . . 3 (𝜑 → 𝐸 ∈ ThinCat)
248fconst 6766 . . . . . 6 (𝐵 × {𝑧}):𝐵⟶{𝑧}
2512feq1d 6689 . . . . . . 7 (𝐶 = {𝑧} → (𝐹:𝐵⟶𝐶 ↔ (𝐵 × {𝑧}):𝐵⟶𝐶))
26 feq3 6687 . . . . . . 7 (𝐶 = {𝑧} → ((𝐵 × {𝑧}):𝐵⟶𝐶 ↔ (𝐵 × {𝑧}):𝐵⟶{𝑧}))
2725, 26bitrd 282 . . . . . 6 (𝐶 = {𝑧} → (𝐹:𝐵⟶𝐶 ↔ (𝐵 × {𝑧}):𝐵⟶{𝑧}))
2824, 27mpbiri 261 . . . . 5 (𝐶 = {𝑧} → 𝐹:𝐵⟶𝐶)
2928exlimiv 1963 . . . 4 (∃𝑧 𝐶 = {𝑧} → 𝐹:𝐵⟶𝐶)
306, 29syl 18 . . 3 (𝜑 → 𝐹:𝐵⟶𝐶)
31 functermc.g . . 3 𝐺 = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((𝑥𝐻𝑦) × ((𝐹‘𝑥)𝐽(𝐹‘𝑦))))
325adantr 486 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → 𝐸 ∈ TermCat)
3330ffvelcdmda 7082 . . . . . . 7 ((𝜑 ∧ 𝑧 ∈ 𝐵) → (𝐹‘𝑧) ∈ 𝐶)
3433adantrr 730 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → (𝐹‘𝑧) ∈ 𝐶)
3530ffvelcdmda 7082 . . . . . . 7 ((𝜑 ∧ 𝑤 ∈ 𝐵) → (𝐹‘𝑤) ∈ 𝐶)
3635adantrl 729 . . . . . 6 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → (𝐹‘𝑤) ∈ 𝐶)
3732, 2, 34, 36, 21termchomn0 50561 . . . . 5 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → ¬ ((𝐹‘𝑧)𝐽(𝐹‘𝑤)) = ∅)
3837pm2.21d 122 . . . 4 ((𝜑 ∧ (𝑧 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → (((𝐹‘𝑧)𝐽(𝐹‘𝑤)) = ∅ → (𝑧𝐻𝑤) = ∅))
3938ralrimivva 3206 . . 3 (𝜑 → ∀𝑧 ∈ 𝐵 ∀𝑤 ∈ 𝐵 (((𝐹‘𝑧)𝐽(𝐹‘𝑤)) = ∅ → (𝑧𝐻𝑤) = ∅))
401, 2, 20, 21, 22, 23, 30, 31, 39functhinc 50525 . 2 (𝜑 → (𝐹(𝐷 Func 𝐸)𝐿 ↔ 𝐿 = 𝐺))
4119, 40functermclem 50584 1 (𝜑 → (𝐾(𝐷 Func 𝐸)𝐿 ↔ (𝐾 = 𝐹 ∧ 𝐿 = 𝐺)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∅c0 4279  {csn 4584   class class class wbr 5103   × cxp 5649  ⟶wf 6533  ‘cfv 6537  (class class class)co 7418   ∈ cmpo 7420  Basecbs 17380  Hom chom 17432  Catccat 17831   Func cfunc 18022  TermCatctermc 50549
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-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749
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-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  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-iun 4953  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-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-riota 7375  df-ov 7421  df-oprab 7422  df-mpo 7423  df-1st 7999  df-2nd 8000  df-map 8842  df-ixp 8919  df-cat 17835  df-cid 17836  df-func 18026  df-thinc 50495  df-termc 50550
This theorem is used by:  functermc2  50586
  Copyright terms: Public domain W3C validator