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

Theorem resf2nd 18140
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 7465 . 2 (𝑋(2nd ‘(𝐹 ↾f 𝐻))𝑌) = ((2nd ‘(𝐹 ↾f 𝐻))‘⟨𝑋, 𝑌⟩)
2 resf1st.f . . . . . 6 (𝜑 → 𝐹 ∈ 𝑉)
3 resf1st.h . . . . . 6 (𝜑 → 𝐻 ∈ 𝑊)
42, 3resfval 18137 . . . . 5 (𝜑 → (𝐹 ↾f 𝐻) = ⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)))⟩)
54fveq2d 6930 . . . 4 (𝜑 → (2nd ‘(𝐹 ↾f 𝐻)) = (2nd ‘⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)))⟩))
6 fvex 6939 . . . . . 6 (1st ‘𝐹) ∈ V
76resex 6039 . . . . 5 ((1st ‘𝐹) ↾ dom dom 𝐻) ∈ V
8 dmexg 7958 . . . . . 6 (𝐻 ∈ 𝑊 → dom 𝐻 ∈ V)
9 mptexg 7268 . . . . . 6 (dom 𝐻 ∈ V → (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))) ∈ V)
103, 8, 93syl 19 . . . . 5 (𝜑 → (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))) ∈ V)
11 op2ndg 8059 . . . . 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 2804 . . 3 (𝜑 → (2nd ‘(𝐹 ↾f 𝐻)) = (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))))
14 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → 𝑧 = ⟨𝑋, 𝑌⟩)
1514fveq2d 6930 . . . . 5 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → ((2nd ‘𝐹)‘𝑧) = ((2nd ‘𝐹)‘⟨𝑋, 𝑌⟩))
16 df-ov 7465 . . . . 5 (𝑋(2nd ‘𝐹)𝑌) = ((2nd ‘𝐹)‘⟨𝑋, 𝑌⟩)
1715, 16eqtr4di 2822 . . . 4 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → ((2nd ‘𝐹)‘𝑧) = (𝑋(2nd ‘𝐹)𝑌))
1814fveq2d 6930 . . . . 5 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝐻‘⟨𝑋, 𝑌⟩))
19 df-ov 7465 . . . . 5 (𝑋𝐻𝑌) = (𝐻‘⟨𝑋, 𝑌⟩)
2018, 19eqtr4di 2822 . . . 4 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝑋𝐻𝑌))
2117, 20reseq12d 5990 . . 3 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
22 resf2nd.x . . . . 5 (𝜑 → 𝑋 ∈ 𝑆)
23 resf2nd.y . . . . 5 (𝜑 → 𝑌 ∈ 𝑆)
2422, 23opelxpd 5700 . . . 4 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝑆 × 𝑆))
25 resf1st.s . . . . 5 (𝜑 → 𝐻 Fn (𝑆 × 𝑆))
2625fndmd 6684 . . . 4 (𝜑 → dom 𝐻 = (𝑆 × 𝑆))
2724, 26eleqtrrd 2873 . . 3 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ dom 𝐻)
28 ovex 7495 . . . . 5 (𝑋(2nd ‘𝐹)𝑌) ∈ V
2928resex 6039 . . . 4 ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)) ∈ V
3029a1i 11 . . 3 (𝜑 → ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)) ∈ V)
3113, 21, 27, 30fvmptd 7042 . 2 (𝜑 → ((2nd ‘(𝐹 ↾f 𝐻))‘⟨𝑋, 𝑌⟩) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
321, 31eqtrid 2816 1 (𝜑 → (𝑋(2nd ‘(𝐹 ↾f 𝐻))𝑌) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  Vcvv 3456  ⟨cop 4843   ↦ cmpt 5195   × cxp 5659  dom cdm 5661   ↾ cres 5663   Fn wfn 6568  ‘cfv 6573  (class class class)co 7462  1st c1st 8044  2nd c2nd 8045   ↾f cresf 18102
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pr 5401  ax-un 7794
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7465  df-oprab 7466  df-mpo 7467  df-2nd 8047  df-resf 18106
This theorem is used by:  funcres  18141
  Copyright terms: Public domain W3C validator