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

Theorem rescval 17875
Description: Value of the category restriction. (Contributed by Mario Carneiro, 4-Jan-2017.)
Hypothesis
Ref Expression
rescval.1 𝐷 = (𝐶cat 𝐻)
Assertion
Ref Expression
rescval ((𝐶𝑉𝐻𝑊) → 𝐷 = ((𝐶s dom dom 𝐻) sSet ⟨(Hom ‘ndx), 𝐻⟩))

Proof of Theorem rescval
Dummy variables 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 rescval.1 . 2 𝐷 = (𝐶cat 𝐻)
2 elex 3499 . . 3 (𝐶𝑉𝐶 ∈ V)
3 elex 3499 . . 3 (𝐻𝑊𝐻 ∈ V)
4 simpl 482 . . . . . 6 ((𝑐 = 𝐶 = 𝐻) → 𝑐 = 𝐶)
5 simpr 484 . . . . . . . 8 ((𝑐 = 𝐶 = 𝐻) → = 𝐻)
65dmeqd 5919 . . . . . . 7 ((𝑐 = 𝐶 = 𝐻) → dom = dom 𝐻)
76dmeqd 5919 . . . . . 6 ((𝑐 = 𝐶 = 𝐻) → dom dom = dom dom 𝐻)
84, 7oveq12d 7449 . . . . 5 ((𝑐 = 𝐶 = 𝐻) → (𝑐s dom dom ) = (𝐶s dom dom 𝐻))
95opeq2d 4885 . . . . 5 ((𝑐 = 𝐶 = 𝐻) → ⟨(Hom ‘ndx), ⟩ = ⟨(Hom ‘ndx), 𝐻⟩)
108, 9oveq12d 7449 . . . 4 ((𝑐 = 𝐶 = 𝐻) → ((𝑐s dom dom ) sSet ⟨(Hom ‘ndx), ⟩) = ((𝐶s dom dom 𝐻) sSet ⟨(Hom ‘ndx), 𝐻⟩))
11 df-resc 17859 . . . 4 cat = (𝑐 ∈ V, ∈ V ↦ ((𝑐s dom dom ) sSet ⟨(Hom ‘ndx), ⟩))
12 ovex 7464 . . . 4 ((𝐶s dom dom 𝐻) sSet ⟨(Hom ‘ndx), 𝐻⟩) ∈ V
1310, 11, 12ovmpoa 7588 . . 3 ((𝐶 ∈ V ∧ 𝐻 ∈ V) → (𝐶cat 𝐻) = ((𝐶s dom dom 𝐻) sSet ⟨(Hom ‘ndx), 𝐻⟩))
142, 3, 13syl2an 596 . 2 ((𝐶𝑉𝐻𝑊) → (𝐶cat 𝐻) = ((𝐶s dom dom 𝐻) sSet ⟨(Hom ‘ndx), 𝐻⟩))
151, 14eqtrid 2787 1 ((𝐶𝑉𝐻𝑊) → 𝐷 = ((𝐶s dom dom 𝐻) sSet ⟨(Hom ‘ndx), 𝐻⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1537  wcel 2106  Vcvv 3478  cop 4637  dom cdm 5689  cfv 6563  (class class class)co 7431   sSet csts 17197  ndxcnx 17227  s cress 17274  Hom chom 17309  cat cresc 17856
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1908  ax-6 1965  ax-7 2005  ax-8 2108  ax-9 2116  ax-10 2139  ax-11 2155  ax-12 2175  ax-ext 2706  ax-sep 5302  ax-nul 5312  ax-pr 5438
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1540  df-fal 1550  df-ex 1777  df-nf 1781  df-sb 2063  df-mo 2538  df-eu 2567  df-clab 2713  df-cleq 2727  df-clel 2814  df-nfc 2890  df-ne 2939  df-ral 3060  df-rex 3069  df-rab 3434  df-v 3480  df-sbc 3792  df-dif 3966  df-un 3968  df-ss 3980  df-nul 4340  df-if 4532  df-sn 4632  df-pr 4634  df-op 4638  df-uni 4913  df-br 5149  df-opab 5211  df-id 5583  df-xp 5695  df-rel 5696  df-cnv 5697  df-co 5698  df-dm 5699  df-iota 6516  df-fun 6565  df-fv 6571  df-ov 7434  df-oprab 7435  df-mpo 7436  df-resc 17859
This theorem is referenced by:  rescval2  17876
  Copyright terms: Public domain W3C validator