What would you name this cmd?
could be extendABS()
The statement works fine,
[ subst(abs(2x-1)=1,'abs', 'nop'), subst(abs(2x-1)=1, 'abs', 'neg') ]
or
[ subst(abs(2x-1)=1,abs,nop), subst(abs(2x-1)=1,abs,neg) ] ->
[2*x-1=1,-2*x+1=1]
but a script to do step-by-step demonstrations does not look so clean because it is a replacement of strings and not mathematical operation, for this reason, I think it should be as a default function in the symbolic computational kernel, another function that is required are
not(x<13) -> x>=13
not(x>13) -> 13>=x
[ subst(±5,±,nop), subst(±5,±,'neg') ]-> [±5,±5] =(
extendPlusMinusSign(±5) -> [ 5, -5]
https://en.wikipedia.org/wiki/Plus-minus_sign
Thanks BP