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

Theorem resfval2 16996
 Description: Value of the functor restriction operator. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
resfval.c (𝜑𝐹𝑉)
resfval.d (𝜑𝐻𝑊)
resfval2.g (𝜑𝐺𝑋)
resfval2.d (𝜑𝐻 Fn (𝑆 × 𝑆))
Assertion
Ref Expression
resfval2 (𝜑 → (⟨𝐹, 𝐺⟩ ↾f 𝐻) = ⟨(𝐹𝑆), (𝑥𝑆, 𝑦𝑆 ↦ ((𝑥𝐺𝑦) ↾ (𝑥𝐻𝑦)))⟩)
Distinct variable groups:   𝑥,𝐹   𝑥,𝑦,𝐺   𝑥,𝐻,𝑦   𝜑,𝑥   𝑥,𝑆,𝑦
Allowed substitution hints:   𝜑(𝑦)   𝐹(𝑦)   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)   𝑋(𝑥,𝑦)

Proof of Theorem resfval2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 opex 5255 . . . 4 𝐹, 𝐺⟩ ∈ V
21a1i 11 . . 3 (𝜑 → ⟨𝐹, 𝐺⟩ ∈ V)
3 resfval.d . . 3 (𝜑𝐻𝑊)
42, 3resfval 16995 . 2 (𝜑 → (⟨𝐹, 𝐺⟩ ↾f 𝐻) = ⟨((1st ‘⟨𝐹, 𝐺⟩) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘⟨𝐹, 𝐺⟩)‘𝑧) ↾ (𝐻𝑧)))⟩)
5 resfval.c . . . . 5 (𝜑𝐹𝑉)
6 resfval2.g . . . . 5 (𝜑𝐺𝑋)
7 op1stg 7564 . . . . 5 ((𝐹𝑉𝐺𝑋) → (1st ‘⟨𝐹, 𝐺⟩) = 𝐹)
85, 6, 7syl2anc 584 . . . 4 (𝜑 → (1st ‘⟨𝐹, 𝐺⟩) = 𝐹)
9 resfval2.d . . . . . . 7 (𝜑𝐻 Fn (𝑆 × 𝑆))
10 fndm 6332 . . . . . . 7 (𝐻 Fn (𝑆 × 𝑆) → dom 𝐻 = (𝑆 × 𝑆))
119, 10syl 17 . . . . . 6 (𝜑 → dom 𝐻 = (𝑆 × 𝑆))
1211dmeqd 5667 . . . . 5 (𝜑 → dom dom 𝐻 = dom (𝑆 × 𝑆))
13 dmxpid 5689 . . . . 5 dom (𝑆 × 𝑆) = 𝑆
1412, 13syl6eq 2849 . . . 4 (𝜑 → dom dom 𝐻 = 𝑆)
158, 14reseq12d 5742 . . 3 (𝜑 → ((1st ‘⟨𝐹, 𝐺⟩) ↾ dom dom 𝐻) = (𝐹𝑆))
16 op2ndg 7565 . . . . . . . 8 ((𝐹𝑉𝐺𝑋) → (2nd ‘⟨𝐹, 𝐺⟩) = 𝐺)
175, 6, 16syl2anc 584 . . . . . . 7 (𝜑 → (2nd ‘⟨𝐹, 𝐺⟩) = 𝐺)
1817fveq1d 6547 . . . . . 6 (𝜑 → ((2nd ‘⟨𝐹, 𝐺⟩)‘𝑧) = (𝐺𝑧))
1918reseq1d 5740 . . . . 5 (𝜑 → (((2nd ‘⟨𝐹, 𝐺⟩)‘𝑧) ↾ (𝐻𝑧)) = ((𝐺𝑧) ↾ (𝐻𝑧)))
2011, 19mpteq12dv 5052 . . . 4 (𝜑 → (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘⟨𝐹, 𝐺⟩)‘𝑧) ↾ (𝐻𝑧))) = (𝑧 ∈ (𝑆 × 𝑆) ↦ ((𝐺𝑧) ↾ (𝐻𝑧))))
21 fveq2 6545 . . . . . . 7 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐺𝑧) = (𝐺‘⟨𝑥, 𝑦⟩))
22 df-ov 7026 . . . . . . 7 (𝑥𝐺𝑦) = (𝐺‘⟨𝑥, 𝑦⟩)
2321, 22syl6eqr 2851 . . . . . 6 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐺𝑧) = (𝑥𝐺𝑦))
24 fveq2 6545 . . . . . . 7 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐻𝑧) = (𝐻‘⟨𝑥, 𝑦⟩))
25 df-ov 7026 . . . . . . 7 (𝑥𝐻𝑦) = (𝐻‘⟨𝑥, 𝑦⟩)
2624, 25syl6eqr 2851 . . . . . 6 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝐻𝑧) = (𝑥𝐻𝑦))
2723, 26reseq12d 5742 . . . . 5 (𝑧 = ⟨𝑥, 𝑦⟩ → ((𝐺𝑧) ↾ (𝐻𝑧)) = ((𝑥𝐺𝑦) ↾ (𝑥𝐻𝑦)))
2827mpompt 7129 . . . 4 (𝑧 ∈ (𝑆 × 𝑆) ↦ ((𝐺𝑧) ↾ (𝐻𝑧))) = (𝑥𝑆, 𝑦𝑆 ↦ ((𝑥𝐺𝑦) ↾ (𝑥𝐻𝑦)))
2920, 28syl6eq 2849 . . 3 (𝜑 → (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘⟨𝐹, 𝐺⟩)‘𝑧) ↾ (𝐻𝑧))) = (𝑥𝑆, 𝑦𝑆 ↦ ((𝑥𝐺𝑦) ↾ (𝑥𝐻𝑦))))
3015, 29opeq12d 4724 . 2 (𝜑 → ⟨((1st ‘⟨𝐹, 𝐺⟩) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘⟨𝐹, 𝐺⟩)‘𝑧) ↾ (𝐻𝑧)))⟩ = ⟨(𝐹𝑆), (𝑥𝑆, 𝑦𝑆 ↦ ((𝑥𝐺𝑦) ↾ (𝑥𝐻𝑦)))⟩)
314, 30eqtrd 2833 1 (𝜑 → (⟨𝐹, 𝐺⟩ ↾f 𝐻) = ⟨(𝐹𝑆), (𝑥𝑆, 𝑦𝑆 ↦ ((𝑥𝐺𝑦) ↾ (𝑥𝐻𝑦)))⟩)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   = wceq 1525   ∈ wcel 2083  Vcvv 3440  ⟨cop 4484   ↦ cmpt 5047   × cxp 5448  dom cdm 5450   ↾ cres 5452   Fn wfn 6227  ‘cfv 6232  (class class class)co 7023   ∈ cmpo 7025  1st c1st 7550  2nd c2nd 7551   ↾f cresf 16960 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1781  ax-4 1795  ax-5 1892  ax-6 1951  ax-7 1996  ax-8 2085  ax-9 2093  ax-10 2114  ax-11 2128  ax-12 2143  ax-13 2346  ax-ext 2771  ax-sep 5101  ax-nul 5108  ax-pow 5164  ax-pr 5228  ax-un 7326 This theorem depends on definitions:  df-bi 208  df-an 397  df-or 843  df-3an 1082  df-tru 1528  df-ex 1766  df-nf 1770  df-sb 2045  df-mo 2578  df-eu 2614  df-clab 2778  df-cleq 2790  df-clel 2865  df-nfc 2937  df-ne 2987  df-ral 3112  df-rex 3113  df-rab 3116  df-v 3442  df-sbc 3712  df-csb 3818  df-dif 3868  df-un 3870  df-in 3872  df-ss 3880  df-nul 4218  df-if 4388  df-sn 4479  df-pr 4481  df-op 4485  df-uni 4752  df-iun 4833  df-br 4969  df-opab 5031  df-mpt 5048  df-id 5355  df-xp 5456  df-rel 5457  df-cnv 5458  df-co 5459  df-dm 5460  df-rn 5461  df-res 5462  df-iota 6196  df-fun 6234  df-fn 6235  df-fv 6240  df-ov 7026  df-oprab 7027  df-mpo 7028  df-1st 7552  df-2nd 7553  df-resf 16964 This theorem is referenced by:  funcrngcsetc  43769  funcringcsetc  43806
 Copyright terms: Public domain W3C validator