Question: unassume

Question:unassume

s.py 155 Maple

Hello,
I want to remove properties (assume) programmaticaly.
in all the following code, e is indets(f); where f can be any function, list etc.

none of the followings works :
unassign(e[])
map(x->unassign(x),e);
assign(map(x->x=uneval(x),e));
etc.

the following seems to work, at first
assign(map(x->x=uneval(uneval(x)),e));

but finally no:
assume(a,'constant');
e := indets(a*x+b);
assign(map(x->x=uneval(uneval(x)),e));
about(a); # answers 'nothing known about this object' seems ok
a:=a;
about(a); # now answers 'assumed to be : constant' argh

how can i do that ?
ty

Please Wait...