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

Theorem curry1val 8103
Description: The value of a curried function with a constant first argument. (Contributed by NM, 28-Mar-2008.) (Revised by Mario Carneiro, 26-Apr-2015.)
Hypothesis
Ref Expression
curry1.1 𝐺 = (𝐹(2nd ↾ ({𝐶} × V)))
Assertion
Ref Expression
curry1val ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → (𝐺𝐷) = (𝐶𝐹𝐷))

Proof of Theorem curry1val
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 curry1.1 . . . 4 𝐺 = (𝐹(2nd ↾ ({𝐶} × V)))
21curry1 8102 . . 3 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → 𝐺 = (𝑥𝐵 ↦ (𝐶𝐹𝑥)))
32fveq1d 6881 . 2 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → (𝐺𝐷) = ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷))
4 eqid 2760 . . . . . . 7 (𝑥𝐵 ↦ (𝐶𝐹𝑥)) = (𝑥𝐵 ↦ (𝐶𝐹𝑥))
54fvmptndm 7019 . . . . . 6 𝐷𝐵 → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = ∅)
65adantl 487 . . . . 5 (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) ∧ ¬ 𝐷𝐵) → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = ∅)
7 fndm 6636 . . . . . . 7 (𝐹 Fn (𝐴 × 𝐵) → dom 𝐹 = (𝐴 × 𝐵))
87adantr 486 . . . . . 6 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → dom 𝐹 = (𝐴 × 𝐵))
9 simpr 490 . . . . . . 7 ((𝐶𝐴𝐷𝐵) → 𝐷𝐵)
109con3i 155 . . . . . 6 𝐷𝐵 → ¬ (𝐶𝐴𝐷𝐵))
11 ndmovg 7598 . . . . . 6 ((dom 𝐹 = (𝐴 × 𝐵) ∧ ¬ (𝐶𝐴𝐷𝐵)) → (𝐶𝐹𝐷) = ∅)
128, 10, 11syl2an 608 . . . . 5 (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) ∧ ¬ 𝐷𝐵) → (𝐶𝐹𝐷) = ∅)
136, 12eqtr4d 2798 . . . 4 (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) ∧ ¬ 𝐷𝐵) → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷))
1413ex 418 . . 3 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → (¬ 𝐷𝐵 → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷)))
15 oveq2 7422 . . . 4 (𝑥 = 𝐷 → (𝐶𝐹𝑥) = (𝐶𝐹𝐷))
16 ovex 7447 . . . 4 (𝐶𝐹𝐷) ∈ V
1715, 4, 16fvmpt 6987 . . 3 (𝐷𝐵 → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷))
1814, 17pm2.61d2 183 . 2 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷))
193, 18eqtrd 2795 1 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → (𝐺𝐷) = (𝐶𝐹𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wa 401   = wceq 1570  wcel 2145  Vcvv 3450  c0 4279  {csn 4584  cmpt 5186   × cxp 5653  ccnv 5654  dom cdm 5655  cres 5657  ccom 5659   Fn wfn 6528  cfv 6533  (class class class)co 7414  2nd c2nd 7986
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 2732  ax-sep 5251  ax-nul 5263  ax-pr 5398  ax-un 7737
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 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-rab 3413  df-v 3452  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-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 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 6489  df-fun 6535  df-fn 6536  df-f 6537  df-f1 6538  df-fo 6539  df-f1o 6540  df-fv 6541  df-ov 7417  df-1st 7987  df-2nd 7988
This theorem is used by:  nvinvfval  31122  hhssabloilem  31743
  Copyright terms: Public domain W3C validator