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

Theorem curf12 18468
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 18466 . . 3 (𝜑 → 𝐾 = ⟨(𝑦 ∈ 𝐵 ↦ (𝑋(1st ‘𝐹)𝑦)), (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔)))⟩)
126fvexi 6940 . . . . 5 𝐵 ∈ V
1312mptex 7270 . . . 4 (𝑦 ∈ 𝐵 ↦ (𝑋(1st ‘𝐹)𝑦)) ∈ V
1412, 12mpoex 8137 . . . 4 (𝑦 ∈ 𝐵, 𝑧 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔))) ∈ V
1513, 14op2ndd 8056 . . 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 7494 . . . . 5 (𝑦𝐽𝑧) ∈ V
2120mptex 7270 . . . 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 7479 . . . . 5 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → (𝑦𝐽𝑧) = (𝑌𝐽𝑍))
2824, 27eleqtrrd 2873 . . . 4 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → 𝐻 ∈ (𝑦𝐽𝑧))
29 ovexd 7496 . . . 4 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔) ∈ V)
30 simplrl 789 . . . . . . 7 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑦 = 𝑌)
3130opeq2d 4855 . . . . . 6 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ⟨𝑋, 𝑦⟩ = ⟨𝑋, 𝑌⟩)
32 simplrr 790 . . . . . . 7 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑧 = 𝑍)
3332opeq2d 4855 . . . . . 6 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ⟨𝑋, 𝑧⟩ = ⟨𝑋, 𝑍⟩)
3431, 33oveq12d 7479 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩) = (⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩))
35 eqidd 2770 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → ( 1 ‘𝑋) = ( 1 ‘𝑋))
36 simpr 490 . . . . 5 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → 𝑔 = 𝐻)
3734, 35, 36oveq123d 7482 . . . 4 (((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) ∧ 𝑔 = 𝐻) → (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔) = (( 1 ‘𝑋)(⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩)𝐻))
3828, 29, 37fvmptdv2 7053 . . 3 ((𝜑 ∧ (𝑦 = 𝑌 ∧ 𝑧 = 𝑍)) → ((𝑌(2nd ‘𝐾)𝑍) = (𝑔 ∈ (𝑦𝐽𝑧) ↦ (( 1 ‘𝑋)(⟨𝑋, 𝑦⟩(2nd ‘𝐹)⟨𝑋, 𝑧⟩)𝑔)) → ((𝑌(2nd ‘𝐾)𝑍)‘𝐻) = (( 1 ‘𝑋)(⟨𝑋, 𝑌⟩(2nd ‘𝐹)⟨𝑋, 𝑍⟩)𝐻)))
3917, 19, 22, 38ovmpodv 7619 . 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 1572   ∈ wcel 2151  Vcvv 3456  ⟨cop 4843   ↦ cmpt 5195  ‘cfv 6573  (class class class)co 7461   ∈ cmpo 7463  1st c1st 8043  2nd c2nd 8044  Basecbs 17444  Hom chom 17496  Catccat 17905  Idccid 17906   Func cfunc 18096   ×c cxpc 18409   curryF ccurf 18451
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-pow 5337  ax-pr 5401  ax-un 7793
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-pw 4564  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 7464  df-oprab 7465  df-mpo 7466  df-1st 8045  df-2nd 8046  df-curf 18455
This theorem is used by:  curf1cl  18469  curf2cl  18472  uncfcurf  18480  diag12  18485  yon12  18506  tposcurf12  50864
  Copyright terms: Public domain W3C validator