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

Theorem curf12 18381
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 18379 . . 3 (𝜑 → 𝐾 = ⟨(𝑦 ∈ 𝐵 ↦ (𝑋(1st ‘𝐹)𝑦)), (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔)))⟩)
126fvexi 6891 . . . . 5 𝐵 ∈ V
1312mptex 7221 . . . 4 (𝑦 ∈ 𝐵 ↦ (𝑋(1st ‘𝐹)𝑦)) ∈ V
1412, 12mpoex 8081 . . . 4 (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔))) ∈ V
1513, 14op2ndd 8001 . . 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 7445 . . . . 5 (𝑦𝐽𝑧) ∈ V
2120mptex 7221 . . . 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 7430 . . . . 5 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → (𝑦𝐽𝑧) = (𝑌𝐽𝑍))
2824, 27eleqtrrd 2864 . . . 4 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → 𝐻 ∈ (𝑦𝐽𝑧))
29 ovexd 7447 . . . 4 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔) ∈ V)
30 simplrl 789 . . . . . . 7 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑦 = 𝑌)
3130opeq2d 4840 . . . . . 6 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ⟨𝑋, 𝑦⟩ = ⟨𝑋, 𝑌⟩)
32 simplrr 790 . . . . . . 7 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑧 = 𝑍)
3332opeq2d 4840 . . . . . 6 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ⟨𝑋, 𝑧⟩ = ⟨𝑋, 𝑍⟩)
3431, 33oveq12d 7430 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩) = (⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩))
35 eqidd 2762 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ( 1 ‘𝑋) = ( 1 ‘𝑋))
36 simpr 490 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑔 = 𝐻)
3734, 35, 36oveq123d 7433 . . . 4 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔) = (( 1 ‘𝑋)(⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩)𝐻))
3828, 29, 37fvmptdv2 7004 . . 3 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → ((𝑌(2nd ‘𝐾)𝑍) = (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔)) → ((𝑌(2nd ‘𝐾)𝑍)‘𝐻) = (( 1 ‘𝑋)(⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩)𝐻)))
3917, 19, 22, 38ovmpodv 7569 . 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 2145  Vcvv 3451  ⟨cop 4590   ↦ cmpt 5186  ‘cfv 6531  (class class class)co 7412   ∈ cmpo 7414  1st c1st 7988  2nd c2nd 7989  Basecbs 17367  Hom chom 17419  Catccat 17818  Idccid 17819   Func cfunc 18009   ×c cxpc 18322   curryF ccurf 18364
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-pow 5327  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-pw 4559  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-1st 7990  df-2nd 7991  df-curf 18368
This theorem is used by:  curf1cl  18382  curf2cl  18385  uncfcurf  18393  diag12  18398  yon12  18419  tposcurf12  50350
  Copyright terms: Public domain W3C validator