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

Theorem resf2nd 18050
Description: Value of the functor restriction operator on morphisms. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
resf1st.f (𝜑 → 𝐹 ∈ 𝑉)
resf1st.h (𝜑 → 𝐻 ∈ 𝑊)
resf1st.s (𝜑 → 𝐻 Fn (𝑆 × 𝑆))
resf2nd.x (𝜑 → 𝑋 ∈ 𝑆)
resf2nd.y (𝜑 → 𝑌 ∈ 𝑆)
Assertion
Ref Expression
resf2nd (𝜑 → (𝑋(2nd ‘(𝐹 ↾f 𝐻))𝑌) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))

Proof of Theorem resf2nd
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-ov 7415 . 2 (𝑋(2nd ‘(𝐹 ↾f 𝐻))𝑌) = ((2nd ‘(𝐹 ↾f 𝐻))‘⟨𝑋, 𝑌⟩)
2 resf1st.f . . . . . 6 (𝜑 → 𝐹 ∈ 𝑉)
3 resf1st.h . . . . . 6 (𝜑 → 𝐻 ∈ 𝑊)
42, 3resfval 18047 . . . . 5 (𝜑 → (𝐹 ↾f 𝐻) = ⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)))⟩)
54fveq2d 6881 . . . 4 (𝜑 → (2nd ‘(𝐹 ↾f 𝐻)) = (2nd ‘⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)))⟩))
6 fvex 6890 . . . . . 6 (1st ‘𝐹) ∈ V
76resex 6020 . . . . 5 ((1st ‘𝐹) ↾ dom dom 𝐻) ∈ V
8 dmexg 7902 . . . . . 6 (𝐻 ∈ 𝑊 → dom 𝐻 ∈ V)
9 mptexg 7219 . . . . . 6 (dom 𝐻 ∈ V → (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))) ∈ V)
103, 8, 93syl 19 . . . . 5 (𝜑 → (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))) ∈ V)
11 op2ndg 8003 . . . . 5 ((((1st ‘𝐹) ↾ dom dom 𝐻) ∈ V ∧ (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))) ∈ V) → (2nd ‘⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)))⟩) = (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))))
127, 10, 11sylancr 599 . . . 4 (𝜑 → (2nd ‘⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)))⟩) = (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))))
135, 12eqtrd 2796 . . 3 (𝜑 → (2nd ‘(𝐹 ↾f 𝐻)) = (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))))
14 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → 𝑧 = ⟨𝑋, 𝑌⟩)
1514fveq2d 6881 . . . . 5 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → ((2nd ‘𝐹)‘𝑧) = ((2nd ‘𝐹)‘⟨𝑋, 𝑌⟩))
16 df-ov 7415 . . . . 5 (𝑋(2nd ‘𝐹)𝑌) = ((2nd ‘𝐹)‘⟨𝑋, 𝑌⟩)
1715, 16eqtr4di 2814 . . . 4 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → ((2nd ‘𝐹)‘𝑧) = (𝑋(2nd ‘𝐹)𝑌))
1814fveq2d 6881 . . . . 5 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝐻‘⟨𝑋, 𝑌⟩))
19 df-ov 7415 . . . . 5 (𝑋𝐻𝑌) = (𝐻‘⟨𝑋, 𝑌⟩)
2018, 19eqtr4di 2814 . . . 4 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝑋𝐻𝑌))
2117, 20reseq12d 5971 . . 3 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
22 resf2nd.x . . . . 5 (𝜑 → 𝑋 ∈ 𝑆)
23 resf2nd.y . . . . 5 (𝜑 → 𝑌 ∈ 𝑆)
2422, 23opelxpd 5690 . . . 4 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝑆 × 𝑆))
25 resf1st.s . . . . 5 (𝜑 → 𝐻 Fn (𝑆 × 𝑆))
2625fndmd 6636 . . . 4 (𝜑 → dom 𝐻 = (𝑆 × 𝑆))
2724, 26eleqtrrd 2864 . . 3 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ dom 𝐻)
28 ovex 7445 . . . . 5 (𝑋(2nd ‘𝐹)𝑌) ∈ V
2928resex 6020 . . . 4 ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)) ∈ V
3029a1i 11 . . 3 (𝜑 → ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)) ∈ V)
3113, 21, 27, 30fvmptd 6993 . 2 (𝜑 → ((2nd ‘(𝐹 ↾f 𝐻))‘⟨𝑋, 𝑌⟩) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
321, 31eqtrid 2808 1 (𝜑 → (𝑋(2nd ‘(𝐹 ↾f 𝐻))𝑌) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451  ⟨cop 4590   ↦ cmpt 5186   × cxp 5649  dom cdm 5651   ↾ cres 5653   Fn wfn 6526  ‘cfv 6531  (class class class)co 7412  1st c1st 7988  2nd c2nd 7989   ↾f cresf 18012
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-2nd 7991  df-resf 18016
This theorem is used by:  funcres  18051
  Copyright terms: Public domain W3C validator