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

Theorem curf12 18406
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 18404 . . 3 (𝜑 → 𝐾 = ⟨(𝑦 ∈ 𝐵 ↦ (𝑋(1st ‘𝐹)𝑦)), (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔)))⟩)
126fvexi 6899 . . . . 5 𝐵 ∈ V
1312mptex 7229 . . . 4 (𝑦 ∈ 𝐵 ↦ (𝑋(1st ‘𝐹)𝑦)) ∈ V
1412, 12mpoex 8092 . . . 4 (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔))) ∈ V
1513, 14op2ndd 8012 . . 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 7453 . . . . 5 (𝑦𝐽𝑧) ∈ V
2120mptex 7229 . . . 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 7438 . . . . 5 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → (𝑦𝐽𝑧) = (𝑌𝐽𝑍))
2824, 27eleqtrrd 2863 . . . 4 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → 𝐻 ∈ (𝑦𝐽𝑧))
29 ovexd 7455 . . . 4 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔) ∈ V)
30 simplrl 789 . . . . . . 7 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑦 = 𝑌)
3130opeq2d 4846 . . . . . 6 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ⟨𝑋, 𝑦⟩ = ⟨𝑋, 𝑌⟩)
32 simplrr 790 . . . . . . 7 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑧 = 𝑍)
3332opeq2d 4846 . . . . . 6 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ⟨𝑋, 𝑧⟩ = ⟨𝑋, 𝑍⟩)
3431, 33oveq12d 7438 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩) = (⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩))
35 eqidd 2761 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ( 1 ‘𝑋) = ( 1 ‘𝑋))
36 simpr 490 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑔 = 𝐻)
3734, 35, 36oveq123d 7441 . . . 4 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔) = (( 1 ‘𝑋)(⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩)𝐻))
3828, 29, 37fvmptdv2 7012 . . 3 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → ((𝑌(2nd ‘𝐾)𝑍) = (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔)) → ((𝑌(2nd ‘𝐾)𝑍)‘𝐻) = (( 1 ‘𝑋)(⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩)𝐻)))
3917, 19, 22, 38ovmpodv 7577 . 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 1569   ∈ wcel 2144  Vcvv 3450  ⟨cop 4834   ↦ cmpt 5185  ‘cfv 6538  (class class class)co 7420   ∈ cmpo 7422  1st c1st 7999  2nd c2nd 8000  Basecbs 17392  Hom chom 17444  Catccat 17843  Idccid 17844   Func cfunc 18034   ×c cxpc 18347   curryF ccurf 18389
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-pow 5326  ax-pr 5390  ax-un 7751
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-pw 4558  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 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-1st 8001  df-2nd 8002  df-curf 18393
This theorem is used by:  curf1cl  18407  curf2cl  18410  uncfcurf  18418  diag12  18423  yon12  18444  tposcurf12  50513
  Copyright terms: Public domain W3C validator