MathGroup Archive 2009

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

Search the Archive

Re: Re: confused about asserting variable is element of


AES wrote:
> In article <h859vn$q48$1 at smc.vnet.net>,
>  Leonid Shifrin <lshifr at gmail.com> wrote:
> 
>> When you enter Element[a, Reals], this by itself does nothing. It does not,
>> in particular, change  any global property of symbol <a>.
>>
>> However, this expression can be used in
>> commands like Simplify, FullSimplify, etc., to give them the information
>> that <a> should be considered real (in that particular computation):
> 
> So, could one ever write Assumptions -> Element[I, Reals]  in any of 
> those commands?

Of course one can. Look, I'll do it below.

In[13]:= Simplify[Re[I*x], Assumptions->Element[I, Reals]]

Simplify::fas: Warning: One or more assumptions evaluated to False.

Out[13]= 0

Some people refer to this as GIGO. I am partial to the phrase "You get 
what you get".

Daniel Lichtblau
Wolfram Research


  • Prev by Date: Re: how to solve the integer equation Abs[3^x-2^y]=1
  • Next by Date: Re: Switching between 32 and 64 bit kernels, licensing?
  • Previous by thread: Re: confused about asserting variable is element of Reals
  • Next by thread: Re: Re: confused about asserting variable is element of