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

Theorem resfval 18073
Description: Value of the functor restriction operator. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
resfval.c (𝜑 → 𝐹 ∈ 𝑉)
resfval.d (𝜑 → 𝐻 ∈ 𝑊)
Assertion
Ref Expression
resfval (𝜑 → (𝐹 ↾f 𝐻) = ⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑥 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑥) ↾ (𝐻‘𝑥)))⟩)
Distinct variable groups:   𝑥,𝐹   𝑥,𝐻   𝜑,𝑥
Allowed substitution hints:   𝑉(𝑥)   𝑊(𝑥)

Proof of Theorem resfval
Dummy variables 𝑓 ℎ are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-resf 18042 . . 3 ↾f = (𝑓 ∈ V, ℎ ∈ V ↦ ⟨((1st ‘𝑓) ↾ dom dom ℎ), (𝑥 ∈ dom ℎ ↦ (((2nd ‘𝑓)‘𝑥) ↾ (ℎ‘𝑥)))⟩)
21a1i 11 . 2 (𝜑 → ↾f = (𝑓 ∈ V, ℎ ∈ V ↦ ⟨((1st ‘𝑓) ↾ dom dom ℎ), (𝑥 ∈ dom ℎ ↦ (((2nd ‘𝑓)‘𝑥) ↾ (ℎ‘𝑥)))⟩))
3 simprl 783 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → 𝑓 = 𝐹)
43fveq2d 6890 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → (1st ‘𝑓) = (1st ‘𝐹))
5 simprr 785 . . . . . 6 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → ℎ = 𝐻)
65dmeqd 5886 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → dom ℎ = dom 𝐻)
76dmeqd 5886 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → dom dom ℎ = dom dom 𝐻)
84, 7reseq12d 5970 . . 3 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → ((1st ‘𝑓) ↾ dom dom ℎ) = ((1st ‘𝐹) ↾ dom dom 𝐻))
93fveq2d 6890 . . . . . 6 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → (2nd ‘𝑓) = (2nd ‘𝐹))
109fveq1d 6888 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → ((2nd ‘𝑓)‘𝑥) = ((2nd ‘𝐹)‘𝑥))
115fveq1d 6888 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → (ℎ‘𝑥) = (𝐻‘𝑥))
1210, 11reseq12d 5970 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → (((2nd ‘𝑓)‘𝑥) ↾ (ℎ‘𝑥)) = (((2nd ‘𝐹)‘𝑥) ↾ (𝐻‘𝑥)))
136, 12mpteq12dv 5191 . . 3 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → (𝑥 ∈ dom ℎ ↦ (((2nd ‘𝑓)‘𝑥) ↾ (ℎ‘𝑥))) = (𝑥 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑥) ↾ (𝐻‘𝑥))))
148, 13opeq12d 4847 . 2 ((𝜑 ∧ (𝑓 = 𝐹 ∧ ℎ = 𝐻)) → ⟨((1st ‘𝑓) ↾ dom dom ℎ), (𝑥 ∈ dom ℎ ↦ (((2nd ‘𝑓)‘𝑥) ↾ (ℎ‘𝑥)))⟩ = ⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑥 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑥) ↾ (𝐻‘𝑥)))⟩)
15 resfval.c . . 3 (𝜑 → 𝐹 ∈ 𝑉)
1615elexd 3473 . 2 (𝜑 → 𝐹 ∈ V)
17 resfval.d . . 3 (𝜑 → 𝐻 ∈ 𝑊)
1817elexd 3473 . 2 (𝜑 → 𝐻 ∈ V)
19 opex 5431 . . 3 ⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑥 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑥) ↾ (𝐻‘𝑥)))⟩ ∈ V
2019a1i 11 . 2 (𝜑 → ⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑥 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑥) ↾ (𝐻‘𝑥)))⟩ ∈ V)
212, 14, 16, 18, 20ovmpod 7573 1 (𝜑 → (𝐹 ↾f 𝐻) = ⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑥 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑥) ↾ (𝐻‘𝑥)))⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ⟨cop 4834   ↦ cmpt 5185  dom cdm 5650   ↾ cres 5652  ‘cfv 6539  (class class class)co 7421   ∈ cmpo 7423  1st c1st 8000  2nd c2nd 8001   ↾f cresf 18038
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-res 5662  df-iota 6494  df-fun 6541  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-resf 18042
This theorem is used by:  resfval2  18074  resf1st  18075  resf2nd  18076  funcres  18077
  Copyright terms: Public domain W3C validator