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 51089
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 2766 . . . 4 (Id‘𝐶) = (Id‘𝐶)
8 eqid 2766 . . . 4 (Id‘𝐷) = (Id‘𝐷)
91, 2, 3, 4, 5, 6, 7, 8termcfuncval 51088 . . 3 (𝜑 → (𝑋 ∈ 𝐴 ∧ 𝐾 = ⟨{⟨𝑌, 𝑋⟩}, {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩}⟩))
109simpld 500 . 2 (𝜑 → 𝑋 ∈ 𝐴)
112, 4, 5termcbas2 51038 . . . . . 6 (𝜑 → 𝐵 = {𝑌})
1211xpeq1d 5686 . . . . 5 (𝜑 → (𝐵 × {𝑋}) = ({𝑌} × {𝑋}))
13 xpsng 7172 . . . . . 6 ((𝑌 ∈ 𝐵 ∧ 𝑋 ∈ 𝐴) → ({𝑌} × {𝑋}) = {⟨𝑌, 𝑋⟩})
145, 10, 13syl2anc 596 . . . . 5 (𝜑 → ({𝑌} × {𝑋}) = {⟨𝑌, 𝑋⟩})
1512, 14eqtrd 2801 . . . 4 (𝜑 → (𝐵 × {𝑋}) = {⟨𝑌, 𝑋⟩})
1611adantr 486 . . . . . 6 ((𝜑 ∧ 𝑦 ∈ 𝐵) → 𝐵 = {𝑌})
172adantr 486 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ 𝐵 ∧ 𝑧 ∈ 𝐵)) → 𝐷 ∈ TermCat)
18 simprl 783 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ 𝐵 ∧ 𝑧 ∈ 𝐵)) → 𝑦 ∈ 𝐵)
19 simprr 785 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ 𝐵 ∧ 𝑧 ∈ 𝐵)) → 𝑧 ∈ 𝐵)
20 eqid 2766 . . . . . . . . 9 (Hom ‘𝐷) = (Hom ‘𝐷)
215adantr 486 . . . . . . . . 9 ((𝜑 ∧ (𝑦 ∈ 𝐵 ∧ 𝑧 ∈ 𝐵)) → 𝑌 ∈ 𝐵)
2217, 4, 18, 19, 20, 8, 21termchom2 51045 . . . . . . . 8 ((𝜑 ∧ (𝑦 ∈ 𝐵 ∧ 𝑧 ∈ 𝐵)) → (𝑦(Hom ‘𝐷)𝑧) = {((Id‘𝐷)‘𝑌)})
2322xpeq1d 5686 . . . . . . 7 ((𝜑 ∧ (𝑦 ∈ 𝐵 ∧ 𝑧 ∈ 𝐵)) → ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)}) = ({((Id‘𝐷)‘𝑌)} × {((Id‘𝐶)‘𝑋)}))
24 fvex 6929 . . . . . . . 8 ((Id‘𝐷)‘𝑌) ∈ V
25 fvex 6929 . . . . . . . 8 ((Id‘𝐶)‘𝑋) ∈ V
2624, 25xpsn 7173 . . . . . . 7 ({((Id‘𝐷)‘𝑌)} × {((Id‘𝐶)‘𝑋)}) = {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}
2723, 26eqtrdi 2817 . . . . . 6 ((𝜑 ∧ (𝑦 ∈ 𝐵 ∧ 𝑧 ∈ 𝐵)) → ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)}) = {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩})
2811, 16, 27mpoeq123dva 7525 . . . . 5 (𝜑 → (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)})) = (𝑦 ∈ {𝑌}, 𝑧 ∈ {𝑌} ↦ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}))
29 snex 5403 . . . . . . 7 {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩} ∈ V
3029a1i 11 . . . . . 6 (𝜑 → {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩} ∈ V)
31 eqid 2766 . . . . . . 7 (𝑦 ∈ {𝑌}, 𝑧 ∈ {𝑌} ↦ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}) = (𝑦 ∈ {𝑌}, 𝑧 ∈ {𝑌} ↦ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩})
32 eqidd 2767 . . . . . . 7 (𝑦 = 𝑌 → {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩} = {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩})
33 eqidd 2767 . . . . . . 7 (𝑧 = 𝑌 → {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩} = {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩})
3431, 32, 33mposn 8151 . . . . . 6 ((𝑌 ∈ 𝐵 ∧ 𝑌 ∈ 𝐵 ∧ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩} ∈ V) → (𝑦 ∈ {𝑌}, 𝑧 ∈ {𝑌} ↦ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}) = {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩})
355, 5, 30, 34syl3anc 1401 . . . . 5 (𝜑 → (𝑦 ∈ {𝑌}, 𝑧 ∈ {𝑌} ↦ {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}) = {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩})
3628, 35eqtrd 2801 . . . 4 (𝜑 → (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)})) = {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩})
3715, 36opeq12d 4852 . . 3 (𝜑 → ⟨(𝐵 × {𝑋}), (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)}))⟩ = ⟨{⟨𝑌, 𝑋⟩}, {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩}⟩)
38 diag1f1olem.l . . . 4 𝐿 = (𝐶Δfunc𝐷)
393func1st2nd 50611 . . . . 5 (𝜑 → (1st ‘𝐾)(𝐷 Func 𝐶)(2nd ‘𝐾))
4039funcrcl3 50615 . . . 4 (𝜑 → 𝐶 ∈ Cat)
412termccatd 51035 . . . 4 (𝜑 → 𝐷 ∈ Cat)
42 eqid 2766 . . . 4 ((1st ‘𝐿)‘𝑋) = ((1st ‘𝐿)‘𝑋)
4338, 40, 41, 1, 10, 42, 4, 20, 7diag1a 50848 . . 3 (𝜑 → ((1st ‘𝐿)‘𝑋) = ⟨(𝐵 × {𝑋}), (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ ((𝑦(Hom ‘𝐷)𝑧) × {((Id‘𝐶)‘𝑋)}))⟩)
449simprd 501 . . 3 (𝜑 → 𝐾 = ⟨{⟨𝑌, 𝑋⟩}, {⟨⟨𝑌, 𝑌⟩, {⟨((Id‘𝐷)‘𝑌), ((Id‘𝐶)‘𝑋)⟩}⟩}⟩)
4537, 43, 443eqtr4rd 2812 . 2 (𝜑 → 𝐾 = ((1st ‘𝐿)‘𝑋))
4610, 45jca 521 1 (𝜑 → (𝑋 ∈ 𝐴 ∧ 𝐾 = ((1st ‘𝐿)‘𝑋)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150  Vcvv 3453  {csn 4587  ⟨cop 4839   × cxp 5655  ‘cfv 6566  (class class class)co 7451   ∈ cmpo 7453  1st c1st 8033  2nd c2nd 8034  Basecbs 17434  Hom chom 17486  Idccid 17892   Func cfunc 18082  Δfunccdiag 18439  TermCatctermc 51028
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7783  ax-cnex 11295  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315  ax-pre-mulgt0 11316
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-tp 4592  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-1st 8035  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-1o 8514  df-er 8755  df-map 8887  df-ixp 8964  df-en 9012  df-dom 9013  df-sdom 9014  df-fin 9015  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-sub 11582  df-neg 11583  df-nn 12376  df-2 12445  df-3 12446  df-4 12447  df-5 12448  df-6 12449  df-7 12450  df-8 12451  df-9 12452  df-n0 12647  df-z 12734  df-dec 12855  df-uz 13006  df-fz 13680  df-struct 17372  df-slot 17407  df-ndx 17419  df-base 17435  df-hom 17500  df-cco 17501  df-cat 17895  df-cid 17896  df-func 18086  df-nat 18174  df-fuc 18175  df-xpc 18399  df-1stf 18400  df-curf 18441  df-diag 18443  df-thinc 50974  df-termc 51029
This theorem is used by:  diag1f1o  51090
  Copyright terms: Public domain W3C validator