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

Theorem diag1f1olem 49966
Description: To any functor from a terminal category can an object in the target base be assigned. (Contributed by Zhi Wang, 21-Oct-2025.)
Hypotheses
Ref Expression
diag1f1o.a 𝐴 = (Base‘𝐶)
diag1f1o.d (𝜑𝐷 ∈ TermCat)
termcfuncval.k (𝜑𝐾 ∈ (𝐷 Func 𝐶))
termcfuncval.b 𝐵 = (Base‘𝐷)
termcfuncval.y (𝜑𝑌𝐵)
termcfuncval.x 𝑋 = ((1st𝐾)‘𝑌)
diag1f1olem.l 𝐿 = (𝐶Δfunc𝐷)
Assertion
Ref Expression
diag1f1olem (𝜑 → (𝑋𝐴𝐾 = ((1st𝐿)‘𝑋)))

Proof of Theorem diag1f1olem
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 diag1f1o.a . . . 4 𝐴 = (Base‘𝐶)
2 diag1f1o.d . . . 4 (𝜑𝐷 ∈ TermCat)
3 termcfuncval.k . . . 4 (𝜑𝐾 ∈ (𝐷 Func 𝐶))
4 termcfuncval.b . . . 4 𝐵 = (Base‘𝐷)
5 termcfuncval.y . . . 4 (𝜑𝑌𝐵)
6 termcfuncval.x . . . 4 𝑋 = ((1st𝐾)‘𝑌)
7 eqid 2737 . . . 4 (Id‘𝐶) = (Id‘𝐶)
8 eqid 2737 . . . 4 (Id‘𝐷) = (Id‘𝐷)
91, 2, 3, 4, 5, 6, 7, 8termcfuncval 49965 . . 3 (𝜑 → (𝑋𝐴𝐾 = ⟨{⟨𝑌, 𝑋⟩}, {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩}⟩))
109simpld 494 . 2 (𝜑𝑋𝐴)
112, 4, 5termcbas2 49915 . . . . . 6 (𝜑𝐵 = {𝑌})
1211xpeq1d 5651 . . . . 5 (𝜑 → (𝐵 × {𝑋}) = ({𝑌} × {𝑋}))
13 xpsng 7084 . . . . . 6 ((𝑌𝐵𝑋𝐴) → ({𝑌} × {𝑋}) = {⟨𝑌, 𝑋⟩})
145, 10, 13syl2anc 585 . . . . 5 (𝜑 → ({𝑌} × {𝑋}) = {⟨𝑌, 𝑋⟩})
1512, 14eqtrd 2772 . . . 4 (𝜑 → (𝐵 × {𝑋}) = {⟨𝑌, 𝑋⟩})
1611adantr 480 . . . . . 6 ((𝜑𝑦𝐵) → 𝐵 = {𝑌})
172adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑦𝐵𝑧𝐵)) → 𝐷 ∈ TermCat)
18 simprl 771 . . . . . . . . 9 ((𝜑 ∧ (𝑦𝐵𝑧𝐵)) → 𝑦𝐵)
19 simprr 773 . . . . . . . . 9 ((𝜑 ∧ (𝑦𝐵𝑧𝐵)) → 𝑧𝐵)
20 eqid 2737 . . . . . . . . 9 (Hom ‘𝐷) = (Hom ‘𝐷)
215adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑦𝐵𝑧𝐵)) → 𝑌𝐵)
2217, 4, 18, 19, 20, 8, 21termchom2 49922 . . . . . . . 8 ((𝜑 ∧ (𝑦𝐵𝑧𝐵)) → (𝑦(Hom ‘𝐷)𝑧) = {((Id‘𝐷)‘𝑌)})
2322xpeq1d 5651 . . . . . . 7 ((𝜑 ∧ (𝑦𝐵𝑧𝐵)) → ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)}) = ({((Id‘𝐷)‘𝑌)} × {((Id‘𝐶)‘𝑋)}))
24 fvex 6845 . . . . . . . 8 ((Id‘𝐷)‘𝑌) ∈ V
25 fvex 6845 . . . . . . . 8 ((Id‘𝐶)‘𝑋) ∈ V
2624, 25xpsn 7086 . . . . . . 7 ({((Id‘𝐷)‘𝑌)} × {((Id‘𝐶)‘𝑋)}) = {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}
2723, 26eqtrdi 2788 . . . . . 6 ((𝜑 ∧ (𝑦𝐵𝑧𝐵)) → ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)}) = {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩})
2811, 16, 27mpoeq123dva 7432 . . . . 5 (𝜑 → (𝑦𝐵, 𝑧𝐵 ↦ ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)})) = (𝑦 ∈ {𝑌}, 𝑧 ∈ {𝑌} ↦ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}))
29 snex 5374 . . . . . . 7 {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩} ∈ V
3029a1i 11 . . . . . 6 (𝜑 → {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩} ∈ V)
31 eqid 2737 . . . . . . 7 (𝑦 ∈ {𝑌}, 𝑧 ∈ {𝑌} ↦ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}) = (𝑦 ∈ {𝑌}, 𝑧 ∈ {𝑌} ↦ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩})
32 eqidd 2738 . . . . . . 7 (𝑦 = 𝑌 → {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩} = {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩})
33 eqidd 2738 . . . . . . 7 (𝑧 = 𝑌 → {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩} = {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩})
3431, 32, 33mposn 8044 . . . . . 6 ((𝑌𝐵𝑌𝐵 ∧ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩} ∈ V) → (𝑦 ∈ {𝑌}, 𝑧 ∈ {𝑌} ↦ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}) = {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩})
355, 5, 30, 34syl3anc 1374 . . . . 5 (𝜑 → (𝑦 ∈ {𝑌}, 𝑧 ∈ {𝑌} ↦ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}) = {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩})
3628, 35eqtrd 2772 . . . 4 (𝜑 → (𝑦𝐵, 𝑧𝐵 ↦ ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)})) = {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩})
3715, 36opeq12d 4825 . . 3 (𝜑 → ⟨(𝐵 × {𝑋}), (𝑦𝐵, 𝑧𝐵 ↦ ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)}))⟩ = ⟨{⟨𝑌, 𝑋⟩}, {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩}⟩)
38 diag1f1olem.l . . . 4 𝐿 = (𝐶Δfunc𝐷)
393func1st2nd 49509 . . . . 5 (𝜑 → (1st𝐾)(𝐷 Func 𝐶)(2nd𝐾))
4039funcrcl3 49513 . . . 4 (𝜑𝐶 ∈ Cat)
412termccd 49912 . . . 4 (𝜑𝐷 ∈ Cat)
42 eqid 2737 . . . 4 ((1st𝐿)‘𝑋) = ((1st𝐿)‘𝑋)
4338, 40, 41, 1, 10, 42, 4, 20, 7diag1a 49738 . . 3 (𝜑 → ((1st𝐿)‘𝑋) = ⟨(𝐵 × {𝑋}), (𝑦𝐵, 𝑧𝐵 ↦ ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)}))⟩)
449simprd 495 . . 3 (𝜑𝐾 = ⟨{⟨𝑌, 𝑋⟩}, {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩}⟩)
4537, 43, 443eqtr4rd 2783 . 2 (𝜑𝐾 = ((1st𝐿)‘𝑋))
4610, 45jca 511 1 (𝜑 → (𝑋𝐴𝐾 = ((1st𝐿)‘𝑋)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wcel 2114  Vcvv 3430  {csn 4568  cop 4574   × cxp 5620  cfv 6490  (class class class)co 7358  cmpo 7360  1st c1st 7931  2nd c2nd 7932  Basecbs 17137  Hom chom 17189  Idccid 17589   Func cfunc 17779  Δfunccdiag 18136  TermCatctermc 49905
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-rep 5212  ax-sep 5231  ax-nul 5241  ax-pow 5300  ax-pr 5368  ax-un 7680  ax-cnex 11083  ax-resscn 11084  ax-1cn 11085  ax-icn 11086  ax-addcl 11087  ax-addrcl 11088  ax-mulcl 11089  ax-mulrcl 11090  ax-mulcom 11091  ax-addass 11092  ax-mulass 11093  ax-distr 11094  ax-i2m1 11095  ax-1ne0 11096  ax-1rid 11097  ax-rnegex 11098  ax-rrecex 11099  ax-cnre 11100  ax-pre-lttri 11101  ax-pre-lttrn 11102  ax-pre-ltadd 11103  ax-pre-mulgt0 11104
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-nel 3038  df-ral 3053  df-rex 3063  df-rmo 3343  df-reu 3344  df-rab 3391  df-v 3432  df-sbc 3730  df-csb 3839  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-pss 3910  df-nul 4275  df-if 4468  df-pw 4544  df-sn 4569  df-pr 4571  df-tp 4573  df-op 4575  df-uni 4852  df-iun 4936  df-br 5087  df-opab 5149  df-mpt 5168  df-tr 5194  df-id 5517  df-eprel 5522  df-po 5530  df-so 5531  df-fr 5575  df-we 5577  df-xp 5628  df-rel 5629  df-cnv 5630  df-co 5631  df-dm 5632  df-rn 5633  df-res 5634  df-ima 5635  df-pred 6257  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6446  df-fun 6492  df-fn 6493  df-f 6494  df-f1 6495  df-fo 6496  df-f1o 6497  df-fv 6498  df-riota 7315  df-ov 7361  df-oprab 7362  df-mpo 7363  df-om 7809  df-1st 7933  df-2nd 7934  df-frecs 8222  df-wrecs 8253  df-recs 8302  df-rdg 8340  df-1o 8396  df-er 8634  df-map 8766  df-ixp 8837  df-en 8885  df-dom 8886  df-sdom 8887  df-fin 8888  df-pnf 11169  df-mnf 11170  df-xr 11171  df-ltxr 11172  df-le 11173  df-sub 11367  df-neg 11368  df-nn 12147  df-2 12209  df-3 12210  df-4 12211  df-5 12212  df-6 12213  df-7 12214  df-8 12215  df-9 12216  df-n0 12403  df-z 12490  df-dec 12609  df-uz 12753  df-fz 13425  df-struct 17075  df-slot 17110  df-ndx 17122  df-base 17138  df-hom 17202  df-cco 17203  df-cat 17592  df-cid 17593  df-func 17783  df-nat 17871  df-fuc 17872  df-xpc 18096  df-1stf 18097  df-curf 18138  df-diag 18140  df-thinc 49851  df-termc 49906
This theorem is referenced by:  diag1f1o  49967
  Copyright terms: Public domain W3C validator