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

Theorem evlf1 16854
Description: Value of the evaluation functor at an object. (Contributed by Mario Carneiro, 12-Jan-2017.)
Hypotheses
Ref Expression
evlf1.e 𝐸 = (𝐶 evalF 𝐷)
evlf1.c (𝜑𝐶 ∈ Cat)
evlf1.d (𝜑𝐷 ∈ Cat)
evlf1.b 𝐵 = (Base‘𝐶)
evlf1.f (𝜑𝐹 ∈ (𝐶 Func 𝐷))
evlf1.x (𝜑𝑋𝐵)
Assertion
Ref Expression
evlf1 (𝜑 → (𝐹(1st𝐸)𝑋) = ((1st𝐹)‘𝑋))

Proof of Theorem evlf1
Dummy variables 𝑥 𝑦 𝑓 𝑎 𝑔 𝑚 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 evlf1.e . . . 4 𝐸 = (𝐶 evalF 𝐷)
2 evlf1.c . . . 4 (𝜑𝐶 ∈ Cat)
3 evlf1.d . . . 4 (𝜑𝐷 ∈ Cat)
4 evlf1.b . . . 4 𝐵 = (Base‘𝐶)
5 eqid 2621 . . . 4 (Hom ‘𝐶) = (Hom ‘𝐶)
6 eqid 2621 . . . 4 (comp‘𝐷) = (comp‘𝐷)
7 eqid 2621 . . . 4 (𝐶 Nat 𝐷) = (𝐶 Nat 𝐷)
81, 2, 3, 4, 5, 6, 7evlfval 16851 . . 3 (𝜑𝐸 = ⟨(𝑓 ∈ (𝐶 Func 𝐷), 𝑥𝐵 ↦ ((1st𝑓)‘𝑥)), (𝑥 ∈ ((𝐶 Func 𝐷) × 𝐵), 𝑦 ∈ ((𝐶 Func 𝐷) × 𝐵) ↦ (1st𝑥) / 𝑚(1st𝑦) / 𝑛(𝑎 ∈ (𝑚(𝐶 Nat 𝐷)𝑛), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ((𝑎‘(2nd𝑦))(⟨((1st𝑚)‘(2nd𝑥)), ((1st𝑚)‘(2nd𝑦))⟩(comp‘𝐷)((1st𝑛)‘(2nd𝑦)))(((2nd𝑥)(2nd𝑚)(2nd𝑦))‘𝑔))))⟩)
9 ovex 6675 . . . . 5 (𝐶 Func 𝐷) ∈ V
10 fvex 6199 . . . . . 6 (Base‘𝐶) ∈ V
114, 10eqeltri 2696 . . . . 5 𝐵 ∈ V
129, 11mpt2ex 7244 . . . 4 (𝑓 ∈ (𝐶 Func 𝐷), 𝑥𝐵 ↦ ((1st𝑓)‘𝑥)) ∈ V
139, 11xpex 6959 . . . . 5 ((𝐶 Func 𝐷) × 𝐵) ∈ V
1413, 13mpt2ex 7244 . . . 4 (𝑥 ∈ ((𝐶 Func 𝐷) × 𝐵), 𝑦 ∈ ((𝐶 Func 𝐷) × 𝐵) ↦ (1st𝑥) / 𝑚(1st𝑦) / 𝑛(𝑎 ∈ (𝑚(𝐶 Nat 𝐷)𝑛), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ((𝑎‘(2nd𝑦))(⟨((1st𝑚)‘(2nd𝑥)), ((1st𝑚)‘(2nd𝑦))⟩(comp‘𝐷)((1st𝑛)‘(2nd𝑦)))(((2nd𝑥)(2nd𝑚)(2nd𝑦))‘𝑔)))) ∈ V
1512, 14op1std 7175 . . 3 (𝐸 = ⟨(𝑓 ∈ (𝐶 Func 𝐷), 𝑥𝐵 ↦ ((1st𝑓)‘𝑥)), (𝑥 ∈ ((𝐶 Func 𝐷) × 𝐵), 𝑦 ∈ ((𝐶 Func 𝐷) × 𝐵) ↦ (1st𝑥) / 𝑚(1st𝑦) / 𝑛(𝑎 ∈ (𝑚(𝐶 Nat 𝐷)𝑛), 𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)(2nd𝑦)) ↦ ((𝑎‘(2nd𝑦))(⟨((1st𝑚)‘(2nd𝑥)), ((1st𝑚)‘(2nd𝑦))⟩(comp‘𝐷)((1st𝑛)‘(2nd𝑦)))(((2nd𝑥)(2nd𝑚)(2nd𝑦))‘𝑔))))⟩ → (1st𝐸) = (𝑓 ∈ (𝐶 Func 𝐷), 𝑥𝐵 ↦ ((1st𝑓)‘𝑥)))
168, 15syl 17 . 2 (𝜑 → (1st𝐸) = (𝑓 ∈ (𝐶 Func 𝐷), 𝑥𝐵 ↦ ((1st𝑓)‘𝑥)))
17 simprl 794 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹𝑥 = 𝑋)) → 𝑓 = 𝐹)
1817fveq2d 6193 . . 3 ((𝜑 ∧ (𝑓 = 𝐹𝑥 = 𝑋)) → (1st𝑓) = (1st𝐹))
19 simprr 796 . . 3 ((𝜑 ∧ (𝑓 = 𝐹𝑥 = 𝑋)) → 𝑥 = 𝑋)
2018, 19fveq12d 6195 . 2 ((𝜑 ∧ (𝑓 = 𝐹𝑥 = 𝑋)) → ((1st𝑓)‘𝑥) = ((1st𝐹)‘𝑋))
21 evlf1.f . 2 (𝜑𝐹 ∈ (𝐶 Func 𝐷))
22 evlf1.x . 2 (𝜑𝑋𝐵)
23 fvexd 6201 . 2 (𝜑 → ((1st𝐹)‘𝑋) ∈ V)
2416, 20, 21, 22, 23ovmpt2d 6785 1 (𝜑 → (𝐹(1st𝐸)𝑋) = ((1st𝐹)‘𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1482  wcel 1989  Vcvv 3198  csb 3531  cop 4181   × cxp 5110  cfv 5886  (class class class)co 6647  cmpt2 6649  1st c1st 7163  2nd c2nd 7164  Basecbs 15851  Hom chom 15946  compcco 15947  Catccat 16319   Func cfunc 16508   Nat cnat 16595   evalF cevlf 16843
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1721  ax-4 1736  ax-5 1838  ax-6 1887  ax-7 1934  ax-8 1991  ax-9 1998  ax-10 2018  ax-11 2033  ax-12 2046  ax-13 2245  ax-ext 2601  ax-rep 4769  ax-sep 4779  ax-nul 4787  ax-pow 4841  ax-pr 4904  ax-un 6946
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1485  df-ex 1704  df-nf 1709  df-sb 1880  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2752  df-ne 2794  df-ral 2916  df-rex 2917  df-reu 2918  df-rab 2920  df-v 3200  df-sbc 3434  df-csb 3532  df-dif 3575  df-un 3577  df-in 3579  df-ss 3586  df-nul 3914  df-if 4085  df-pw 4158  df-sn 4176  df-pr 4178  df-op 4182  df-uni 4435  df-iun 4520  df-br 4652  df-opab 4711  df-mpt 4728  df-id 5022  df-xp 5118  df-rel 5119  df-cnv 5120  df-co 5121  df-dm 5122  df-rn 5123  df-res 5124  df-ima 5125  df-iota 5849  df-fun 5888  df-fn 5889  df-f 5890  df-f1 5891  df-fo 5892  df-f1o 5893  df-fv 5894  df-ov 6650  df-oprab 6651  df-mpt2 6652  df-1st 7165  df-2nd 7166  df-evlf 16847
This theorem is referenced by:  evlfcllem  16855  evlfcl  16856  uncf1  16870  yonedalem3a  16908  yonedalem3b  16913  yonedainv  16915  yonffthlem  16916
  Copyright terms: Public domain W3C validator