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

Theorem rescval 18072
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 3477 . . 3 (𝐶 ∈ 𝑉 → 𝐶 ∈ V)
3 elex 3477 . . 3 (𝐻 ∈ 𝑊 → 𝐻 ∈ V)
4 simpl 488 . . . . . 6 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → 𝑐 = 𝐶)
5 simpr 490 . . . . . . . 8 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → ℎ = 𝐻)
65dmeqd 5902 . . . . . . 7 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → dom ℎ = dom 𝐻)
76dmeqd 5902 . . . . . 6 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → dom dom ℎ = dom dom 𝐻)
84, 7oveq12d 7480 . . . . 5 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → (𝑐 ↾s dom dom ℎ) = (𝐶 ↾s dom dom 𝐻))
95opeq2d 4855 . . . . 5 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → ⟨(Hom ‘ndx), ℎ⟩ = ⟨(Hom ‘ndx), 𝐻⟩)
108, 9oveq12d 7480 . . . 4 ((𝑐 = 𝐶 ∧ ℎ = 𝐻) → ((𝑐 ↾s dom dom ℎ) sSet ⟨(Hom ‘ndx), ℎ⟩) = ((𝐶 ↾s dom dom 𝐻) sSet ⟨(Hom ‘ndx), 𝐻⟩))
11 df-resc 18056 . . . 4 ↾cat = (𝑐 ∈ V, ℎ ∈ V ↦ ((𝑐 ↾s dom dom ℎ) sSet ⟨(Hom ‘ndx), ℎ⟩))
12 ovex 7495 . . . 4 ((𝐶 ↾s dom dom 𝐻) sSet ⟨(Hom ‘ndx), 𝐻⟩) ∈ V
1310, 11, 12ovmpoa 7618 . . 3 ((𝐶 ∈ V ∧ 𝐻 ∈ V) → (𝐶 ↾cat 𝐻) = ((𝐶 ↾s dom dom 𝐻) sSet ⟨(Hom ‘ndx), 𝐻⟩))
142, 3, 13syl2an 608 . 2 ((𝐶 ∈ 𝑉 ∧ 𝐻 ∈ 𝑊) → (𝐶 ↾cat 𝐻) = ((𝐶 ↾s dom dom 𝐻) sSet ⟨(Hom ‘ndx), 𝐻⟩))
151, 14eqtrid 2816 1 ((𝐶 ∈ 𝑉 ∧ 𝐻 ∈ 𝑊) → 𝐷 = ((𝐶 ↾s dom dom 𝐻) sSet ⟨(Hom ‘ndx), 𝐻⟩))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  Vcvv 3456  ⟨cop 4843  dom cdm 5661  ‘cfv 6573  (class class class)co 7462   sSet csts 17401  ndxcnx 17431   ↾s cress 17468  Hom chom 17499   ↾cat cresc 18053
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 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-iota 6527  df-fun 6575  df-fv 6581  df-ov 7465  df-oprab 7466  df-mpo 7467  df-resc 18056
This theorem is used by:  rescval2  18073
  Copyright terms: Public domain W3C validator