[Date Index] [Thread Index] [Author Index]
Re: FullForm puzzle.
Because while they are functionally equivalent they are only apparently identical. The output (how it displays) is the formatting of the underlying FullForm (i.e., how it is represented inside Mathematica). Two different FullForm expressions can have the same output formatting. They are equivalent: Reduce[LessEqual[2, x, 3]] === Inequality[2, LessEqual, x, LessEqual, 3] True Bob Hanlon ---- Jack L Goldberg 1 <jackgold at umich.edu> wrote: ============= I wonder why two apparently identical output forms have different FullForms. (1) FullForm[ 2<= x< =3] returns LessEqual[2,x,3] while (2) Reduce[ 2<=x && x<=3 ] returns 2 <= x <= 3 whose FullForm is Inequality[2,LessEqual,x,LessEqual,3]. Any thoughts? Jack