|
[Date Index]
[Thread Index]
[Author Index]
Re: FullForm puzzle.
- To: mathgroup at smc.vnet.net
- Subject: [mg106296] Re: [mg106248] FullForm puzzle.
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Thu, 7 Jan 2010 02:33:45 -0500 (EST)
- Reply-to: hanlonr at cox.net
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
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.
|