Mathbox for BJ |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > df-strset | Structured version Visualization version GIF version |
Description: Component-setting in extensible structures. Define the extensible structure [𝐵 / 𝐴]struct𝑆, which is like the extensible structure 𝑆 except that the value 𝐵 has been put in the slot 𝐴 (replacing the current value if there was already one). In such expressions, 𝐴 is generally substituted for slot mnemonics like Base or +g or dist. The V in this definition was chosen to be closer to df-sets 16846, but since extensible structures are functions on ℕ, it will be more natural to replace it with ℕ when df-strset 35285 becomes the main definition. (Contributed by BJ, 13-Feb-2022.) |
Ref | Expression |
---|---|
df-strset | ⊢ [𝐵 / 𝐴]struct𝑆 = ((𝑆 ↾ (V ∖ {(𝐴‘ndx)})) ∪ {〈(𝐴‘ndx), 𝐵〉}) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | cA | . . 3 class 𝐴 | |
2 | cB | . . 3 class 𝐵 | |
3 | cS | . . 3 class 𝑆 | |
4 | 1, 2, 3 | cstrset 35284 | . 2 class [𝐵 / 𝐴]struct𝑆 |
5 | cvv 3430 | . . . . 5 class V | |
6 | cnx 16875 | . . . . . . 7 class ndx | |
7 | 6, 1 | cfv 6430 | . . . . . 6 class (𝐴‘ndx) |
8 | 7 | csn 4566 | . . . . 5 class {(𝐴‘ndx)} |
9 | 5, 8 | cdif 3888 | . . . 4 class (V ∖ {(𝐴‘ndx)}) |
10 | 3, 9 | cres 5590 | . . 3 class (𝑆 ↾ (V ∖ {(𝐴‘ndx)})) |
11 | 7, 2 | cop 4572 | . . . 4 class 〈(𝐴‘ndx), 𝐵〉 |
12 | 11 | csn 4566 | . . 3 class {〈(𝐴‘ndx), 𝐵〉} |
13 | 10, 12 | cun 3889 | . 2 class ((𝑆 ↾ (V ∖ {(𝐴‘ndx)})) ∪ {〈(𝐴‘ndx), 𝐵〉}) |
14 | 4, 13 | wceq 1541 | 1 wff [𝐵 / 𝐴]struct𝑆 = ((𝑆 ↾ (V ∖ {(𝐴‘ndx)})) ∪ {〈(𝐴‘ndx), 𝐵〉}) |
Colors of variables: wff setvar class |
This definition is referenced by: setsstrset 35286 |
Copyright terms: Public domain | W3C validator |