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

Theorem resfval 17154
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 17123 . . 3 f = (𝑓 ∈ V, ∈ V ↦ ⟨((1st𝑓) ↾ dom dom ), (𝑥 ∈ dom ↦ (((2nd𝑓)‘𝑥) ↾ (𝑥)))⟩)
21a1i 11 . 2 (𝜑 → ↾f = (𝑓 ∈ V, ∈ V ↦ ⟨((1st𝑓) ↾ dom dom ), (𝑥 ∈ dom ↦ (((2nd𝑓)‘𝑥) ↾ (𝑥)))⟩))
3 simprl 769 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → 𝑓 = 𝐹)
43fveq2d 6667 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → (1st𝑓) = (1st𝐹))
5 simprr 771 . . . . . 6 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → = 𝐻)
65dmeqd 5767 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → dom = dom 𝐻)
76dmeqd 5767 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → dom dom = dom dom 𝐻)
84, 7reseq12d 5847 . . 3 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → ((1st𝑓) ↾ dom dom ) = ((1st𝐹) ↾ dom dom 𝐻))
93fveq2d 6667 . . . . . 6 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → (2nd𝑓) = (2nd𝐹))
109fveq1d 6665 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → ((2nd𝑓)‘𝑥) = ((2nd𝐹)‘𝑥))
115fveq1d 6665 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → (𝑥) = (𝐻𝑥))
1210, 11reseq12d 5847 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → (((2nd𝑓)‘𝑥) ↾ (𝑥)) = (((2nd𝐹)‘𝑥) ↾ (𝐻𝑥)))
136, 12mpteq12dv 5142 . . 3 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → (𝑥 ∈ dom ↦ (((2nd𝑓)‘𝑥) ↾ (𝑥))) = (𝑥 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑥) ↾ (𝐻𝑥))))
148, 13opeq12d 4803 . 2 ((𝜑 ∧ (𝑓 = 𝐹 = 𝐻)) → ⟨((1st𝑓) ↾ dom dom ), (𝑥 ∈ dom ↦ (((2nd𝑓)‘𝑥) ↾ (𝑥)))⟩ = ⟨((1st𝐹) ↾ dom dom 𝐻), (𝑥 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑥) ↾ (𝐻𝑥)))⟩)
15 resfval.c . . 3 (𝜑𝐹𝑉)
1615elexd 3513 . 2 (𝜑𝐹 ∈ V)
17 resfval.d . . 3 (𝜑𝐻𝑊)
1817elexd 3513 . 2 (𝜑𝐻 ∈ V)
19 opex 5347 . . 3 ⟨((1st𝐹) ↾ dom dom 𝐻), (𝑥 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑥) ↾ (𝐻𝑥)))⟩ ∈ V
2019a1i 11 . 2 (𝜑 → ⟨((1st𝐹) ↾ dom dom 𝐻), (𝑥 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑥) ↾ (𝐻𝑥)))⟩ ∈ V)
212, 14, 16, 18, 20ovmpod 7294 1 (𝜑 → (𝐹f 𝐻) = ⟨((1st𝐹) ↾ dom dom 𝐻), (𝑥 ∈ dom 𝐻 ↦ (((2nd𝐹)‘𝑥) ↾ (𝐻𝑥)))⟩)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1531  wcel 2108  Vcvv 3493  cop 4565  cmpt 5137  dom cdm 5548  cres 5550  cfv 6348  (class class class)co 7148  cmpo 7150  1st c1st 7679  2nd c2nd 7680  f cresf 17119
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ral 3141  df-rex 3142  df-rab 3145  df-v 3495  df-sbc 3771  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4831  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-res 5560  df-iota 6307  df-fun 6350  df-fv 6356  df-ov 7151  df-oprab 7152  df-mpo 7153  df-resf 17123
This theorem is referenced by:  resfval2  17155  resf1st  17156  resf2nd  17157  funcres  17158
  Copyright terms: Public domain W3C validator