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

Theorem 2ndfval 18397
Description: Value of the first projection functor. (Contributed by Mario Carneiro, 11-Jan-2017.)
Hypotheses
Ref Expression
1stfval.t 𝑇 = (𝐶 ×c 𝐷)
1stfval.b 𝐵 = (Base‘𝑇)
1stfval.h 𝐻 = (Hom ‘𝑇)
1stfval.c (𝜑 → 𝐶 ∈ Cat)
1stfval.d (𝜑 → 𝐷 ∈ Cat)
2ndfval.p 𝑄 = (𝐶 2ndF 𝐷)
Assertion
Ref Expression
2ndfval (𝜑 → 𝑄 = ⟨(2nd ↾ 𝐵), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (2nd ↾ (𝑥𝐻𝑦)))⟩)
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝐶,𝑦   𝑥,𝐷,𝑦   𝑥,𝐻,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝑄(𝑥, 𝑦)   𝑇(𝑥, 𝑦)

Proof of Theorem 2ndfval
Dummy variables 𝑏 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 2ndfval.p . 2 𝑄 = (𝐶 2ndF 𝐷)
2 1stfval.c . . 3 (𝜑 → 𝐶 ∈ Cat)
3 1stfval.d . . 3 (𝜑 → 𝐷 ∈ Cat)
4 fvex 6921 . . . . . . 7 (Base‘𝑐) ∈ V
5 fvex 6921 . . . . . . 7 (Base‘𝑑) ∈ V
64, 5xpex 7791 . . . . . 6 ((Base‘𝑐) × (Base‘𝑑)) ∈ V
76a1i 11 . . . . 5 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → ((Base‘𝑐) × (Base‘𝑑)) ∈ V)
8 simpl 488 . . . . . . . 8 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → 𝑐 = 𝐶)
98fveq2d 6912 . . . . . . 7 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → (Base‘𝑐) = (Base‘𝐶))
10 simpr 490 . . . . . . . 8 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → 𝑑 = 𝐷)
1110fveq2d 6912 . . . . . . 7 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → (Base‘𝑑) = (Base‘𝐷))
129, 11xpeq12d 5686 . . . . . 6 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → ((Base‘𝑐) × (Base‘𝑑)) = ((Base‘𝐶) × (Base‘𝐷)))
13 1stfval.t . . . . . . . 8 𝑇 = (𝐶 ×c 𝐷)
14 eqid 2763 . . . . . . . 8 (Base‘𝐶) = (Base‘𝐶)
15 eqid 2763 . . . . . . . 8 (Base‘𝐷) = (Base‘𝐷)
1613, 14, 15xpcbas 18381 . . . . . . 7 ((Base‘𝐶) × (Base‘𝐷)) = (Base‘𝑇)
17 1stfval.b . . . . . . 7 𝐵 = (Base‘𝑇)
1816, 17eqtr4i 2789 . . . . . 6 ((Base‘𝐶) × (Base‘𝐷)) = 𝐵
1912, 18eqtrdi 2814 . . . . 5 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → ((Base‘𝑐) × (Base‘𝑑)) = 𝐵)
20 simpr 490 . . . . . . 7 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → 𝑏 = 𝐵)
2120reseq2d 5981 . . . . . 6 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → (2nd ↾ 𝑏) = (2nd ↾ 𝐵))
22 simpll 779 . . . . . . . . . . . . 13 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → 𝑐 = 𝐶)
23 simplr 781 . . . . . . . . . . . . 13 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → 𝑑 = 𝐷)
2422, 23oveq12d 7461 . . . . . . . . . . . 12 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → (𝑐 ×c 𝑑) = (𝐶 ×c 𝐷))
2524, 13eqtr4di 2816 . . . . . . . . . . 11 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → (𝑐 ×c 𝑑) = 𝑇)
2625fveq2d 6912 . . . . . . . . . 10 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → (Hom ‘(𝑐 ×c 𝑑)) = (Hom ‘𝑇))
27 1stfval.h . . . . . . . . . 10 𝐻 = (Hom ‘𝑇)
2826, 27eqtr4di 2816 . . . . . . . . 9 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → (Hom ‘(𝑐 ×c 𝑑)) = 𝐻)
2928oveqd 7460 . . . . . . . 8 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → (𝑥(Hom ‘(𝑐 ×c 𝑑))𝑦) = (𝑥𝐻𝑦))
3029reseq2d 5981 . . . . . . 7 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → (2nd ↾ (𝑥(Hom ‘(𝑐 ×c 𝑑))𝑦)) = (2nd ↾ (𝑥𝐻𝑦)))
3120, 20, 30mpoeq123dv 7518 . . . . . 6 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → (𝑥 ∈ 𝑏, 𝑦 ∈ 𝑏 ↦ (2nd ↾ (𝑥(Hom ‘(𝑐 ×c 𝑑))𝑦))) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (2nd ↾ (𝑥𝐻𝑦))))
3221, 31opeq12d 4851 . . . . 5 (((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) ∧ 𝑏 = 𝐵) → ⟨(2nd ↾ 𝑏), (𝑥 ∈ 𝑏, 𝑦 ∈ 𝑏 ↦ (2nd ↾ (𝑥(Hom ‘(𝑐 ×c 𝑑))𝑦)))⟩ = ⟨(2nd ↾ 𝐵), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (2nd ↾ (𝑥𝐻𝑦)))⟩)
337, 19, 32csbied2 3888 . . . 4 ((𝑐 = 𝐶 ∧ 𝑑 = 𝐷) → ⦋((Base‘𝑐) × (Base‘𝑑)) / 𝑏⦌⟨(2nd ↾ 𝑏), (𝑥 ∈ 𝑏, 𝑦 ∈ 𝑏 ↦ (2nd ↾ (𝑥(Hom ‘(𝑐 ×c 𝑑))𝑦)))⟩ = ⟨(2nd ↾ 𝐵), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (2nd ↾ (𝑥𝐻𝑦)))⟩)
34 df-2ndf 18377 . . . 4 2ndF = (𝑐 ∈ Cat, 𝑑 ∈ Cat ↦ ⦋((Base‘𝑐) × (Base‘𝑑)) / 𝑏⦌⟨(2nd ↾ 𝑏), (𝑥 ∈ 𝑏, 𝑦 ∈ 𝑏 ↦ (2nd ↾ (𝑥(Hom ‘(𝑐 ×c 𝑑))𝑦)))⟩)
35 opex 5436 . . . 4 ⟨(2nd ↾ 𝐵), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (2nd ↾ (𝑥𝐻𝑦)))⟩ ∈ V
3633, 34, 35ovmpoa 7599 . . 3 ((𝐶 ∈ Cat ∧ 𝐷 ∈ Cat) → (𝐶 2ndF 𝐷) = ⟨(2nd ↾ 𝐵), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (2nd ↾ (𝑥𝐻𝑦)))⟩)
372, 3, 36syl2anc 596 . 2 (𝜑 → (𝐶 2ndF 𝐷) = ⟨(2nd ↾ 𝐵), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (2nd ↾ (𝑥𝐻𝑦)))⟩)
381, 37eqtrid 2810 1 (𝜑 → 𝑄 = ⟨(2nd ↾ 𝐵), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (2nd ↾ (𝑥𝐻𝑦)))⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ⦋csb 3851  ⟨cop 4838   × cxp 5653   ↾ cres 5657  ‘cfv 6558  (class class class)co 7443   ∈ cmpo 7445  2nd c2nd 8024  Basecbs 17416  Hom chom 17468  Catccat 17867   ×c cxpc 18371   2ndF c2ndf 18373
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775  ax-cnex 11283  ax-resscn 11284  ax-1cn 11285  ax-icn 11286  ax-addcl 11287  ax-addrcl 11288  ax-mulcl 11289  ax-mulrcl 11290  ax-mulcom 11291  ax-addass 11292  ax-mulass 11293  ax-distr 11294  ax-i2m1 11295  ax-1ne0 11296  ax-1rid 11297  ax-rnegex 11298  ax-rrecex 11299  ax-cnre 11300  ax-pre-lttri 11301  ax-pre-lttrn 11302  ax-pre-ltadd 11303  ax-pre-mulgt0 11304
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-tp 4593  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6322  df-ord 6383  df-on 6384  df-lim 6385  df-suc 6386  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-riota 7400  df-ov 7446  df-oprab 7447  df-mpo 7448  df-om 7902  df-1st 8025  df-2nd 8026  df-frecs 8327  df-wrecs 8358  df-recs 8407  df-rdg 8446  df-er 8745  df-en 9002  df-dom 9003  df-sdom 9004  df-pnf 11372  df-mnf 11373  df-xr 11374  df-ltxr 11375  df-le 11376  df-sub 11570  df-neg 11571  df-nn 12363  df-2 12432  df-3 12433  df-4 12434  df-5 12435  df-6 12436  df-7 12437  df-8 12438  df-9 12439  df-n0 12634  df-z 12721  df-dec 12842  df-slot 17389  df-ndx 17401  df-base 17417  df-hom 17481  df-cco 17482  df-xpc 18375  df-2ndf 18377
This theorem is used by:  2ndf1  18398  2ndf2  18399  2ndfcl  18401  oppc2ndf  50616  2ndfpropd  50618
  Copyright terms: Public domain W3C validator