| Mathbox for Alexander van der Vekens |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > fdmdifeqresdif | Structured version Visualization version GIF version | ||
| Description: The restriction of a conditional mapping to function values of a function having a domain which is a difference with a singleton equals this function. (Contributed by AV, 23-Apr-2019.) |
| Ref | Expression |
|---|---|
| fdmdifeqresdif.f | ⊢ 𝐹 = (𝑥 ∈ 𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) |
| Ref | Expression |
|---|---|
| fdmdifeqresdif | ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → 𝐺 = (𝐹 ↾ (𝐷 ∖ {𝑌}))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eldifsnneq 4754 | . . . . 5 ⊢ (𝑥 ∈ (𝐷 ∖ {𝑌}) → ¬ 𝑥 = 𝑌) | |
| 2 | 1 | adantl 487 | . . . 4 ⊢ ((𝐺:(𝐷 ∖ {𝑌})⟶𝑅 ∧ 𝑥 ∈ (𝐷 ∖ {𝑌})) → ¬ 𝑥 = 𝑌) |
| 3 | 2 | iffalsed 4496 | . . 3 ⊢ ((𝐺:(𝐷 ∖ {𝑌})⟶𝑅 ∧ 𝑥 ∈ (𝐷 ∖ {𝑌})) → if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥)) = (𝐺‘𝑥)) |
| 4 | 3 | mpteq2dva 5202 | . 2 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺‘𝑥))) |
| 5 | fdmdifeqresdif.f | . . . 4 ⊢ 𝐹 = (𝑥 ∈ 𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) | |
| 6 | 5 | reseq1i 5980 | . . 3 ⊢ (𝐹 ↾ (𝐷 ∖ {𝑌})) = ((𝑥 ∈ 𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) ↾ (𝐷 ∖ {𝑌})) |
| 7 | difssd 4076 | . . . 4 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝐷 ∖ {𝑌}) ⊆ 𝐷) | |
| 8 | 7 | resmptd 6048 | . . 3 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → ((𝑥 ∈ 𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) ↾ (𝐷 ∖ {𝑌})) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥)))) |
| 9 | 6, 8 | eqtrid 2810 | . 2 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝐹 ↾ (𝐷 ∖ {𝑌})) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥)))) |
| 10 | ffn 6737 | . . 3 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → 𝐺 Fn (𝐷 ∖ {𝑌})) | |
| 11 | dffn5 6972 | . . 3 ⊢ (𝐺 Fn (𝐷 ∖ {𝑌}) ↔ 𝐺 = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺‘𝑥))) | |
| 12 | 10, 11 | sylib 221 | . 2 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → 𝐺 = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺‘𝑥))) |
| 13 | 4, 9, 12 | 3eqtr4rd 2809 | 1 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → 𝐺 = (𝐹 ↾ (𝐷 ∖ {𝑌}))) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ∧ wa 401 = wceq 1570 ∈ wcel 2147 ∖ cdif 4048 ifcif 4485 {csn 4588 ↦ cmpt 5190 ↾ cres 5658 Fn wfn 6559 ⟶wf 6560 ‘cfv 6564 |
| 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 1945 ax-6 2002 ax-7 2043 ax-8 2149 ax-9 2157 ax-10 2180 ax-11 2197 ax-12 2216 ax-ext 2735 ax-sep 5253 ax-nul 5264 ax-pr 5396 |
| 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 2102 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2839 df-nfc 2913 df-ne 2960 df-ral 3081 df-rex 3091 df-rab 3417 df-v 3456 df-ss 3901 df-dif 4050 df-in 4094 df-un 4154 df-nul 4282 df-if 4486 df-sn 4589 df-pr 4591 df-op 4839 df-uni 4871 df-br 5107 df-opab 5172 df-mpt 5191 df-id 5551 df-xp 5662 df-rel 5663 df-cnv 5664 df-co 5665 df-dm 5666 df-res 5668 df-iota 6518 df-fun 6566 df-fn 6567 df-f 6568 df-fv 6572 |
| This theorem is used by: lincext2 49892 lincext3 49893 |
| Copyright terms: Public domain | W3C validator |