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

Theorem resf2nd 18102
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 7449 . 2 (𝑋(2nd ‘(𝐹 ↾f 𝐻))𝑌) = ((2nd ‘(𝐹 ↾f 𝐻))‘⟨𝑋, 𝑌⟩)
2 resf1st.f . . . . . 6 (𝜑 → 𝐹 ∈ 𝑉)
3 resf1st.h . . . . . 6 (𝜑 → 𝐻 ∈ 𝑊)
42, 3resfval 18099 . . . . 5 (𝜑 → (𝐹 ↾f 𝐻) = ⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)))⟩)
54fveq2d 6915 . . . 4 (𝜑 → (2nd ‘(𝐹 ↾f 𝐻)) = (2nd ‘⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)))⟩))
6 fvex 6924 . . . . . 6 (1st ‘𝐹) ∈ V
76resex 6031 . . . . 5 ((1st ‘𝐹) ↾ dom dom 𝐻) ∈ V
8 dmexg 7940 . . . . . 6 (𝐻 ∈ 𝑊 → dom 𝐻 ∈ V)
9 mptexg 7253 . . . . . 6 (dom 𝐻 ∈ V → (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))) ∈ V)
103, 8, 93syl 19 . . . . 5 (𝜑 → (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))) ∈ V)
11 op2ndg 8041 . . . . 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 2798 . . 3 (𝜑 → (2nd ‘(𝐹 ↾f 𝐻)) = (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))))
14 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → 𝑧 = ⟨𝑋, 𝑌⟩)
1514fveq2d 6915 . . . . 5 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → ((2nd ‘𝐹)‘𝑧) = ((2nd ‘𝐹)‘⟨𝑋, 𝑌⟩))
16 df-ov 7449 . . . . 5 (𝑋(2nd ‘𝐹)𝑌) = ((2nd ‘𝐹)‘⟨𝑋, 𝑌⟩)
1715, 16eqtr4di 2816 . . . 4 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → ((2nd ‘𝐹)‘𝑧) = (𝑋(2nd ‘𝐹)𝑌))
1814fveq2d 6915 . . . . 5 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝐻‘⟨𝑋, 𝑌⟩))
19 df-ov 7449 . . . . 5 (𝑋𝐻𝑌) = (𝐻‘⟨𝑋, 𝑌⟩)
2018, 19eqtr4di 2816 . . . 4 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝑋𝐻𝑌))
2117, 20reseq12d 5983 . . 3 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
22 resf2nd.x . . . . 5 (𝜑 → 𝑋 ∈ 𝑆)
23 resf2nd.y . . . . 5 (𝜑 → 𝑌 ∈ 𝑆)
2422, 23opelxpd 5695 . . . 4 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝑆 × 𝑆))
25 resf1st.s . . . . 5 (𝜑 → 𝐻 Fn (𝑆 × 𝑆))
2625fndmd 6669 . . . 4 (𝜑 → dom 𝐻 = (𝑆 × 𝑆))
2724, 26eleqtrrd 2867 . . 3 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ dom 𝐻)
28 ovex 7479 . . . . 5 (𝑋(2nd ‘𝐹)𝑌) ∈ V
2928resex 6031 . . . 4 ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)) ∈ V
3029a1i 11 . . 3 (𝜑 → ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)) ∈ V)
3113, 21, 27, 30fvmptd 7027 . 2 (𝜑 → ((2nd ‘(𝐹 ↾f 𝐻))‘⟨𝑋, 𝑌⟩) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
321, 31eqtrid 2810 1 (𝜑 → (𝑋(2nd ‘(𝐹 ↾f 𝐻))𝑌) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ⟨cop 4838   ↦ cmpt 5190   × cxp 5654  dom cdm 5656   ↾ cres 5658   Fn wfn 6556  ‘cfv 6561  (class class class)co 7446  1st c1st 8026  2nd c2nd 8027   ↾f cresf 18064
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pr 5396  ax-un 7778
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-ov 7449  df-oprab 7450  df-mpo 7451  df-2nd 8029  df-resf 18068
This theorem is used by:  funcres  18103
  Copyright terms: Public domain W3C validator