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

Theorem diag2f1o 50039
Description: If 𝐷 is terminal, the morphism part of a diagonal functor is bijective functions from hom-sets into sets of natural transformations. (Contributed by Zhi Wang, 21-Oct-2025.)
Hypotheses
Ref Expression
diag2f1o.l 𝐿 = (𝐶Δfunc𝐷)
diag2f1o.a 𝐴 = (Base‘𝐶)
diag2f1o.h 𝐻 = (Hom ‘𝐶)
diag2f1o.x (𝜑𝑋𝐴)
diag2f1o.y (𝜑𝑌𝐴)
diag2f1o.n 𝑁 = (𝐷 Nat 𝐶)
diag2f1o.d (𝜑𝐷 ∈ TermCat)
diag2f1o.c (𝜑𝐶 ∈ Cat)
Assertion
Ref Expression
diag2f1o (𝜑 → (𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)–1-1-onto→(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)))

Proof of Theorem diag2f1o
Dummy variables 𝑓 𝑚 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 diag2f1o.l . . 3 𝐿 = (𝐶Δfunc𝐷)
2 diag2f1o.a . . 3 𝐴 = (Base‘𝐶)
3 eqid 2741 . . 3 (Base‘𝐷) = (Base‘𝐷)
4 diag2f1o.h . . 3 𝐻 = (Hom ‘𝐶)
5 diag2f1o.c . . 3 (𝜑𝐶 ∈ Cat)
6 diag2f1o.d . . . 4 (𝜑𝐷 ∈ TermCat)
76termccd 49981 . . 3 (𝜑𝐷 ∈ Cat)
8 diag2f1o.x . . 3 (𝜑𝑋𝐴)
9 diag2f1o.y . . 3 (𝜑𝑌𝐴)
103istermc2 49977 . . . . . . 7 (𝐷 ∈ TermCat ↔ (𝐷 ∈ ThinCat ∧ ∃!𝑧 𝑧 ∈ (Base‘𝐷)))
116, 10sylib 220 . . . . . 6 (𝜑 → (𝐷 ∈ ThinCat ∧ ∃!𝑧 𝑧 ∈ (Base‘𝐷)))
1211simprd 497 . . . . 5 (𝜑 → ∃!𝑧 𝑧 ∈ (Base‘𝐷))
13 euex 2583 . . . . 5 (∃!𝑧 𝑧 ∈ (Base‘𝐷) → ∃𝑧 𝑧 ∈ (Base‘𝐷))
1412, 13syl 17 . . . 4 (𝜑 → ∃𝑧 𝑧 ∈ (Base‘𝐷))
15 n0 4283 . . . 4 ((Base‘𝐷) ≠ ∅ ↔ ∃𝑧 𝑧 ∈ (Base‘𝐷))
1614, 15sylibr 236 . . 3 (𝜑 → (Base‘𝐷) ≠ ∅)
17 diag2f1o.n . . 3 𝑁 = (𝐷 Nat 𝐶)
181, 2, 3, 4, 5, 7, 8, 9, 16, 17diag2f1 49811 . 2 (𝜑 → (𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)–1-1→(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)))
19 f1f 6726 . . . 4 ((𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)–1-1→(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)) → (𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)⟶(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)))
2018, 19syl 17 . . 3 (𝜑 → (𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)⟶(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)))
216, 3termcbas 49982 . . . . . 6 (𝜑 → ∃𝑧(Base‘𝐷) = {𝑧})
2221adantr 482 . . . . 5 ((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) → ∃𝑧(Base‘𝐷) = {𝑧})
23 fveq2 6830 . . . . . . 7 (𝑓 = (𝑚𝑧) → ((𝑋(2nd𝐿)𝑌)‘𝑓) = ((𝑋(2nd𝐿)𝑌)‘(𝑚𝑧)))
2423eqeq2d 2752 . . . . . 6 (𝑓 = (𝑚𝑧) → (𝑚 = ((𝑋(2nd𝐿)𝑌)‘𝑓) ↔ 𝑚 = ((𝑋(2nd𝐿)𝑌)‘(𝑚𝑧))))
258ad2antrr 733 . . . . . . . 8 (((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) ∧ (Base‘𝐷) = {𝑧}) → 𝑋𝐴)
269ad2antrr 733 . . . . . . . 8 (((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) ∧ (Base‘𝐷) = {𝑧}) → 𝑌𝐴)
276ad2antrr 733 . . . . . . . 8 (((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) ∧ (Base‘𝐷) = {𝑧}) → 𝐷 ∈ TermCat)
28 simplr 775 . . . . . . . 8 (((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) ∧ (Base‘𝐷) = {𝑧}) → 𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)))
29 vsnid 4597 . . . . . . . . 9 𝑧 ∈ {𝑧}
30 simpr 486 . . . . . . . . 9 (((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) ∧ (Base‘𝐷) = {𝑧}) → (Base‘𝐷) = {𝑧})
3129, 30eleqtrrid 2848 . . . . . . . 8 (((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) ∧ (Base‘𝐷) = {𝑧}) → 𝑧 ∈ (Base‘𝐷))
32 eqid 2741 . . . . . . . 8 (𝑚𝑧) = (𝑚𝑧)
331, 2, 4, 25, 26, 17, 27, 28, 3, 31, 32diag2f1olem 50038 . . . . . . 7 (((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) ∧ (Base‘𝐷) = {𝑧}) → ((𝑚𝑧) ∈ (𝑋𝐻𝑌) ∧ 𝑚 = ((𝑋(2nd𝐿)𝑌)‘(𝑚𝑧))))
3433simpld 496 . . . . . 6 (((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) ∧ (Base‘𝐷) = {𝑧}) → (𝑚𝑧) ∈ (𝑋𝐻𝑌))
3533simprd 497 . . . . . 6 (((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) ∧ (Base‘𝐷) = {𝑧}) → 𝑚 = ((𝑋(2nd𝐿)𝑌)‘(𝑚𝑧)))
3624, 34, 35rspcedvdw 3564 . . . . 5 (((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) ∧ (Base‘𝐷) = {𝑧}) → ∃𝑓 ∈ (𝑋𝐻𝑌)𝑚 = ((𝑋(2nd𝐿)𝑌)‘𝑓))
3722, 36exlimddv 1943 . . . 4 ((𝜑𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))) → ∃𝑓 ∈ (𝑋𝐻𝑌)𝑚 = ((𝑋(2nd𝐿)𝑌)‘𝑓))
3837ralrimiva 3133 . . 3 (𝜑 → ∀𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))∃𝑓 ∈ (𝑋𝐻𝑌)𝑚 = ((𝑋(2nd𝐿)𝑌)‘𝑓))
39 dffo3 7046 . . 3 ((𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)–onto→(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)) ↔ ((𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)⟶(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)) ∧ ∀𝑚 ∈ (((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))∃𝑓 ∈ (𝑋𝐻𝑌)𝑚 = ((𝑋(2nd𝐿)𝑌)‘𝑓)))
4020, 38, 39sylanbrc 590 . 2 (𝜑 → (𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)–onto→(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)))
41 df-f1o 6495 . 2 ((𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)–1-1-onto→(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)) ↔ ((𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)–1-1→(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)) ∧ (𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)–onto→(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌))))
4218, 40, 41sylanbrc 590 1 (𝜑 → (𝑋(2nd𝐿)𝑌):(𝑋𝐻𝑌)–1-1-onto→(((1st𝐿)‘𝑋)𝑁((1st𝐿)‘𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1548  wex 1787  wcel 2121  ∃!weu 2574  wne 2936  wral 3055  wrex 3065  c0 4263  {csn 4557  wf 6484  1-1wf1 6485  ontowfo 6486  1-1-ontowf1o 6487  cfv 6488  (class class class)co 7359  1st c1st 7931  2nd c2nd 7932  Basecbs 17174  Hom chom 17226  Catccat 17625   Nat cnat 17906  Δfunccdiag 18173  ThinCatcthinc 49919  TermCatctermc 49974
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1975  ax-7 2016  ax-8 2123  ax-9 2131  ax-10 2154  ax-11 2170  ax-12 2191  ax-ext 2713  ax-rep 5201  ax-sep 5220  ax-nul 5230  ax-pow 5296  ax-pr 5364  ax-un 7681  ax-cnex 11090  ax-resscn 11091  ax-1cn 11092  ax-icn 11093  ax-addcl 11094  ax-addrcl 11095  ax-mulcl 11096  ax-mulrcl 11097  ax-mulcom 11098  ax-addass 11099  ax-mulass 11100  ax-distr 11101  ax-i2m1 11102  ax-1ne0 11103  ax-1rid 11104  ax-rnegex 11105  ax-rrecex 11106  ax-cnre 11107  ax-pre-lttri 11108  ax-pre-lttrn 11109  ax-pre-ltadd 11110  ax-pre-mulgt0 11111
This theorem depends on definitions:  df-bi 209  df-an 398  df-or 855  df-3or 1094  df-3an 1095  df-tru 1551  df-fal 1561  df-ex 1788  df-nf 1792  df-sb 2075  df-mo 2545  df-eu 2575  df-clab 2720  df-cleq 2733  df-clel 2816  df-nfc 2890  df-ne 2937  df-nel 3041  df-ral 3056  df-rex 3066  df-rmo 3346  df-reu 3347  df-rab 3394  df-v 3435  df-sbc 3725  df-csb 3833  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-pss 3904  df-nul 4264  df-if 4457  df-pw 4533  df-sn 4558  df-pr 4560  df-tp 4562  df-op 4564  df-uni 4841  df-iun 4925  df-br 5075  df-opab 5137  df-mpt 5156  df-tr 5182  df-id 5515  df-eprel 5520  df-po 5528  df-so 5529  df-fr 5573  df-we 5575  df-xp 5626  df-rel 5627  df-cnv 5628  df-co 5629  df-dm 5630  df-rn 5631  df-res 5632  df-ima 5633  df-pred 6255  df-ord 6316  df-on 6317  df-lim 6318  df-suc 6319  df-iota 6444  df-fun 6490  df-fn 6491  df-f 6492  df-f1 6493  df-fo 6494  df-f1o 6495  df-fv 6496  df-riota 7316  df-ov 7362  df-oprab 7363  df-mpo 7364  df-om 7810  df-1st 7933  df-2nd 7934  df-frecs 8224  df-wrecs 8255  df-recs 8304  df-rdg 8343  df-1o 8399  df-er 8637  df-map 8769  df-ixp 8840  df-en 8888  df-dom 8889  df-sdom 8890  df-fin 8891  df-pnf 11177  df-mnf 11178  df-xr 11179  df-ltxr 11180  df-le 11181  df-sub 11375  df-neg 11376  df-nn 12170  df-2 12239  df-3 12240  df-4 12241  df-5 12242  df-6 12243  df-7 12244  df-8 12245  df-9 12246  df-n0 12433  df-z 12520  df-dec 12640  df-uz 12784  df-fz 13457  df-struct 17112  df-slot 17147  df-ndx 17159  df-base 17175  df-hom 17239  df-cco 17240  df-cat 17629  df-cid 17630  df-func 17820  df-nat 17908  df-fuc 17909  df-xpc 18133  df-1stf 18134  df-curf 18175  df-diag 18177  df-thinc 49920  df-termc 49975
This theorem is referenced by:  diagffth  50040
  Copyright terms: Public domain W3C validator