MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FullForm puzzle.

  • To: mathgroup at
  • Subject: [mg106296] Re: [mg106248] FullForm puzzle.
  • From: Bob Hanlon <hanlonr at>
  • Date: Thu, 7 Jan 2010 02:33:45 -0500 (EST)
  • Reply-to: hanlonr at

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]


Bob Hanlon

---- Jack L Goldberg 1 <jackgold at> wrote: 

I wonder why two apparently identical output forms have different FullForms.

(1)  FullForm[ 2<= x< =3] returns LessEqual[2,x,3]


(2) Reduce[ 2<=x && x<=3 ] returns 2 <= x <= 3 whose FullForm is

Any thoughts?


  • Prev by Date: Re: More /.{I->-1} craziness
  • Next by Date: Re: Plot3d causes crash with radeon driver and
  • Previous by thread: FullForm puzzle.
  • Next by thread: Re: FullForm puzzle.