| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > curry1val | Structured version Visualization version GIF version | ||
| 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.) |
| Ref | Expression |
|---|---|
| curry1.1 | ⊢ 𝐺 = (𝐹 ∘ ◡(2nd ↾ ({𝐶} × V))) |
| Ref | Expression |
|---|---|
| curry1val | ⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐴) → (𝐺‘𝐷) = (𝐶𝐹𝐷)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | curry1.1 | . . . 4 ⊢ 𝐺 = (𝐹 ∘ ◡(2nd ↾ ({𝐶} × V))) | |
| 2 | 1 | curry1 8083 | . . 3 ⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐴) → 𝐺 = (𝑥 ∈ 𝐵 ↦ (𝐶𝐹𝑥))) |
| 3 | 2 | fveq1d 6860 | . 2 ⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐴) → (𝐺‘𝐷) = ((𝑥 ∈ 𝐵 ↦ (𝐶𝐹𝑥))‘𝐷)) |
| 4 | eqid 2729 | . . . . . . 7 ⊢ (𝑥 ∈ 𝐵 ↦ (𝐶𝐹𝑥)) = (𝑥 ∈ 𝐵 ↦ (𝐶𝐹𝑥)) | |
| 5 | 4 | fvmptndm 6999 | . . . . . 6 ⊢ (¬ 𝐷 ∈ 𝐵 → ((𝑥 ∈ 𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = ∅) |
| 6 | 5 | adantl 481 | . . . . 5 ⊢ (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐴) ∧ ¬ 𝐷 ∈ 𝐵) → ((𝑥 ∈ 𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = ∅) |
| 7 | fndm 6621 | . . . . . . 7 ⊢ (𝐹 Fn (𝐴 × 𝐵) → dom 𝐹 = (𝐴 × 𝐵)) | |
| 8 | 7 | adantr 480 | . . . . . 6 ⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐴) → dom 𝐹 = (𝐴 × 𝐵)) |
| 9 | simpr 484 | . . . . . . 7 ⊢ ((𝐶 ∈ 𝐴 ∧ 𝐷 ∈ 𝐵) → 𝐷 ∈ 𝐵) | |
| 10 | 9 | con3i 154 | . . . . . 6 ⊢ (¬ 𝐷 ∈ 𝐵 → ¬ (𝐶 ∈ 𝐴 ∧ 𝐷 ∈ 𝐵)) |
| 11 | ndmovg 7572 | . . . . . 6 ⊢ ((dom 𝐹 = (𝐴 × 𝐵) ∧ ¬ (𝐶 ∈ 𝐴 ∧ 𝐷 ∈ 𝐵)) → (𝐶𝐹𝐷) = ∅) | |
| 12 | 8, 10, 11 | syl2an 596 | . . . . 5 ⊢ (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐴) ∧ ¬ 𝐷 ∈ 𝐵) → (𝐶𝐹𝐷) = ∅) |
| 13 | 6, 12 | eqtr4d 2767 | . . . 4 ⊢ (((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐴) ∧ ¬ 𝐷 ∈ 𝐵) → ((𝑥 ∈ 𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷)) |
| 14 | 13 | ex 412 | . . 3 ⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐴) → (¬ 𝐷 ∈ 𝐵 → ((𝑥 ∈ 𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷))) |
| 15 | oveq2 7395 | . . . 4 ⊢ (𝑥 = 𝐷 → (𝐶𝐹𝑥) = (𝐶𝐹𝐷)) | |
| 16 | ovex 7420 | . . . 4 ⊢ (𝐶𝐹𝐷) ∈ V | |
| 17 | 15, 4, 16 | fvmpt 6968 | . . 3 ⊢ (𝐷 ∈ 𝐵 → ((𝑥 ∈ 𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷)) |
| 18 | 14, 17 | pm2.61d2 181 | . 2 ⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐴) → ((𝑥 ∈ 𝐵 ↦ (𝐶𝐹𝑥))‘𝐷) = (𝐶𝐹𝐷)) |
| 19 | 3, 18 | eqtrd 2764 | 1 ⊢ ((𝐹 Fn (𝐴 × 𝐵) ∧ 𝐶 ∈ 𝐴) → (𝐺‘𝐷) = (𝐶𝐹𝐷)) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ∧ wa 395 = wceq 1540 ∈ wcel 2109 Vcvv 3447 ∅c0 4296 {csn 4589 ↦ cmpt 5188 × cxp 5636 ◡ccnv 5637 dom cdm 5638 ↾ cres 5640 ∘ ccom 5642 Fn wfn 6506 ‘cfv 6511 (class class class)co 7387 2nd c2nd 7967 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2701 ax-sep 5251 ax-nul 5261 ax-pr 5387 ax-un 7711 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2533 df-eu 2562 df-clab 2708 df-cleq 2721 df-clel 2803 df-nfc 2878 df-ne 2926 df-ral 3045 df-rex 3054 df-rab 3406 df-v 3449 df-sbc 3754 df-csb 3863 df-dif 3917 df-un 3919 df-in 3921 df-ss 3931 df-nul 4297 df-if 4489 df-sn 4590 df-pr 4592 df-op 4596 df-uni 4872 df-iun 4957 df-br 5108 df-opab 5170 df-mpt 5189 df-id 5533 df-xp 5644 df-rel 5645 df-cnv 5646 df-co 5647 df-dm 5648 df-rn 5649 df-res 5650 df-ima 5651 df-iota 6464 df-fun 6513 df-fn 6514 df-f 6515 df-f1 6516 df-fo 6517 df-f1o 6518 df-fv 6519 df-ov 7390 df-1st 7968 df-2nd 7969 |
| This theorem is referenced by: nvinvfval 30569 hhssabloilem 31190 |
| Copyright terms: Public domain | W3C validator |