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

Theorem curf12 18430
Description: The partially evaluated curry functor at a morphism. (Contributed by Mario Carneiro, 12-Jan-2017.)
Hypotheses
Ref Expression
curfval.g 𝐺 = (⟨𝐶, 𝐷⟩ curryF 𝐹)
curfval.a 𝐴 = (Base‘𝐶)
curfval.c (𝜑 → 𝐶 ∈ Cat)
curfval.d (𝜑 → 𝐷 ∈ Cat)
curfval.f (𝜑 → 𝐹 ∈ ((𝐶 ×c 𝐷) Func 𝐸))
curfval.b 𝐵 = (Base‘𝐷)
curf1.x (𝜑 → 𝑋 ∈ 𝐴)
curf1.k 𝐾 = ((1st ‘𝐺)‘𝑋)
curf11.y (𝜑 → 𝑌 ∈ 𝐵)
curf12.j 𝐽 = (Hom ‘𝐷)
curf12.1 1 = (Id‘𝐶)
curf12.y (𝜑 → 𝑍 ∈ 𝐵)
curf12.g (𝜑 → 𝐻 ∈ (𝑌𝐽𝑍))
Assertion
Ref Expression
curf12 (𝜑 → ((𝑌(2nd ‘𝐾)𝑍)‘𝐻) = (( 1 ‘𝑋)(⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩)𝐻))

Proof of Theorem curf12
Dummy variables 𝑔 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 curfval.g . . . 4 𝐺 = (⟨𝐶, 𝐷⟩ curryF 𝐹)
2 curfval.a . . . 4 𝐴 = (Base‘𝐶)
3 curfval.c . . . 4 (𝜑 → 𝐶 ∈ Cat)
4 curfval.d . . . 4 (𝜑 → 𝐷 ∈ Cat)
5 curfval.f . . . 4 (𝜑 → 𝐹 ∈ ((𝐶 ×c 𝐷) Func 𝐸))
6 curfval.b . . . 4 𝐵 = (Base‘𝐷)
7 curf1.x . . . 4 (𝜑 → 𝑋 ∈ 𝐴)
8 curf1.k . . . 4 𝐾 = ((1st ‘𝐺)‘𝑋)
9 curf12.j . . . 4 𝐽 = (Hom ‘𝐷)
10 curf12.1 . . . 4 1 = (Id‘𝐶)
111, 2, 3, 4, 5, 6, 7, 8, 9, 10curf1 18428 . . 3 (𝜑 → 𝐾 = ⟨(𝑦 ∈ 𝐵 ↦ (𝑋(1st ‘𝐹)𝑦)), (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔)))⟩)
126fvexi 6922 . . . . 5 𝐵 ∈ V
1312mptex 7252 . . . 4 (𝑦 ∈ 𝐵 ↦ (𝑋(1st ‘𝐹)𝑦)) ∈ V
1412, 12mpoex 8117 . . . 4 (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔))) ∈ V
1513, 14op2ndd 8036 . . 3 (𝐾 = ⟨(𝑦 ∈ 𝐵 ↦ (𝑋(1st ‘𝐹)𝑦)), (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔)))⟩ → (2nd ‘𝐾) = (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔))))
1611, 15syl 18 . 2 (𝜑 → (2nd ‘𝐾) = (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔))))
17 curf11.y . . 3 (𝜑 → 𝑌 ∈ 𝐵)
18 curf12.y . . . 4 (𝜑 → 𝑍 ∈ 𝐵)
1918adantr 486 . . 3 ((𝜑 ∧ 𝑦 = 𝑌) → 𝑍 ∈ 𝐵)
20 ovex 7476 . . . . 5 (𝑦𝐽𝑧) ∈ V
2120mptex 7252 . . . 4 (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔)) ∈ V
2221a1i 11 . . 3 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔)) ∈ V)
23 curf12.g . . . . . 6 (𝜑 → 𝐻 ∈ (𝑌𝐽𝑍))
2423adantr 486 . . . . 5 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → 𝐻 ∈ (𝑌𝐽𝑍))
25 simprl 783 . . . . . 6 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → 𝑦 = 𝑌)
26 simprr 785 . . . . . 6 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → 𝑧 = 𝑍)
2725, 26oveq12d 7461 . . . . 5 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → (𝑦𝐽𝑧) = (𝑌𝐽𝑍))
2824, 27eleqtrrd 2867 . . . 4 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → 𝐻 ∈ (𝑦𝐽𝑧))
29 ovexd 7478 . . . 4 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔) ∈ V)
30 simplrl 789 . . . . . . 7 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑦 = 𝑌)
3130opeq2d 4850 . . . . . 6 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ⟨𝑋, 𝑦⟩ = ⟨𝑋, 𝑌⟩)
32 simplrr 790 . . . . . . 7 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑧 = 𝑍)
3332opeq2d 4850 . . . . . 6 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ⟨𝑋, 𝑧⟩ = ⟨𝑋, 𝑍⟩)
3431, 33oveq12d 7461 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩) = (⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩))
35 eqidd 2764 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ( 1 ‘𝑋) = ( 1 ‘𝑋))
36 simpr 490 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑔 = 𝐻)
3734, 35, 36oveq123d 7464 . . . 4 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔) = (( 1 ‘𝑋)(⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩)𝐻))
3828, 29, 37fvmptdv2 7035 . . 3 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → ((𝑌(2nd ‘𝐾)𝑍) = (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔)) → ((𝑌(2nd ‘𝐾)𝑍)‘𝐻) = (( 1 ‘𝑋)(⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩)𝐻)))
3917, 19, 22, 38ovmpodv 7601 . 2 (𝜑 → ((2nd ‘𝐾) = (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔))) → ((𝑌(2nd ‘𝐾)𝑍)‘𝐻) = (( 1 ‘𝑋)(⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩)𝐻)))
4016, 39mpd 16 1 (𝜑 → ((𝑌(2nd ‘𝐾)𝑍)‘𝐻) = (( 1 ‘𝑋)(⟨𝑋, 𝑌⟩(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 5189  ‘cfv 6558  (class class class)co 7443   ∈ cmpo 7445  1st c1st 8023  2nd c2nd 8024  Basecbs 17416  Hom chom 17468  Catccat 17867  Idccid 17868   Func cfunc 18058   ×c cxpc 18371   curryF ccurf 18413
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 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775
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-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-ov 7446  df-oprab 7447  df-mpo 7448  df-1st 8025  df-2nd 8026  df-curf 18417
This theorem is used by:  curf1cl  18431  curf2cl  18434  uncfcurf  18442  diag12  18447  yon12  18468  tposcurf12  50625
  Copyright terms: Public domain W3C validator