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

Theorem curry1val 8106
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 8105 . . 3 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → 𝐺 = (𝑥𝐵 ↦ (𝐶𝐹𝑥)))
32fveq1d 6884 . 2 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → (𝐺𝐷) = ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷))
4 eqid 2762 . . . . . . 7 (𝑥𝐵 ↦ (𝐶𝐹𝑥)) = (𝑥𝐵 ↦ (𝐶𝐹𝑥))
54fvmptndm 7022 . . . . . 6 𝐷𝐵 → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = ∅)
65adantl 487 . . . . 5 (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) ∧ ¬ 𝐷𝐵) → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = ∅)
7 fndm 6639 . . . . . . 7 (𝐹 Fn (𝐴 × 𝐵) → dom 𝐹 = (𝐴 × 𝐵))
87adantr 486 . . . . . 6 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → dom 𝐹 = (𝐴 × 𝐵))
9 simpr 490 . . . . . . 7 ((𝐶𝐴𝐷𝐵) → 𝐷𝐵)
109con3i 155 . . . . . 6 𝐷𝐵 → ¬ (𝐶𝐴𝐷𝐵))
11 ndmovg 7601 . . . . . 6 ((dom 𝐹 = (𝐴 × 𝐵) ∧ ¬ (𝐶𝐴𝐷𝐵)) → (𝐶𝐹𝐷) = ∅)
128, 10, 11syl2an 608 . . . . 5 (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) ∧ ¬ 𝐷𝐵) → (𝐶𝐹𝐷) = ∅)
136, 12eqtr4d 2800 . . . 4 (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) ∧ ¬ 𝐷𝐵) → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷))
1413ex 418 . . 3 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → (¬ 𝐷𝐵 → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷)))
15 oveq2 7425 . . . 4 (𝑥 = 𝐷 → (𝐶𝐹𝑥) = (𝐶𝐹𝐷))
16 ovex 7450 . . . 4 (𝐶𝐹𝐷) ∈ V
1715, 4, 16fvmpt 6990 . . 3 (𝐷𝐵 → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷))
1814, 17pm2.61d2 183 . 2 ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶𝐴) → ((𝑥𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷))
193, 18eqtrd 2797 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 3453  c0 4282  {csn 4587  cmpt 5190   × cxp 5657  ccnv 5658  dom cdm 5659  cres 5661  ccom 5663   Fn wfn 6532  cfv 6537  (class class class)co 7417  2nd c2nd 7989
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 2215  ax-ext 2734  ax-sep 5255  ax-nul 5267  ax-pr 5402  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 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-ral 3079  df-rex 3089  df-rab 3415  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4283  df-if 4486  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4871  df-iun 4956  df-br 5108  df-opab 5172  df-mpt 5191  df-id 5554  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7420  df-1st 7990  df-2nd 7991
This theorem is used by:  nvinvfval  31129  hhssabloilem  31750
  Copyright terms: Public domain W3C validator