"depends" problem of variables with subscripts



On 7/9/07, Evan <evanxxx at gmail.com> wrote:

> > something like
> >
> > declare_output_tex(d_0_psi_3, "\partial _0 \psi^3");

> I think this would be a better implementation because all manipulation
> on the variable would have the same behavior as other usual variables,
> the only exception is displaying

I think we have to be careful because the displayed form of an
expression might have none of the properties or behavior of an
apparently identical expression. For example if I could have
FOO displayed as sin(0), I might get confused when sin(0)
(really FOO) refuses to simplify to 0.

I suppose confusion of that kind can already occur in TeX
displays, and if it doesn't cause trouble there, that's evidence
it will be OK to make it possible in text-only displays as well.

FWIW
Robert Dodier