MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  xpchomfval Structured version   Visualization version   GIF version

Theorem xpchomfval 17658
Description: Set of morphisms of the binary product of categories. (Contributed by Mario Carneiro, 11-Jan-2017.) (Proof shortened by AV, 1-Mar-2024.)
Hypotheses
Ref Expression
xpchomfval.t 𝑇 = (𝐶 ×c 𝐷)
xpchomfval.y 𝐵 = (Base‘𝑇)
xpchomfval.h 𝐻 = (Hom ‘𝐶)
xpchomfval.j 𝐽 = (Hom ‘𝐷)
xpchomfval.k 𝐾 = (Hom ‘𝑇)
Assertion
Ref Expression
xpchomfval 𝐾 = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))
Distinct variable groups:   𝑣,𝑢,𝐵   𝑢,𝐶,𝑣   𝑢,𝐷,𝑣   𝑢,𝐻,𝑣   𝑢,𝐽,𝑣
Allowed substitution hints:   𝑇(𝑣,𝑢)   𝐾(𝑣,𝑢)

Proof of Theorem xpchomfval
Dummy variables 𝑓 𝑔 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xpchomfval.t . . . 4 𝑇 = (𝐶 ×c 𝐷)
2 eqid 2734 . . . 4 (Base‘𝐶) = (Base‘𝐶)
3 eqid 2734 . . . 4 (Base‘𝐷) = (Base‘𝐷)
4 xpchomfval.h . . . 4 𝐻 = (Hom ‘𝐶)
5 xpchomfval.j . . . 4 𝐽 = (Hom ‘𝐷)
6 eqid 2734 . . . 4 (comp‘𝐶) = (comp‘𝐶)
7 eqid 2734 . . . 4 (comp‘𝐷) = (comp‘𝐷)
8 simpl 486 . . . 4 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝐶 ∈ V)
9 simpr 488 . . . 4 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝐷 ∈ V)
10 xpchomfval.y . . . . . 6 𝐵 = (Base‘𝑇)
111, 2, 3xpcbas 17657 . . . . . 6 ((Base‘𝐶) × (Base‘𝐷)) = (Base‘𝑇)
1210, 11eqtr4i 2765 . . . . 5 𝐵 = ((Base‘𝐶) × (Base‘𝐷))
1312a1i 11 . . . 4 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝐵 = ((Base‘𝐶) × (Base‘𝐷)))
14 eqidd 2735 . . . 4 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))) = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))))
15 eqidd 2735 . . . 4 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)(𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))𝑦), 𝑓 ∈ ((𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))‘𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝐶)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝐷)(2nd𝑦))(2nd𝑓))⟩)) = (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)(𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))𝑦), 𝑓 ∈ ((𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))‘𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝐶)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝐷)(2nd𝑦))(2nd𝑓))⟩)))
161, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15xpcval 17656 . . 3 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝑇 = {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))⟩, ⟨(comp‘ndx), (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)(𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))𝑦), 𝑓 ∈ ((𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))‘𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝐶)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝐷)(2nd𝑦))(2nd𝑓))⟩))⟩})
17 catstr 17437 . . 3 {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))⟩, ⟨(comp‘ndx), (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)(𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))𝑦), 𝑓 ∈ ((𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))‘𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝐶)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝐷)(2nd𝑦))(2nd𝑓))⟩))⟩} Struct ⟨1, 15⟩
18 homid 16891 . . 3 Hom = Slot (Hom ‘ndx)
19 snsstp2 4720 . . 3 {⟨(Hom ‘ndx), (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))⟩} ⊆ {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))⟩, ⟨(comp‘ndx), (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)(𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))𝑦), 𝑓 ∈ ((𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))‘𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝐶)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝐷)(2nd𝑦))(2nd𝑓))⟩))⟩}
2010fvexi 6720 . . . . 5 𝐵 ∈ V
2120, 20mpoex 7839 . . . 4 (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))) ∈ V
2221a1i 11 . . 3 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))) ∈ V)
23 xpchomfval.k . . 3 𝐾 = (Hom ‘𝑇)
2416, 17, 18, 19, 22, 23strfv3 16732 . 2 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝐾 = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))))
25 fnxpc 17655 . . . . . . . 8 ×c Fn (V × V)
26 fndm 6470 . . . . . . . 8 ( ×c Fn (V × V) → dom ×c = (V × V))
2725, 26ax-mp 5 . . . . . . 7 dom ×c = (V × V)
2827ndmov 7381 . . . . . 6 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝐶 ×c 𝐷) = ∅)
291, 28syl5eq 2786 . . . . 5 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝑇 = ∅)
3029fveq2d 6710 . . . 4 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (Hom ‘𝑇) = (Hom ‘∅))
3118str0 16735 . . . 4 ∅ = (Hom ‘∅)
3230, 23, 313eqtr4g 2799 . . 3 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝐾 = ∅)
3329fveq2d 6710 . . . . . 6 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (Base‘𝑇) = (Base‘∅))
34 base0 16744 . . . . . 6 ∅ = (Base‘∅)
3533, 10, 343eqtr4g 2799 . . . . 5 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝐵 = ∅)
3635olcd 874 . . . 4 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝐵 = ∅ ∨ 𝐵 = ∅))
37 0mpo0 7283 . . . 4 ((𝐵 = ∅ ∨ 𝐵 = ∅) → (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))) = ∅)
3836, 37syl 17 . . 3 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))) = ∅)
3932, 38eqtr4d 2777 . 2 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝐾 = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))))
4024, 39pm2.61i 185 1 𝐾 = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 399  wo 847   = wceq 1543  wcel 2110  Vcvv 3401  c0 4227  {ctp 4535  cop 4537   × cxp 5538  dom cdm 5540   Fn wfn 6364  cfv 6369  (class class class)co 7202  cmpo 7204  1st c1st 7748  2nd c2nd 7749  1c1 10713  5c5 11871  cdc 12276  ndxcnx 16681  Basecbs 16684  Hom chom 16778  compcco 16779   ×c cxpc 17647
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 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2706  ax-rep 5168  ax-sep 5181  ax-nul 5188  ax-pow 5247  ax-pr 5311  ax-un 7512  ax-cnex 10768  ax-resscn 10769  ax-1cn 10770  ax-icn 10771  ax-addcl 10772  ax-addrcl 10773  ax-mulcl 10774  ax-mulrcl 10775  ax-mulcom 10776  ax-addass 10777  ax-mulass 10778  ax-distr 10779  ax-i2m1 10780  ax-1ne0 10781  ax-1rid 10782  ax-rnegex 10783  ax-rrecex 10784  ax-cnre 10785  ax-pre-lttri 10786  ax-pre-lttrn 10787  ax-pre-ltadd 10788  ax-pre-mulgt0 10789
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2537  df-eu 2566  df-clab 2713  df-cleq 2726  df-clel 2812  df-nfc 2882  df-ne 2936  df-nel 3040  df-ral 3059  df-rex 3060  df-reu 3061  df-rab 3063  df-v 3403  df-sbc 3688  df-csb 3803  df-dif 3860  df-un 3862  df-in 3864  df-ss 3874  df-pss 3876  df-nul 4228  df-if 4430  df-pw 4505  df-sn 4532  df-pr 4534  df-tp 4536  df-op 4538  df-uni 4810  df-iun 4896  df-br 5044  df-opab 5106  df-mpt 5125  df-tr 5151  df-id 5444  df-eprel 5449  df-po 5457  df-so 5458  df-fr 5498  df-we 5500  df-xp 5546  df-rel 5547  df-cnv 5548  df-co 5549  df-dm 5550  df-rn 5551  df-res 5552  df-ima 5553  df-pred 6149  df-ord 6205  df-on 6206  df-lim 6207  df-suc 6208  df-iota 6327  df-fun 6371  df-fn 6372  df-f 6373  df-f1 6374  df-fo 6375  df-f1o 6376  df-fv 6377  df-riota 7159  df-ov 7205  df-oprab 7206  df-mpo 7207  df-om 7634  df-1st 7750  df-2nd 7751  df-wrecs 8036  df-recs 8097  df-rdg 8135  df-1o 8191  df-er 8380  df-en 8616  df-dom 8617  df-sdom 8618  df-fin 8619  df-pnf 10852  df-mnf 10853  df-xr 10854  df-ltxr 10855  df-le 10856  df-sub 11047  df-neg 11048  df-nn 11814  df-2 11876  df-3 11877  df-4 11878  df-5 11879  df-6 11880  df-7 11881  df-8 11882  df-9 11883  df-n0 12074  df-z 12160  df-dec 12277  df-uz 12422  df-fz 13079  df-struct 16686  df-ndx 16687  df-slot 16688  df-base 16690  df-hom 16791  df-cco 16792  df-xpc 17651
This theorem is referenced by:  xpchom  17659  relxpchom  17660  xpccofval  17661  catcxpccl  17686  catcxpcclOLD  17687  xpcpropd  17688
  Copyright terms: Public domain W3C validator