| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > setsvalg | GIF version | ||
| Description: Value of the structure replacement function. (Contributed by Mario Carneiro, 30-Apr-2015.) |
| Ref | Expression |
|---|---|
| setsvalg | ⊢ ((𝑆 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊) → (𝑆 sSet 𝐴) = ((𝑆 ↾ (V ∖ dom {𝐴})) ∪ {𝐴})) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | elex 2814 | . 2 ⊢ (𝑆 ∈ 𝑉 → 𝑆 ∈ V) | |
| 2 | elex 2814 | . 2 ⊢ (𝐴 ∈ 𝑊 → 𝐴 ∈ V) | |
| 3 | resexg 5053 | . . . 4 ⊢ (𝑆 ∈ V → (𝑆 ↾ (V ∖ dom {𝐴})) ∈ V) | |
| 4 | snexg 4274 | . . . 4 ⊢ (𝐴 ∈ V → {𝐴} ∈ V) | |
| 5 | unexg 4540 | . . . 4 ⊢ (((𝑆 ↾ (V ∖ dom {𝐴})) ∈ V ∧ {𝐴} ∈ V) → ((𝑆 ↾ (V ∖ dom {𝐴})) ∪ {𝐴}) ∈ V) | |
| 6 | 3, 4, 5 | syl2an 289 | . . 3 ⊢ ((𝑆 ∈ V ∧ 𝐴 ∈ V) → ((𝑆 ↾ (V ∖ dom {𝐴})) ∪ {𝐴}) ∈ V) |
| 7 | simpl 109 | . . . . . 6 ⊢ ((𝑠 = 𝑆 ∧ 𝑒 = 𝐴) → 𝑠 = 𝑆) | |
| 8 | simpr 110 | . . . . . . . . 9 ⊢ ((𝑠 = 𝑆 ∧ 𝑒 = 𝐴) → 𝑒 = 𝐴) | |
| 9 | 8 | sneqd 3682 | . . . . . . . 8 ⊢ ((𝑠 = 𝑆 ∧ 𝑒 = 𝐴) → {𝑒} = {𝐴}) |
| 10 | 9 | dmeqd 4933 | . . . . . . 7 ⊢ ((𝑠 = 𝑆 ∧ 𝑒 = 𝐴) → dom {𝑒} = dom {𝐴}) |
| 11 | 10 | difeq2d 3325 | . . . . . 6 ⊢ ((𝑠 = 𝑆 ∧ 𝑒 = 𝐴) → (V ∖ dom {𝑒}) = (V ∖ dom {𝐴})) |
| 12 | 7, 11 | reseq12d 5014 | . . . . 5 ⊢ ((𝑠 = 𝑆 ∧ 𝑒 = 𝐴) → (𝑠 ↾ (V ∖ dom {𝑒})) = (𝑆 ↾ (V ∖ dom {𝐴}))) |
| 13 | 12, 9 | uneq12d 3362 | . . . 4 ⊢ ((𝑠 = 𝑆 ∧ 𝑒 = 𝐴) → ((𝑠 ↾ (V ∖ dom {𝑒})) ∪ {𝑒}) = ((𝑆 ↾ (V ∖ dom {𝐴})) ∪ {𝐴})) |
| 14 | df-sets 13088 | . . . 4 ⊢ sSet = (𝑠 ∈ V, 𝑒 ∈ V ↦ ((𝑠 ↾ (V ∖ dom {𝑒})) ∪ {𝑒})) | |
| 15 | 13, 14 | ovmpoga 6150 | . . 3 ⊢ ((𝑆 ∈ V ∧ 𝐴 ∈ V ∧ ((𝑆 ↾ (V ∖ dom {𝐴})) ∪ {𝐴}) ∈ V) → (𝑆 sSet 𝐴) = ((𝑆 ↾ (V ∖ dom {𝐴})) ∪ {𝐴})) |
| 16 | 6, 15 | mpd3an3 1374 | . 2 ⊢ ((𝑆 ∈ V ∧ 𝐴 ∈ V) → (𝑆 sSet 𝐴) = ((𝑆 ↾ (V ∖ dom {𝐴})) ∪ {𝐴})) |
| 17 | 1, 2, 16 | syl2an 289 | 1 ⊢ ((𝑆 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊) → (𝑆 sSet 𝐴) = ((𝑆 ↾ (V ∖ dom {𝐴})) ∪ {𝐴})) |
| Colors of variables: wff set class |
| Syntax hints: → wi 4 ∧ wa 104 = wceq 1397 ∈ wcel 2202 Vcvv 2802 ∖ cdif 3197 ∪ cun 3198 {csn 3669 dom cdm 4725 ↾ cres 4727 (class class class)co 6017 sSet csts 13079 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in1 619 ax-in2 620 ax-io 716 ax-5 1495 ax-7 1496 ax-gen 1497 ax-ie1 1541 ax-ie2 1542 ax-8 1552 ax-10 1553 ax-11 1554 ax-i12 1555 ax-bndl 1557 ax-4 1558 ax-17 1574 ax-i9 1578 ax-ial 1582 ax-i5r 1583 ax-13 2204 ax-14 2205 ax-ext 2213 ax-sep 4207 ax-pow 4264 ax-pr 4299 ax-un 4530 ax-setind 4635 |
| This theorem depends on definitions: df-bi 117 df-3an 1006 df-tru 1400 df-fal 1403 df-nf 1509 df-sb 1811 df-eu 2082 df-mo 2083 df-clab 2218 df-cleq 2224 df-clel 2227 df-nfc 2363 df-ne 2403 df-ral 2515 df-rex 2516 df-rab 2519 df-v 2804 df-sbc 3032 df-dif 3202 df-un 3204 df-in 3206 df-ss 3213 df-pw 3654 df-sn 3675 df-pr 3676 df-op 3678 df-uni 3894 df-br 4089 df-opab 4151 df-id 4390 df-xp 4731 df-rel 4732 df-cnv 4733 df-co 4734 df-dm 4735 df-res 4737 df-iota 5286 df-fun 5328 df-fv 5334 df-ov 6020 df-oprab 6021 df-mpo 6022 df-sets 13088 |
| This theorem is referenced by: setsvala 13112 setsfun 13116 setsfun0 13117 setsresg 13119 bassetsnn 13138 |
| Copyright terms: Public domain | W3C validator |