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

Theorem xpcbas 17418
Description: Set of objects of the binary product of categories. (Contributed by Mario Carneiro, 10-Jan-2017.)
Hypotheses
Ref Expression
xpcbas.t 𝑇 = (𝐶 ×c 𝐷)
xpcbas.x 𝑋 = (Base‘𝐶)
xpcbas.y 𝑌 = (Base‘𝐷)
Assertion
Ref Expression
xpcbas (𝑋 × 𝑌) = (Base‘𝑇)

Proof of Theorem xpcbas
Dummy variables 𝑓 𝑔 𝑢 𝑣 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xpcbas.t . . . 4 𝑇 = (𝐶 ×c 𝐷)
2 xpcbas.x . . . 4 𝑋 = (Base‘𝐶)
3 xpcbas.y . . . 4 𝑌 = (Base‘𝐷)
4 eqid 2821 . . . 4 (Hom ‘𝐶) = (Hom ‘𝐶)
5 eqid 2821 . . . 4 (Hom ‘𝐷) = (Hom ‘𝐷)
6 eqid 2821 . . . 4 (comp‘𝐶) = (comp‘𝐶)
7 eqid 2821 . . . 4 (comp‘𝐷) = (comp‘𝐷)
8 simpl 483 . . . 4 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝐶 ∈ V)
9 simpr 485 . . . 4 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝐷 ∈ V)
10 eqidd 2822 . . . 4 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑋 × 𝑌) = (𝑋 × 𝑌))
11 eqidd 2822 . . . 4 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑢 ∈ (𝑋 × 𝑌), 𝑣 ∈ (𝑋 × 𝑌) ↦ (((1st𝑢)(Hom ‘𝐶)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝐷)(2nd𝑣)))) = (𝑢 ∈ (𝑋 × 𝑌), 𝑣 ∈ (𝑋 × 𝑌) ↦ (((1st𝑢)(Hom ‘𝐶)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝐷)(2nd𝑣)))))
12 eqidd 2822 . . . 4 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑥 ∈ ((𝑋 × 𝑌) × (𝑋 × 𝑌)), 𝑦 ∈ (𝑋 × 𝑌) ↦ (𝑔 ∈ ((2nd𝑥)(𝑢 ∈ (𝑋 × 𝑌), 𝑣 ∈ (𝑋 × 𝑌) ↦ (((1st𝑢)(Hom ‘𝐶)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝐷)(2nd𝑣))))𝑦), 𝑓 ∈ ((𝑢 ∈ (𝑋 × 𝑌), 𝑣 ∈ (𝑋 × 𝑌) ↦ (((1st𝑢)(Hom ‘𝐶)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝐷)(2nd𝑣))))‘𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝐶)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝐷)(2nd𝑦))(2nd𝑓))⟩)) = (𝑥 ∈ ((𝑋 × 𝑌) × (𝑋 × 𝑌)), 𝑦 ∈ (𝑋 × 𝑌) ↦ (𝑔 ∈ ((2nd𝑥)(𝑢 ∈ (𝑋 × 𝑌), 𝑣 ∈ (𝑋 × 𝑌) ↦ (((1st𝑢)(Hom ‘𝐶)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝐷)(2nd𝑣))))𝑦), 𝑓 ∈ ((𝑢 ∈ (𝑋 × 𝑌), 𝑣 ∈ (𝑋 × 𝑌) ↦ (((1st𝑢)(Hom ‘𝐶)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝐷)(2nd𝑣))))‘𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝐶)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝐷)(2nd𝑦))(2nd𝑓))⟩)))
131, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12xpcval 17417 . . 3 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝑇 = {⟨(Base‘ndx), (𝑋 × 𝑌)⟩, ⟨(Hom ‘ndx), (𝑢 ∈ (𝑋 × 𝑌), 𝑣 ∈ (𝑋 × 𝑌) ↦ (((1st𝑢)(Hom ‘𝐶)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝐷)(2nd𝑣))))⟩, ⟨(comp‘ndx), (𝑥 ∈ ((𝑋 × 𝑌) × (𝑋 × 𝑌)), 𝑦 ∈ (𝑋 × 𝑌) ↦ (𝑔 ∈ ((2nd𝑥)(𝑢 ∈ (𝑋 × 𝑌), 𝑣 ∈ (𝑋 × 𝑌) ↦ (((1st𝑢)(Hom ‘𝐶)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝐷)(2nd𝑣))))𝑦), 𝑓 ∈ ((𝑢 ∈ (𝑋 × 𝑌), 𝑣 ∈ (𝑋 × 𝑌) ↦ (((1st𝑢)(Hom ‘𝐶)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝐷)(2nd𝑣))))‘𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝐶)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝐷)(2nd𝑦))(2nd𝑓))⟩))⟩})
142fvexi 6678 . . . . 5 𝑋 ∈ V
153fvexi 6678 . . . . 5 𝑌 ∈ V
1614, 15xpex 7464 . . . 4 (𝑋 × 𝑌) ∈ V
1716a1i 11 . . 3 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑋 × 𝑌) ∈ V)
1813, 17estrreslem1 17377 . 2 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑋 × 𝑌) = (Base‘𝑇))
19 base0 16526 . . 3 ∅ = (Base‘∅)
20 fvprc 6657 . . . . . 6 𝐶 ∈ V → (Base‘𝐶) = ∅)
212, 20syl5eq 2868 . . . . 5 𝐶 ∈ V → 𝑋 = ∅)
22 fvprc 6657 . . . . . 6 𝐷 ∈ V → (Base‘𝐷) = ∅)
233, 22syl5eq 2868 . . . . 5 𝐷 ∈ V → 𝑌 = ∅)
2421, 23orim12i 902 . . . 4 ((¬ 𝐶 ∈ V ∨ ¬ 𝐷 ∈ V) → (𝑋 = ∅ ∨ 𝑌 = ∅))
25 ianor 975 . . . 4 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐷 ∈ V))
26 xpeq0 6011 . . . 4 ((𝑋 × 𝑌) = ∅ ↔ (𝑋 = ∅ ∨ 𝑌 = ∅))
2724, 25, 263imtr4i 293 . . 3 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑋 × 𝑌) = ∅)
28 fnxpc 17416 . . . . . . 7 ×c Fn (V × V)
29 fndm 6449 . . . . . . 7 ( ×c Fn (V × V) → dom ×c = (V × V))
3028, 29ax-mp 5 . . . . . 6 dom ×c = (V × V)
3130ndmov 7321 . . . . 5 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝐶 ×c 𝐷) = ∅)
321, 31syl5eq 2868 . . . 4 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → 𝑇 = ∅)
3332fveq2d 6668 . . 3 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (Base‘𝑇) = (Base‘∅))
3419, 27, 333eqtr4a 2882 . 2 (¬ (𝐶 ∈ V ∧ 𝐷 ∈ V) → (𝑋 × 𝑌) = (Base‘𝑇))
3518, 34pm2.61i 183 1 (𝑋 × 𝑌) = (Base‘𝑇)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 396  wo 841   = wceq 1528  wcel 2105  Vcvv 3495  c0 4290  cop 4565   × cxp 5547  dom cdm 5549   Fn wfn 6344  cfv 6349  (class class class)co 7145  cmpo 7147  1st c1st 7678  2nd c2nd 7679  Basecbs 16473  Hom chom 16566  compcco 16567   ×c cxpc 17408
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7450  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3or 1080  df-3an 1081  df-tru 1531  df-fal 1541  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3497  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-pss 3953  df-nul 4291  df-if 4466  df-pw 4539  df-sn 4560  df-pr 4562  df-tp 4564  df-op 4566  df-uni 4833  df-iun 4914  df-br 5059  df-opab 5121  df-mpt 5139  df-tr 5165  df-id 5454  df-eprel 5459  df-po 5468  df-so 5469  df-fr 5508  df-we 5510  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-pred 6142  df-ord 6188  df-on 6189  df-lim 6190  df-suc 6191  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-riota 7103  df-ov 7148  df-oprab 7149  df-mpo 7150  df-om 7569  df-1st 7680  df-2nd 7681  df-wrecs 7938  df-recs 7999  df-rdg 8037  df-er 8279  df-en 8499  df-dom 8500  df-sdom 8501  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-nn 11628  df-2 11689  df-3 11690  df-4 11691  df-5 11692  df-6 11693  df-7 11694  df-8 11695  df-9 11696  df-n0 11887  df-z 11971  df-dec 12088  df-ndx 16476  df-slot 16477  df-base 16479  df-hom 16579  df-cco 16580  df-xpc 17412
This theorem is referenced by:  xpchomfval  17419  xpccofval  17422  xpchom2  17426  xpcco2  17427  xpccatid  17428  1stfval  17431  2ndfval  17434  1stfcl  17437  2ndfcl  17438  prfcl  17443  prf1st  17444  prf2nd  17445  1st2ndprf  17446  catcxpccl  17447  xpcpropd  17448  evlfcl  17462  curf1cl  17468  curf2cl  17471  curfcl  17472  uncf1  17476  uncf2  17477  uncfcurf  17479  diag11  17483  diag12  17484  diag2  17485  curf2ndf  17487  hofcl  17499  yonedalem21  17513  yonedalem22  17518  yonedalem3b  17519  yonedalem3  17520  yonedainv  17521  yonffthlem  17522
  Copyright terms: Public domain W3C validator