Earlier quoted context omitted.
Step 3 (and thus also 1 and 2 on reflection) stands out to me immediately as describing two different situations for the entire game. The case where switching gives you 2A and the case where switching gives you A/2 describe 2 completely different universes, not two different actions in one.
Agreed. Step 6 is where it breaks down, because it's redefined A as being one of the two envelopes to being the halfway point between those two envelopes. Until step 6, it's describing two parallel views of the universe (depending on which envelope you first get - hence steps 4 and 5), and then mashes them together in a way that doesn't work. Take the practical example of $100 and $200: A is either $100 or $200 depen…
The thing that helped me reconcile this was realizing that the A in the two equations are different values; then replacing them.
(0.5⋅(0.5⋅A + 0.5⋅2.A)) + (0.5⋅(0.5⋅A + 0.5⋅0.5⋅A)) = 9/8 A
^ but the A in the left grouping (where it's 100) is different than the A in the right grouping (where it's 200).Replacing the As with their actual values
0.5⋅(0.5⋅100+0.5⋅2⋅100)+0.5⋅(0.5⋅200+0.5⋅0.5⋅200) = 150
And, since one envelope has 100 and the other has 200, an expected outcome across both envelopes is, as calculated, 150.