| 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 4761 | . . . . 5 ⊢ (𝑥 ∈ (𝐷 ∖ {𝑌}) → ¬ 𝑥 = 𝑌) | |
| 2 | 1 | adantl 487 | . . . 4 ⊢ ((𝐺:(𝐷 ∖ {𝑌})⟶𝑅 ∧ 𝑥 ∈ (𝐷 ∖ {𝑌})) → ¬ 𝑥 = 𝑌) |
| 3 | 2 | iffalsed 4500 | . . 3 ⊢ ((𝐺:(𝐷 ∖ {𝑌})⟶𝑅 ∧ 𝑥 ∈ (𝐷 ∖ {𝑌})) → if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥)) = (𝐺‘𝑥)) |
| 4 | 3 | mpteq2dva 5206 | . 2 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺‘𝑥))) |
| 5 | fdmdifeqresdif.f | . . . 4 ⊢ 𝐹 = (𝑥 ∈ 𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) | |
| 6 | 5 | reseq1i 5976 | . . 3 ⊢ (𝐹 ↾ (𝐷 ∖ {𝑌})) = ((𝑥 ∈ 𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) ↾ (𝐷 ∖ {𝑌})) |
| 7 | difssd 4091 | . . . 4 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝐷 ∖ {𝑌}) ⊆ 𝐷) | |
| 8 | 7 | resmptd 6044 | . . 3 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → ((𝑥 ∈ 𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) ↾ (𝐷 ∖ {𝑌})) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥)))) |
| 9 | 6, 8 | eqtrid 2812 | . 2 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝐹 ↾ (𝐷 ∖ {𝑌})) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥)))) |
| 10 | ffn 6709 | . . 3 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → 𝐺 Fn (𝐷 ∖ {𝑌})) | |
| 11 | dffn5 6943 | . . 3 ⊢ (𝐺 Fn (𝐷 ∖ {𝑌}) ↔ 𝐺 = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺‘𝑥))) | |
| 12 | 10, 11 | sylib 221 | . 2 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → 𝐺 = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺‘𝑥))) |
| 13 | 4, 9, 12 | 3eqtr4rd 2811 | 1 ⊢ (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → 𝐺 = (𝐹 ↾ (𝐷 ∖ {𝑌}))) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ∧ wa 401 = wceq 1570 ∈ wcel 2146 ∖ cdif 3903 ifcif 4489 {csn 4591 ↦ cmpt 5194 ↾ cres 5665 Fn wfn 6535 ⟶wf 6536 ‘cfv 6540 |
| 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 2148 ax-9 2156 ax-10 2179 ax-11 2195 ax-12 2216 ax-ext 2737 ax-sep 5259 ax-nul 5271 ax-pr 5406 |
| 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 2569 df-eu 2599 df-clab 2744 df-cleq 2757 df-clel 2840 df-nfc 2914 df-ne 2961 df-ral 3082 df-rex 3092 df-rab 3419 df-v 3459 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-nul 4287 df-if 4490 df-sn 4592 df-pr 4594 df-op 4598 df-uni 4875 df-br 5112 df-opab 5176 df-mpt 5195 df-id 5558 df-xp 5669 df-rel 5670 df-cnv 5671 df-co 5672 df-dm 5673 df-res 5675 df-iota 6496 df-fun 6542 df-fn 6543 df-f 6544 df-fv 6548 |
| This theorem is used by: lincext2 49268 lincext3 49269 |
| Copyright terms: Public domain | W3C validator |