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

Theorem resf2nd 18076
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 7424 . 2 (𝑋(2nd ‘(𝐹 ↾f 𝐻))𝑌) = ((2nd ‘(𝐹 ↾f 𝐻))‘⟨𝑋, 𝑌⟩)
2 resf1st.f . . . . . 6 (𝜑 → 𝐹 ∈ 𝑉)
3 resf1st.h . . . . . 6 (𝜑 → 𝐻 ∈ 𝑊)
42, 3resfval 18073 . . . . 5 (𝜑 → (𝐹 ↾f 𝐻) = ⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)))⟩)
54fveq2d 6890 . . . 4 (𝜑 → (2nd ‘(𝐹 ↾f 𝐻)) = (2nd ‘⟨((1st ‘𝐹) ↾ dom dom 𝐻), (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)))⟩))
6 fvex 6899 . . . . . 6 (1st ‘𝐹) ∈ V
76resex 6017 . . . . 5 ((1st ‘𝐹) ↾ dom dom 𝐻) ∈ V
8 dmexg 7914 . . . . . 6 (𝐻 ∈ 𝑊 → dom 𝐻 ∈ V)
9 mptexg 7228 . . . . . 6 (dom 𝐻 ∈ V → (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))) ∈ V)
103, 8, 93syl 19 . . . . 5 (𝜑 → (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))) ∈ V)
11 op2ndg 8015 . . . . 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 2795 . . 3 (𝜑 → (2nd ‘(𝐹 ↾f 𝐻)) = (𝑧 ∈ dom 𝐻 ↦ (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧))))
14 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → 𝑧 = ⟨𝑋, 𝑌⟩)
1514fveq2d 6890 . . . . 5 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → ((2nd ‘𝐹)‘𝑧) = ((2nd ‘𝐹)‘⟨𝑋, 𝑌⟩))
16 df-ov 7424 . . . . 5 (𝑋(2nd ‘𝐹)𝑌) = ((2nd ‘𝐹)‘⟨𝑋, 𝑌⟩)
1715, 16eqtr4di 2813 . . . 4 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → ((2nd ‘𝐹)‘𝑧) = (𝑋(2nd ‘𝐹)𝑌))
1814fveq2d 6890 . . . . 5 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝐻‘⟨𝑋, 𝑌⟩))
19 df-ov 7424 . . . . 5 (𝑋𝐻𝑌) = (𝐻‘⟨𝑋, 𝑌⟩)
2018, 19eqtr4di 2813 . . . 4 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝑋𝐻𝑌))
2117, 20reseq12d 5970 . . 3 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (((2nd ‘𝐹)‘𝑧) ↾ (𝐻‘𝑧)) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
22 resf2nd.x . . . . 5 (𝜑 → 𝑋 ∈ 𝑆)
23 resf2nd.y . . . . 5 (𝜑 → 𝑌 ∈ 𝑆)
2422, 23opelxpd 5689 . . . 4 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝑆 × 𝑆))
25 resf1st.s . . . . 5 (𝜑 → 𝐻 Fn (𝑆 × 𝑆))
2625fndmd 6645 . . . 4 (𝜑 → dom 𝐻 = (𝑆 × 𝑆))
2724, 26eleqtrrd 2863 . . 3 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ dom 𝐻)
28 ovex 7454 . . . . 5 (𝑋(2nd ‘𝐹)𝑌) ∈ V
2928resex 6017 . . . 4 ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)) ∈ V
3029a1i 11 . . 3 (𝜑 → ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)) ∈ V)
3113, 21, 27, 30fvmptd 7002 . 2 (𝜑 → ((2nd ‘(𝐹 ↾f 𝐻))‘⟨𝑋, 𝑌⟩) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
321, 31eqtrid 2807 1 (𝜑 → (𝑋(2nd ‘(𝐹 ↾f 𝐻))𝑌) = ((𝑋(2nd ‘𝐹)𝑌) ↾ (𝑋𝐻𝑌)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ⟨cop 4834   ↦ cmpt 5185   × cxp 5648  dom cdm 5650   ↾ cres 5652   Fn wfn 6534  ‘cfv 6539  (class class class)co 7421  1st c1st 8000  2nd c2nd 8001   ↾f cresf 18038
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7752
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-2nd 8003  df-resf 18042
This theorem is used by:  funcres  18077
  Copyright terms: Public domain W3C validator